A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hi,
In cell N2, enter this formula and drag down
=XLOOKUP(TRUE,ISNUMBER(B2:M2),B2:M2&"-"&TEXTBEFORE($B$1:$M$1," "),,,-1)
In cell O2, enter this formula and drag down
=XLOOKUP(TRUE,ISNUMBER(B2:M2),TEXTBEFORE($B$1:$M$1," "),,,-1)
In cell P2, enter this formula and drag down
=XLOOKUP(TRUE,ISNUMBER(B2:M2),$B2:$M2,,,-1)
Hope this helps.