Solved

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

Posted on 2014-04-10
4
465 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

688 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