how do i format date with text in a formula?

Dark0Prince

Active Member
Joined
Feb 17, 2016
Messages
433
Below is my formula and I need to format the date to the text I've added. I've tried using OFFSET((PIF_REPORT!$J$4,1,0,1,1),"mm-dd-yyyy") nothing seems to work. The date still loooks like 43060

Rich (BB code):
=IF(ISNUMBER(SEARCH("15250E",(OFFSET(PIF_REPORT!B4,1,0,1,1)))),"test3 Manager",IF(ISNUMBER(SEARCH("15251E",(OFFSET(PIF_REPORT!B4,1,0,1,1)))),"test2 Manager",IF(ISNUMBER(SEARCH("15252E",(OFFSET(PIF_REPORT!B4,1,0,1,1)))),"test1 Manager",OFFSET(PIF_REPORT!$J$4,1,0,1,1) &" is the date i'm looking for")))
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Try using the TEXT formula:

Code:
=TEXT('your formula here'<your here="" formula="">,"mm/dd/yyyy")

Just put in your formula that brings in the 43060 and make sure the quotes are around "mm/dd/yyyy". If you want it in "mm-dd-yyyy" then use hyphens instead of forward slash.</your>
 
Last edited:
Upvote 0
You want to use TEXT, i.e.
TEXT(value you want to format,"mm-dd-yyyy")
 
Upvote 0

Forum statistics

Threads
1,214,540
Messages
6,120,107
Members
448,945
Latest member
Vmanchoppy

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