Need formula for populating Date Status

Freeman2022

New Member
Joined
Nov 3, 2021
Messages
44
Office Version
  1. 365
Platform
  1. Windows
Greetings,

Column A shows Previous TimeStamp
Column B shows Current TimeStamp
Column C show Current Status

I'm trying to find a formula to populate for Column C

If time stamps are the same, it should say – No Change
If time stamps are different, it should say – Updated
If Current time stamps is blank it should say - Deleted

Sample Data

Previous TimeStampCurrent TimeStampCurrent Status
2016-03-08 21:08:452016-03-08 21:08:45
2017-05-31 19:17:032024-03-06 20:55:06
2017-03-31 20:24:23
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Greetings,

Column A shows Previous TimeStamp
Column B shows Current TimeStamp
Column C show Current Status

I'm trying to find a formula to populate for Column C

If time stamps are the same, it should say – No Change
If time stamps are different, it should say – Updated
If Current time stamps is blank it should say - Deleted

Sample Data

Previous TimeStampCurrent TimeStampCurrent Status
2016-03-08 21:08:452016-03-08 21:08:45
2017-05-31 19:17:032024-03-06 20:55:06
2017-03-31 20:24:23
Does this work?

Summing Up only the Weekend Days from the Total.xlsm
ABC
2Previous TimeStampCurrent TimeStampCurrent Status
308/03/2016 21:0808/03/2016 21:08No Change
431/05/2017 19:1706/03/2024 20:55Updated
531/03/2017 20:24Deleted
Sheet5
Cell Formulas
RangeFormula
C3:C5C3=IF(AND(ISNUMBER(A3),ISNUMBER(B3),B3=A3),"No Change",IF(AND(ISNUMBER(A3),ISNUMBER(B3),B3<>A3),"Updated",IF(ISBLANK(B3),"Deleted","")))
 
Upvote 0
Does this work?

Summing Up only the Weekend Days from the Total.xlsm
ABC
2Previous TimeStampCurrent TimeStampCurrent Status
308/03/2016 21:0808/03/2016 21:08No Change
431/05/2017 19:1706/03/2024 20:55Updated
531/03/2017 20:24Deleted
Sheet5
Cell Formulas
RangeFormula
C3:C5C3=IF(AND(ISNUMBER(A3),ISNUMBER(B3),B3=A3),"No Change",IF(AND(ISNUMBER(A3),ISNUMBER(B3),B3<>A3),"Updated",IF(ISBLANK(B3),"Deleted","")))
No that doesn't work, it populates for the Deleted item but not for the No Change and Updated, it remains blank
 
Upvote 0
Formula to place in cell C2 and copy down:
Excel Formula:
=IF(TRIM(B2)="","Deleted",IF(B2=A2,"No Change","Updated"))

1729875072248.png
 
Upvote 0
Solution
Does this work?

Summing Up only the Weekend Days from the Total.xlsm
ABC
2Previous TimeStampCurrent TimeStampCurrent Status
308/03/2016 21:0808/03/2016 21:08No Change
431/05/2017 19:1706/03/2024 20:55Updated
531/03/2017 20:24Deleted
Sheet5
Cell Formulas
RangeFormula
C3:C5C3=IF(AND(ISNUMBER(A3),ISNUMBER(B3),B3=A3),"No Change",IF(AND(ISNUMBER(A3),ISNUMBER(B3),B3<>A3),"Updated",IF(ISBLANK(B3),"Deleted","")))
But did the downloaded example work in your worksheet?

You need to check that the entry is not text.
 
Upvote 0
But did the downloaded example work in your worksheet?

You need to check that the entry is not text.
Not necessarily. Only they know the format of the data that can be in there.
It may not be a concern.

If they are TimeStamps added via VBA code, you can be pretty confident that they will always be valid date/time entries.
 
Upvote 0

Forum statistics

Threads
1,223,101
Messages
6,170,116
Members
452,302
Latest member
TaMere

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