Date Formatting Problem

meppwc

Well-known Member
Joined
May 16, 2003
Messages
607
Office Version
  1. 365
Platform
  1. Windows
I ran into an issue that I have never seen before
I am using a formula (=IFERROR(XLOOKUP(C315,AL!B:B,AL!G:G),"")&"") that, if found, will copy the date (4/30/2024) from the "AL worksheet to the "CMDB" worksheet.
The problem is the destination (where the formula is), keeps displaying the date as 45412.2364467593.
I have verified that the format on both worksheets is setup to display as a date, but the destination continues to display not as date 4/30/2024.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Just use
Excel Formula:
=XLOOKUP(C315,AL!B:B,AL!G:G,"")
 
Upvote 0
Solution
Just use
Excel Formula:
=XLOOKUP(C315,AL!B:B,AL!G:G,"")
that worked and thanks............wonder why my formula didn't work. I use it often and never had this issue
 
Upvote 0
You were concatenating the value with "" which turns it into text.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,211
Messages
6,129,528
Members
449,515
Latest member
lukaderanged

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