Date format doesn't work with formula

RodneyC

Board Regular
Joined
Nov 4, 2021
Messages
240
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

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

jasonb75

Well-known Member
Joined
Dec 30, 2008
Messages
15,466
Office Version
  1. 365
Platform
  1. Windows
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).
 

RodneyC

Board Regular
Joined
Nov 4, 2021
Messages
240
Office Version
  1. 2016
Platform
  1. Windows
That will very likely work, thank you.
 

Forum statistics

Threads
1,186,015
Messages
5,955,328
Members
438,192
Latest member
cem123

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
Top