Formula to insert text based on date

Flora2021

Board Regular
Joined
Apr 28, 2022
Messages
52
Office Version
  1. 365
Platform
  1. Windows
Hi, I have a ongoing weekly report where I have to add reason codes based on a few factors.
What I have been doing is using a VLOOKUP based on a status (column g) to return the matching value from another sheet and insert into Column U. This part is working fine. However what I am still having to do manually is in column M, if that date is 3 days in the past from today, I have to manually in a reason code (in column U) This would say No Movement in 3+ days.
Any ideas what kind of a formula I can use? Thanks in advance
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
I was able to half way get this working by using:
=IF((NOW()-M2)>3, "Yes", "No") but I want the value returned to say No Movement in 3+ days if it should be yes, and blank if no. I think I am close though.
 
Upvote 0
Didn't fully understand the problem (without actual data), but what stops you to write it right this text in the formula? :)
 
Upvote 0
Perhaps
Excel Formula:
=IF(TODAY()-M2>3,"No Movement","")
 
Upvote 0

Forum statistics

Threads
1,223,901
Messages
6,175,277
Members
452,629
Latest member
SahilPolekar

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