Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7596989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T22:03:26+00:00 2026-05-30T22:03:26+00:00

I’ve got duplicate dates in my first column. I have corresponding ratings in the

  • 0

I’ve got duplicate dates in my first column. I have corresponding ratings in the next columns. My goal is to combine the ratings into all one date only if they are duplicate dates. I have many duplicate dates and for each duplicate I simply want to combine the numbers:

DATE      5STAR   4STAR   3STAR   2STAR   1STAR
12/2/2009   0      1       0       0       0
12/2/2009   1      0       0       0       0
4/6/2011    1      0       0       0       0
4/6/2011    1      0       0       0       0

So in the example above I would want to be left with:

DATE       5STAR   4STAR   3STAR   2STAR   1STAR
12/2/2009    1      1        0       0       0
4/6/2011     2      0        0       0       0
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T22:03:27+00:00Added an answer on May 30, 2026 at 10:03 pm

    Assuming that your original sheet is called “duplicate data” and that you have created a second sheet called “combined data” and which has exactly the same format but with only one row per date, but this formula in B2 of combined data and drag down and over as far as necessary:

    =SUMPRODUCT(('duplicate data'!$A$2:$A$5='combined data'!$A2)*'duplicate data'!B$2:B$5)
    

    In Excel 2007 and 2010 you can easily remove duplicate dates using Remove Duplicates in the Data tab. In XL 2003 I believe you’d use the Advanced Filter in the Filter item of the Data menu.

    If you’re going to be doing this more than once, I’d look at normalizing your data a bit so that you could do this with a pivot table. If I’m guessing correctly that only one column per row ever gets a one, i.e., there’s only one rating per row, and your data looked like this…

    DATE        Rating
    12/2/2009   4STAR
    12/2/2009   5STAR
    4/6/2011    5STAR
    4/6/2011    5STAR
    

    … you could easily create a pivot table from it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
this is what i have right now Drawing an RSS feed into the php,
I have a French site that I want to parse, but am running into
I have a text area in my form which accepts all possible characters from
I have just tried to save a simple *.rtf file with some websites and
I have a jquery bug and I've been looking for hours now, I can't
I've got a string that has curly quotes in it. I'd like to replace
I have this code to decode numeric html entities to the UTF8 equivalent character.
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.