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

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,225,733
Messages
6,186,705
Members
453,369
Latest member
positivemind

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