[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 478
  • Last Modified:

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

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
activematx
Asked:
activematx
  • 3
1 Solution
 
CamyCommented:
Would a pivot table do? (See attached)
Sales-3-9.xlsx
0
 
CamyCommented:
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
 
activematxAuthor Commented:
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
 
CamyCommented:
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now