Forum Discussion

AKuma0411's avatar
AKuma0411
Brass Contributor
Apr 04, 2024
Solved

Need help building logic

Hi everyone,   I need help building logic in excel where in my wb, I have two sheets  Sheet 2 has following data points:    Here’s what I want: I want to look at column M for all the inst...
  • OliverScheurich's avatar
    Apr 04, 2024

    AKuma0411 

    =INDEX(Sheet2!$A$2:$A$11,SMALL(IF(Sheet2!$M$2:$M$11>=1,ROW(Sheet2!$M$2:$M$11)-1),ROW(A1)))

     

    This formula returns the expected results in my sheet. The formula has to be entered with ctrl+shift+enter if someone doesn't work with Office 365 or Excel for the web. The formula is in sheet1 in cell B2 and filled down.

Resources