TODAY() function - get a date value in a formula NOT DATE FORMATTED

jae113

Board Regular
Joined
Jun 17, 2008
Messages
227
Ok, so I would like to use the TODAY function in a cell that contains a formula, and even formating that cell as Date doesn't seem to work. So what I thought I would do, was have the TODAY function in another sheet, say Sheet2 C1, then somehow get the visible date, 7/15, in another cell, Sheet2 C2, and have my original formula display the date as 7/15.

Complicated? I hope that's understandable.

The problem I keep having is that the absolute value of TODAY is the serial number, not the date in date format. Is there a way to get TODAY, in date format, in my original formula?

Thanks!
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Do you want it in the formula to show something like 1/2/11 which would be done by using the text formula =text(c1,"m/d/yy")
 
Upvote 0
Wherever you are using TODAY() in your formula, trying using TEXT(TODAY(),"m/d") instead. The "m/d" part uses the same coding that you would use when Custom Formatting a cell containing a date, so you can adjust the way the date is presented in your formula to your liking.
 
Upvote 0
If I understand you correclty try enclising with the text formula:

=TEXT(your_formula,"m/d")
 
Upvote 0
Wherever you are using TODAY() in your formula, trying using TEXT(TODAY(),"m/d") instead. The "m/d" part uses the same coding that you would use when Custom Formatting a cell containing a date, so you can adjust the way the date is presented in your formula to your liking.


AWESOME!!!!!!!! This is the one that did it! I'll have to remember that! I was going totally complicated and by using absolute value! Thank you so very much!

Thanks very much to everyone!
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,730
Members
452,939
Latest member
WCrawford

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