PhilW_34
Board Regular
- Joined
- Jan 4, 2007
- Messages
- 128
- Office Version
- 365
- Platform
- Windows
Hello,
Normally, I would spend more time searching for my solution, but today I'm under a time constraint.
I want to enter this formula in cell C3.
=SUMPRODUCT(($B6:$B2199="Amount")*SUBTOTAL(9,OFFSET(C1,ROW($B6:$B2199)-ROW(C1),)))
However, I need $B6:$B2199 to be a dynamic range. Sometimes it could be B6:B200 or B6:B2300, etc. I want to select B6:Last Row in B.
I have the rest of the code pretty much done. I just can't figure out how to define the range and then put it in my formula. Any help would be greatly appreciated.
Thank you.
Phil
Normally, I would spend more time searching for my solution, but today I'm under a time constraint.
I want to enter this formula in cell C3.
=SUMPRODUCT(($B6:$B2199="Amount")*SUBTOTAL(9,OFFSET(C1,ROW($B6:$B2199)-ROW(C1),)))
However, I need $B6:$B2199 to be a dynamic range. Sometimes it could be B6:B200 or B6:B2300, etc. I want to select B6:Last Row in B.
I have the rest of the code pretty much done. I just can't figure out how to define the range and then put it in my formula. Any help would be greatly appreciated.
Thank you.
Phil