Date format doesn't work with formula

RodneyC

Active Member
Joined
Nov 4, 2021
Messages
278
Office Version
  1. 2016
Platform
  1. Windows
I've inherited a number of spreadsheets and am trying to add new data and am running into a formatting issue

This formula is In column I =DATEVALUE(C736) dragged up/down the entire column with the row reference changing as needed. in C736 there is this value 2021-09-01. Currently C736 is the last row of data.

New data is being added to rows 737 - 800

1. In C737 I have entered 2021-10-01, which publishes 10/1/2021. which results in column I producing #VALUE!
2. In C737 I have custom formatted the cell to yyyy-mm-dd which does not resolve the issue in column I
3. I've looked at the formatting in cell C736 and it shows General as selected. If I move to C737 and format to General the sample value that displays is 44470 which is what displays in C737 if I select General

I'm baffled. What am I missing?

Thanks in advance
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Just try =C736 without the DATEVALUE function.

DATEVALUE is only needed to convert a text string that looks like a date to a proper date. If the cell already contains a proper date then it will not work (as you have already discovered).
 
Upvote 0

Forum statistics

Threads
1,214,822
Messages
6,121,770
Members
449,049
Latest member
greyangel23

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