Find cell reference for last cell with data for each row

JSH720

Board Regular
Joined
Oct 9, 2009
Messages
109
Office Version
  1. 365
Platform
  1. Windows
I have this spreadsheet set up. I need to find the cell reference for the cell with the last data in the row and then the date associated with that cell. Your help is appreciated

IDFirst NameLast NameJan 6, 2019Jan 13, 2019Jan 20, 2019Jan 27, 2019Feb 3, 2019Feb 10, 2019Feb 17, 2019Feb 24, 2019Mar 3, 2019Mar 10, 2019cell Reference of Last Date AttendedDate of last attendance
11713090​
Name1AST 1XXX
11713064​
Name2AST 2XXX
11714615​
Name3AST 3XXX
11714907​
Name4AST 4XXX
11713325​
Name5AST 5XXXXXXXXXX
11714598​
Name6AST 6XXX
11713327​
Name7AST 7XXXXXXXX
11714902​
Name8AST 8XXX
11713029​
Name9AST 9XXXXXXXX
39631882​
Name10AST 10
11712957​
Name11AST 11XXX
11714066​
Name12AST 12
11714059​
Name13AST 13X
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
How about
Fluff.xlsm
ABCDEFGHIJKLMN
1IDFirst NameLast NameJan 6, 2019Jan 13, 2019Jan 20, 2019Jan 27, 2019Feb 3, 2019Feb 10, 2019Feb 17, 2019Feb 24, 2019Mar 3, 2019Mar 10, 2019Date of last attendance
211713090Name1AST 1XXXMar 10, 2019
311713064Name2AST 2XXFeb 24, 2019
411714615Name3AST 3XXXMar 10, 2019
511714907Name4AST 4XXXMar 10, 2019
611713325Name5AST 5XXXXXXXXXMar 3, 2019
711714598Name6AST 6XXXMar 10, 2019
811713327Name7AST 7XXXXXXXXMar 10, 2019
911714902Name8AST 8XXXMar 10, 2019
1011713029Name9AST 9XXXXXXXXMar 10, 2019
1139631882Name10AST 10 
1211712957Name11AST 11XXXMar 10, 2019
1311714066Name12AST 12 
1411714059Name13AST 13XJan 13, 2019
Data
Cell Formulas
RangeFormula
N2:N14N2=IFNA(LOOKUP(2,1/(D2:M2="x"),$D$1:$M$1),"")
 
Upvote 0
This works and is easy and totally awesome! With the amount of records I have, it will save time and increase correctness. I thank you very much!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,195
Members
453,021
Latest member
pingpong7117

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