SUMIFS between two number values

geckoman

New Member
Joined
Aug 3, 2018
Messages
2
I am trying to sum a number of values (areas) in one column and using a second set of values (elevations) to limit the sum range. I am referencing a different spreadsheet, but trying to use criteria (values) in the present spreadsheet (I don't think this is what is causing the issue though).

If I set up the formula putting in the actual values for the criteria, then I get a result:

=SUMIFS('[Ore Type bench V.3_ jev.xlsx]Comb LA-Groups (2)'!E$4:E$443,'[Ore Type bench V.3_ jev.xlsx]Comb LA-Groups (2)'!$B$4:$B$443,">=3060",'[Ore Type bench V.3_ jev.xlsx]Comb LA-Groups (2)'!$B$4:$B$443,"<3198")

But if I try to reference the cells where the values are, I get an error message:
=SUMIFS('[Ore Type bench V.3_ jev.xlsx]Comb LA-Groups (2)'!E$4:E$443,'[Ore Type bench V.3_ jev.xlsx]Comb LA-Groups (2)'!$B$4:$B$443,">=AG3",'[Ore Type bench V.3_ jev.xlsx]Comb LA-Groups (2)'!$B$4:$B$443,"<AH3")

I've tried all permutations with quote marks, etc., to get this to work as I have used a vlookup to pull the correct values into cells AG3 and AH3 (etc.). What am I missing?

TIA
John V
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,224,820
Messages
6,181,155
Members
453,021
Latest member
Justyna P

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