Help! Date Difference Mulitple entries in rows

big40ish

New Member
Joined
Nov 10, 2018
Messages
4
Hi

First time so please go gentle....

What i need to accomplish is work out the differnce between two date in a table, which keeps getting updated with new data against the same Asset Number.

Capture.PNG



As you can see we have multiple rows with the same Asset SN as we are taking measurements everymonth... some are misssing so I need to calculate the difference between the two dates to work how long the dates havent been updated

Column E =IF(C2=MAX(IF(A2=$A$2:$A$4859,$C$2:$C$4859,"")),"Latest","old data")
Column F =IF(MAX(INDEX((A2=$A$2:$A$10000)*$C$2:$C$10000,))=C2,"Newest Data","Old Data")
Column H =IF(F15="Newest Data",90-(TODAY()-C15),"")

I hope you can help!!
smile.gif
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
As per my knowledge you can achieve this through below concept . Try

Book1
ABCDE
1 Helper Column 1Helper Column 2
2 23-Jun-21 
323-Jun-21 9-Sep-2178
4 5-Aug-20 
5 1-Sep-2027
6   
79-Sep-2178  
8   
9   
10   
11   
12   
135-Aug-20   
141-Sep-2027  
15   
16   
17   
Sheet1
Cell Formulas
RangeFormula
D2:D17D2=IFERROR(INDEX($A$1:$A$17,AGGREGATE(15,6,ROW($A$1:$A$17)-ROW($A$1)+1/($A$1:$A$17<>""),ROWS(D$2:D2))),"")
E2E2=""
E3:E17E3=IFERROR(IF(D3>D2,D3-D2,""),"")
B1:B17B1=IFERROR(IF(OR(ISERROR(VLOOKUP(A1,$D$2:$E$17,2,0)),VLOOKUP(A1,$D$2:$E$17,2,0)=0),"",VLOOKUP(A1,$D$2:$E$17,2,0)),"")
 
Upvote 0
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Help! Date Difference Mulitple entries in rows
and Date Difference Multiple entries in rows
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,214,784
Messages
6,121,535
Members
449,037
Latest member
tmmotairi

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