Get the last value in columns

ellyzadg

Board Regular
Joined
May 9, 2016
Messages
75
Hi Everyone,

I would like to ask for your help to get the last value from each column per Employee Line Number.

Those font in black is the raw file.
Those in red are the excepted results per given row

Thank you in advance! :)

Note Action Year & Action is increasing per year (per column).
EXPECTED OUTPUT
EMPLOYEE LISTActionDate2016 > ActionActionDate2017 > ActionActionDate2018 > ActionActionDate2019 > ActionActionDate2020 > ActionActionDate2021 > ActionEMPLOYEE LAST MOVEMENT
EMP-00111/01/2016 > GOV11/01/2017 > GOV04/28/2018 > GOV12/01/2019 > 2019 WAGE INCR12/01/2020 > 2020 WAGE INCR12/01/2021 > 2021 WAGE INCR12/01/2021 > 2021 WAGE INCR
EMP-00211/01/2016 > GOV11/01/2016 > GOV
EMP-00304/28/2018 > GOV12/01/2019 > 2019 WAGE INCR12/01/2019 > 2019 WAGE INCR
EMP-00411/22/2018 > 2018 WAGE INCR01/01/2020 > MERIT ADJUSTMENT01/01/2020 > MERIT ADJUSTMENT
EMP-005NONE
EMP-00612/01/2019 > 2019 WAGE INCR12/01/2019 > 2019 WAGE INCR
EMP-00711/01/2016 > GOV12/01/2019 > 2019 WAGE INCR12/01/2019 > 2019 WAGE INCR
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hi

Excel Formula:
=XLOOKUP("*",B2:G2,B2:G2,"NONE",2,-1)
 
Upvote 0
Solution

Forum statistics

Threads
1,224,853
Messages
6,181,414
Members
453,038
Latest member
muhsen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top