on SUMPRODUCT with multiples criteria How to Nest INDIRECT

AndyJR

Board Regular
Joined
Jun 20, 2015
Messages
90
Hi,

i read and googled about this topic and still i'm not clear yet nesting formula syntax and usage of INDIRECT with some others formulas using multiples range and/o criterias. For example :
I need to have cell reference using INDIRECT with SUMPRODUCT after added my result cell display #REF! Error
and i don't really know where is the mistake.

the problem is that i need to nest this cell reference function to others formula as INDEX/MATCH/ ROW and UNIQUE and I see it more complicated..

please any help?? :confused:

Code:
'my working formula
=SUMPRODUCT(--($Q37:$U137&$K37:$O137=O4&M4))

'the new Formula with INDIRECT display #REF! Error
=SUMPRODUCT(--(INDIRECT("$Q37:$U137")&INDIRECT("$K37:$O137"),INDIRECT("=O4&M4")))

Thanks in advance !

Andy
 
Hi Konew1,

this formula did the Job, but it make me think and analyze a few things.. is volatile, what means Q1, Q36, 101,5 and other numbers that have nothing to do with my ranges?... if volatile means that in any moment it might change the rows/ column value (or not?) or when will change?

wow. i tough that excel was easier... Im so sorry, My respect on your knowledge guys!

Andy
 
Upvote 0

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hi Konew1,

The approach that you mention is going to have the CELL REFERENCE AT ALL TIME??????
Just asking...


Andy
 
Upvote 0
Follow the link posted in one of the earlier replies to your thread for info on volatile functions. Basically it means that the system will run a bit more slowly because there are extra cell recalculations.

The formula will select the same range Q37:U137 even if you insert more rows above 37, so long as you don't inset a new row 1.

The formula refers to 36 (not Q36) so it finds the cell 36 down from Q1, will always be Q37, and then selects a range of 101 rows down and 5 columns wide. that is Q37:U137 then the same to get range $K37:$O137
 
Upvote 0
Hi Konew1 and Marcelo Branco.

Understood the SUMPRODUCT with OFFSET.

Thank you so much, and Big thanks to Marcelo branco for the help !!!!!!!!!!!

Regards
AndyJr
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,307
Members
452,633
Latest member
DougMo

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