drag or copy formula as dynamic formula

cartja

New Member
Joined
Oct 5, 2011
Messages
5
This is probably a simple question but I'm puzzled by the fact that this formula won't drag/copy as a dynamic formula should.. it remains stagnant as if i were useing $ on column and row refs. In this example, row 22 is the only specific reference.

=SUMPRODUCT(SUMIF(INDIRECT("'"&list&"'!J$22"),"=1",INDIRECT("'"&list&"'!J6")))

Don't know if it has to do with the list reference... If any of you know, please make it known to me.

Thanks!

j-bob
excel 2077
 
Last edited:

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Welcome to the board...

This is because "!K$22" and "!K4" are TEXT strings, not ranges.
So they do not incriment.

Do you want them both to incriment, or only the K4
I assume only the K4 because you put the $ on K$22

Try

=SUMPRODUCT(SUMIF(INDIRECT(""&list&"!K$22"),"=1",INDIRECT(""&list&"!K"&Row(K4))))
 
Upvote 0
Thank you jonmo1! That works!

How do you combine row and column dynamics?

I tried: &column(k5)&row(k5) but it didn't work.. Suggestions?

thanks!
j
 
Upvote 0
that get's more tricky, because the column function returns a # not a Letter.
You need to use the Address(row#, Col#) function..

Try this again only doing the K4 reference..

=SUMPRODUCT(SUMIF(INDIRECT(""&list&"!K$22"),"=1",INDIRECT(""&list&"!"&ADDRESS(COLUMN(K4),ROW(K4)))))
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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