IF Statement with Sum Formula

JubberB

New Member
Joined
Nov 1, 2019
Messages
39
I'm good in Excel, but sometimes I get stuck. Looking for a solution for:
Column "A" contains a user names
Column "R" contains date range for an entire month
Column "S" contains a dollar amount
Here's what I would like to get:
If Column "A" = a user name list (could be 1 to 20 different user names)
AND
If Column "R" contains a specific date (Example: "R" has all dates for January, 2019)
SUM all rows where the above is true
So, if one of the user names is in column "A," and the specific date matches in "R," SUM all rows in "S"
The goal is to take one giant spreadsheet with monthly information and sum it by user group per day.
Make Sense? Then I need to get this onto one sheet for every day of last year. Results will be in a new sheet. They are on the same sheet in the example listed below.
Thanks!
1586364606063.png


EDIT:
More clarification:
Each month is on a separate sheet.
Results will be in a separate sheet.
I have to do this for all months of last year.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Take a look at the SUMIFS formula, which allow you to SUM based on two conditions (User and Date).
 
Upvote 0
You are welcome.
 
Upvote 0
Awesome! This rocks! What if I wasn my criteria to de defined as DOES NOT EQUAL [range of user names]?
THANK YOU!
 
Upvote 0
OK, here's what I don't get: SUMIFS worked perfectly on one sheet. Did the exact same thing on a new sheet and when I add a criteria range and criteria, I get no results.
 
Upvote 0
OK, here's what I don't get: SUMIFS worked perfectly on one sheet. Did the exact same thing on a new sheet and when I add a criteria range and criteria, I get no results.
You proved that it can/does work on your one sheet. So something must not be right or different on your other sheet. Check your criteria. It must match EXACTLY. Even an extra space at the end of a string is enough to make it not match the criteria.

Without any details of the details of your data and formula, it is very difficult to provide you any sort of direction.
 
Upvote 0
You are welcome. Glad it was a simple fix.
 
Upvote 0

Forum statistics

Threads
1,215,032
Messages
6,122,772
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top