Tweaking of an sum"If" fomula to an "IF AND" and also refer specific cell values

Pumpk1n

Board Regular
Joined
Jan 31, 2017
Messages
86
Office Version
  1. 365
Platform
  1. Windows
I would like to refer to a value in column A for each row. For example, when the value in A2 = the value in column J and the values are greater than V2 (8/29/17) and less than X2 (9/13/17), then sum column P. The formula works, but it's a lot of copying and updating formulas as I need to copy it for 50 rows (50 different member IDs) and then copy it for 8 different date fields. Any help would be greatly appreciated!

=SUMIFS(Gold!$P:$P,Gold!$J:$J,"136065",Gold!$L:$L,">08/29/2017",Gold!$L:$L,"<09/13/2017")
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Maybe change the hard-coded criteria to cell references, then just change those as needed?
 
Upvote 0
Thanks -- the issue is that I don't know how to reference a cell when the value is in quotes. I changed it to "a8", but that isn't quite right as it returned 0.
=SUMIFS(Gold!$P:$P,Gold!$J:$J,"'a8'",Gold!$L:$L,">08/15/2017",Gold!$L:$L,"<08/30/2017")
 
Last edited:
Upvote 0
Almost there :)
=SUMIFS(Gold!$P:$P,Gold!$J:$J,a8,Gold!$L:$L,">08/15/2017",Gold!$L:$L,"<08/30/2017")
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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