Hi,
Please see attached, need formula at D2
I know B and C
Formula is driven by B="Y' and corresponded value in C
I believe in attached it make more sense (need to multiple column C with value of B="y" in C, until next Y
Thanks all
Hi,
Please see attached, need formula at D2
I know B and C
Formula is driven by B="Y' and corresponded value in C
I believe in attached it make more sense (need to multiple column C with value of B="y" in C, until next Y
Thanks all
Last edited by ionelz; 03-07-2021 at 09:53 PM.
Try this:
=IF(B2="Y",C2,C2*LOOKUP(2,1/(B$2:B2="Y"),C$2:C2))
Drag copy down.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Please try
=IF(B2:B18>0,1,LOOKUP(ROW(C2:C18),ROW(C2:C18)/(B2:B18>0),C2:C18))*C2:C18
Thank you all, I close the Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks