How to filter data based on condition using non array formula

后端 未结 2 1934
星月不相逢
星月不相逢 2021-01-07 07:48

I have following sample data and want to auto filter them based on status condition Complete using formula only. I know how to filter using

相关标签:
2条回答
  • 2021-01-07 08:24

    Use the following formula in G3 cell then drag and drop to down and right as needed. Hope this will help you.

    =IFERROR(INDEX($B$3:$E$12,SMALL(INDEX(ROW($A$1:$A$10)-($E$3:$E$12<>"Complete")*(1E+99)*-1,, ),ROW(1:1)),COLUMN(A$1)),"")
    

    Snapshot:

    0 讨论(0)
  • 2021-01-07 08:35

    In K4 enter:

    =MATCH("Complete",E:E,0)
    

    In K5 enter:

    =IFERROR(MATCH("complete",INDEX(E:E,K4+1):INDEX(E:E,9999),0)+K4,"")
    

    and copy downward. Column K defines the rows of interest.

    In G4 enter:

    =IFERROR(INDEX(B:B,$K4),"")
    

    copy this both across and downward:

    0 讨论(0)
提交回复
热议问题