Solved

Excel Formula to Add up values if a column has the same number in it.

Posted on 2014-04-10
4
460 Views
Last Modified: 2014-04-10
Hi Excel Experts,

This one should be pretty easy for you.  I need a formula which will add up all the values if the value in column D is the same.  See image:

ScreenShot
I've also attached the workbook to this question.  I need the totals for the hours of each day.  Example:  from 4am-5am,   5am-6am, etc.....

I completed the first set manually.  Can someone help me with a formula so I can copy it down the rest of the workbook?  Thank you!
Sales-3-9.xlsx
0
Comment
Question by:activematx
  • 3
4 Comments
 
LVL 8

Expert Comment

by:Camy
ID: 39992840
Would a pivot table do? (See attached)
Sales-3-9.xlsx
0
 
LVL 8

Expert Comment

by:Camy
ID: 39992846
You could add another or change that one to show the total by hour (i.e regardless of date) too if you wanted to.
0
 
LVL 9

Author Comment

by:activematx
ID: 39992981
You could add another or change that one to show the total by hour (i.e regardless of date) too if you wanted to.

THanks Camy,

You're on the right path, is there a way to get a total of the entire year?  For instance, instead of all the separate individual days, just lump them all together?
0
 
LVL 8

Accepted Solution

by:
Camy earned 500 total points
ID: 39993071
Grand total is at the bottom, you can also right click a date and group them into months for example. Once you click on the pivot table you can drag and drop in the right hand pane.
Sales-3-9.xlsx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now