Forum Discussion

jebam3001's avatar
jebam3001
Copper Contributor
Dec 19, 2019
Solved

Formula to find the Non blank value between the ranges

Dear Experts, I am struggling with an excel formula to find the exact non blank value for certain criteria. Kindly review the attachment. Yellow cells are the inputs which will change dynamically....
  • SergeiBaklan's avatar
    Dec 21, 2019

    jebam3001 

    As variant with non-array formulas

    First after

    =INDEX($E4:$W4,1,AGGREGATE(15,6,1/($E4:$W4<>"")/($E$3:$W$3>=--A$1)*(COLUMN($E$3:$W$3)-COLUMN($E$1)+1),1),1)

    Immed before

    =LOOKUP(--A$1,1/($E4:$W4<>"")*$E$3:$W$3,$E4:$W4)

Resources