Hello! I want to use INDEX MATCH using Table 1 to create Table 2 that displays only "Winter" and sorts the month alphabetically. I used the following formula which did a great job of sorting by month, but I can't figure out how to get it to select only "Winter".
=INDEX(Month,MATCH(ROWS($C$2:C2),COUNTIF(Month,"<="&Month),0))
Thanks in advance for looking at my post!
Table 1
[TABLE="width: 268"]
<colgroup><col span="2"><col><col></colgroup><tbody>[TR]
[TD]Rank[/TD]
[TD]ID[/TD]
[TD]Month[/TD]
[TD]Season[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]123[/TD]
[TD]January[/TD]
[TD]Winter[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]234[/TD]
[TD]February[/TD]
[TD]Winter[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]345[/TD]
[TD]August[/TD]
[TD]Summer[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]456[/TD]
[TD]April[/TD]
[TD]Spring[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]567[/TD]
[TD]May[/TD]
[TD]Spring[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]678[/TD]
[TD]June[/TD]
[TD]Spring[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]102[/TD]
[TD]September[/TD]
[TD]Fall[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]789[/TD]
[TD]July[/TD]
[TD]Summer[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]901[/TD]
[TD]March[/TD]
[TD]Winter
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 226"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Table 2
Month[/TD]
[TD]
Season[/TD]
[/TR]
[TR]
[TD]February[/TD]
[TD]Winter[/TD]
[/TR]
[TR]
[TD]January[/TD]
[TD]Winter[/TD]
[/TR]
[TR]
[TD]March[/TD]
[TD]Winter[/TD]
[/TR]
</tbody>[/TABLE]
=INDEX(Month,MATCH(ROWS($C$2:C2),COUNTIF(Month,"<="&Month),0))
Thanks in advance for looking at my post!
Table 1
[TABLE="width: 268"]
<colgroup><col span="2"><col><col></colgroup><tbody>[TR]
[TD]Rank[/TD]
[TD]ID[/TD]
[TD]Month[/TD]
[TD]Season[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]123[/TD]
[TD]January[/TD]
[TD]Winter[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]234[/TD]
[TD]February[/TD]
[TD]Winter[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]345[/TD]
[TD]August[/TD]
[TD]Summer[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]456[/TD]
[TD]April[/TD]
[TD]Spring[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]567[/TD]
[TD]May[/TD]
[TD]Spring[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]678[/TD]
[TD]June[/TD]
[TD]Spring[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]102[/TD]
[TD]September[/TD]
[TD]Fall[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]789[/TD]
[TD]July[/TD]
[TD]Summer[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]901[/TD]
[TD]March[/TD]
[TD]Winter
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 226"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Table 2
Month[/TD]
[TD]
Season[/TD]
[/TR]
[TR]
[TD]February[/TD]
[TD]Winter[/TD]
[/TR]
[TR]
[TD]January[/TD]
[TD]Winter[/TD]
[/TR]
[TR]
[TD]March[/TD]
[TD]Winter[/TD]
[/TR]
</tbody>[/TABLE]