SUMIFS with INDIRECT and VLOOKUP nightmare!

Bengo

Board Regular
Joined
Apr 14, 2010
Messages
210
Hi,

I have a worksheet of data with criteria in several columns

I am trying to do a sumifs of one column which lies on another sheet based on mutliple criteria, but with the ability to change the range the sumifs look at depending on the periods I want to analyse

The raw data will extend downwards as the year goes on and we add to it each month, but as the number of additional rows may vary, I have looked up the start and end rows for each period to use as an INDIRECT for the SUMIFS range (e.g Period 1 to Period 4 would looke at column $AE1:$AE2305, Period 2 to Period 4 would look at $AE1221:$AE3576,...)

However I realised that SUMIFS cannot handle a range like $AE1:$AE2305, only $AE;$AE, and therefore returns a #VALUE! error

Can anyone please help with a workaround and save my hair?

Many thanks!
 
see edited post - reducing the indirect's needed

=SUMIFS(INDIRECT("$F$"&A3&":$F$"&A4),INDIRECT("$E$"&A3&":$E$"&A4),A2)
 
Upvote 0

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Forum statistics

Threads
1,214,858
Messages
6,121,960
Members
449,057
Latest member
FreeCricketId

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