Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88054

Match function returning NA

$
0
0

I have been trying to get month name against highest number of bookings but the issue is that two months have same number of bookings and a simple nested INDEX MATCH function returns the first month with that number of bookings. I need names for both months in different cells.

Formula:

=INDEX(AY4:BJ4,1,LARGE(IF(ISNUMBER(MATCH(AY5:BJ5,LARGE(AY5:BJ5,1),0)),MATCH(COLUMN(AY5:BJ5),COLUMN(AY5:BJ5)),"-"),COLUMNS(BK1:BK1)))

Table:

Click on the image to view the Table


Viewing all articles
Browse latest Browse all 88054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>