Thread: [Solved] Not showing Result
View Single Post
 
Old 07-14-2022, 11:40 AM
p45cal's Avatar
p45cal p45cal is offline Windows 10 Office 2019
Expert
 
Join Date: Apr 2014
Posts: 956
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

Try this in cell G6, copied down. It may need to be array-entered in Excel 2010.
Code:
=INDEX('Sheet 2'!$D$1:$D$1000,SMALL(IF((('Sheet 2'!$B$3:$B$14=$F6)*('Sheet 2'!$C$3:$C$14=$M$4))=1,ROW('Sheet 2'!$B$3:$B$14)),COUNTIF(F$6:F6,F6)))
It may not be as short as it could be but I'm having to remember what is and isn't available in your version of Excel.
Once it's working as you want, you can wrap it in an IFERROR function to hide errors.
Attached Files
File Type: xlsx msofficeforums49335sample_sheet-3_note_attached-1.xlsx (14.6 KB, 7 views)
Reply With Quote