How do I add Text function in the formula?

srizki

Well-known Member
Joined
Jan 14, 2003
Messages
1,860
Office Version
  1. 365
Platform
  1. Windows
In F2 I have =IF(ISODD(ROW()),"",E3
E3 had the date, so it brings the date in numbers like 43466 instead of 01/01/2019
how do I add "MM/DD/YY" in the formula? I can format the column as Date, but I need to learn how to add this into the formula.

Thanks
 
Last edited:

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
You could just format the cell to a date format.
Otherwise, replace E3 in your formula with TEXT(E3,"mm/dd/yy").
Note the difference is that the TEXT function will return a Text value, not a date value. So if you need to do any math or sorting on the results, that could be a problem.
 
Upvote 0
Thank you to both of you, I was adding "& before the TEXT.
=IF(ISODD(ROW()),"","&TEXT(E3,"mm/dd/yyyy")

thanks again.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,329
Members
452,635
Latest member
laura12345

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