Forum Discussion
AKuma0411
Apr 04, 2024Brass Contributor
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...
- Apr 04, 2024
=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.
OliverScheurich
Apr 04, 2024Gold Contributor
=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.
AKuma0411
Apr 05, 2024Brass Contributor
thanks, this worked as per requirement