Please try this with ctrl+shift+enter
=IF(BP3="Active","Active",INDEX($L$2:$AO$2,MAX(IF(L3:AO3=1,COLUMN(L3:AO3)-COLUMN(K3)))))
Drag down.
means in whatever comes before RES should be paid, either it is 1 or wo? is that correct?
Hi Rupesh,
Please see attachment.