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

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
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,224,828
Messages
6,181,213
Members
453,024
Latest member
Wingit77

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