Display the date in a sentence with a formula in an excel report
In many occasions, in my comments, I need to put the day but in some few cases, my comment is a general one that I am using the same one every month, the only difference is the month for instance. In this case, instead to put it manually, I need it in an automatic way.
When I use the formula ?
For any general phrases that only the date should change.
How to use the formula ?
The formula in this topic is with "," so depending of the operating system of your PC, the formula should have ";" instead of ",".
How is/are the formula(s) ?
=TEXT()
=DATE()
=YEAR()
=MONTH()
=NOW()
Put this formula in cell A1:
="The last actionwas at " & TEXT(DATE(YEAR(NOW()),MONTH(NOW()),1)-1,"dd-mmm-yyyy")
You can change “dd-mmm-yyyy” by how you want to display the date information.
Put this formula in cell A2:
="The last action was at " & TEXT(DATE(YEAR(NOW()),MONTH(NOW()),1)-1,"mmmm")
Interesting Topics
-
Be successfully certified ITIL 4 Managing Professional
Study, study and study, I couldn’t be successfully certified without studying it, if you are interested...
-
Be successfully certified ITIL 4 Strategic Leader
With my ITIL 4 Managing Professional certification (ITIL MP) in the pocket, it was time to go for the...
-
Hide visual and change background color based on selection
Some small tricks to customize the background colour of a text box...
-
Stacked and clustered column chart or double stacked column chart
In excel, I use a lot the combination of clustered and stacked chart...