Hi folks,
I'm using
to find the header (in D2:AC2), but I can't get my head around how to use this, or another code, to find the header for the LAST populated cell.
I used this Stack Overflow article to find the above code ...
https://stackoverflow.com/questions...-the-first-non-blank-cell-of-a-range-in-excel
Any advice would be much appreciated.
I'm using
Code:
=IF(COUNTA(D7:AC7),INDEX(D$2:AC$2,MATCH(TRUE,INDEX(D7:AC7<>"",0),)),"")
I used this Stack Overflow article to find the above code ...
https://stackoverflow.com/questions...-the-first-non-blank-cell-of-a-range-in-excel
Any advice would be much appreciated.