Hi
I need help with a formula to find the last value in a row and then also its column header which is a date
Rows are of variable lengths. values change over rows, there may be gaps in the data.
example extract Excel file attached
Many thanks
Hi
I need help with a formula to find the last value in a row and then also its column header which is a date
Rows are of variable lengths. values change over rows, there may be gaps in the data.
example extract Excel file attached
Many thanks
R
at B6 array formula (CSE)
=INDEX($D$5:$W$5,MAX(IF(LEN(D6:W6),COLUMN(D6:W6)))-3)
Thank you so much, that works great with the date.
Can any one help with the formula for column A - the last value
Thank you.
Normal formulae committed with just the Enter key:
Value:Formula:
=INDEX($D6:$Z6, MATCH(9.99E+99, $D6:$Z6,1))
Date:Formula:
=INDEX($D$5:$Z$5, MATCH(9.99E+99, $D6:$Z6,1))
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
to fill column A array formula
=INDEX(D6:W6,MAX(IF(LEN(D6:W6),COLUMN(D6:W6)))-3)
copy down
Thank you both, all works well.
cell A6 formula , drag down
cell B6 formula , drag downHTML Code:
HTML Code:
You're welcome. Thanks for the rep.
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
New quick method:
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
Or you can use this way:
How to mark a thread Solved
Go to the first post
Click edit
Click Go Advanced
Just below the word Title you will see a dropdown with the word No prefix.
Change to Solved
Click Save
You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks