Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on 

Excel Date formula issue

Hi


In Excel I want to include a date as only the month and year eg "Apr 2021". So I formatted it as this, but when I click in the formula bar I still see "4/1/2021". Does the day have to be included in the underlying value?


Thanks

Microsoft ExcelMicrosoft Office

Avatar of undefined
Last Comment
Murray Brown
Avatar of Wilder1626
Wilder1626
Flag of Canada image

Hi,
A format will never override the exact value of a cell. It will only display the way you want to see.

But just to be sure about the issue you have, can you provide a sample or a snapshot?
Avatar of Murray Brown
Murray Brown
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

I can't provide a sample because it is confidential data. All I want to know is whether you can store only the Month and year in a cell without having to store the day
Avatar of Wilder1626
Wilder1626
Flag of Canada image

I don't know how the file gets populated, but so far, i see 3 options,

Option 1:
Use Format "mm yyyy"
User generated image

Option 2:
Override the date with the value you want. Ex: "Apr 2021" by making sure to format the cell as Text
User generated image

Option 3:
When you enter a date in the cell, without formatting it, add a " ' " before the value. This will set the value as text.
Ex: 'Apr 2021
SOLUTION
Avatar of Wilder1626
Wilder1626
Flag of Canada image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of Flyster
Flyster
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
SOLUTION
Avatar of Gustav Brock
Gustav Brock
Flag of Denmark image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
SOLUTION
Avatar of Rob Henson
Rob Henson
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of Murray Brown
Murray Brown
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

thanks for the advice
Avatar of Wilder1626
Wilder1626
Flag of Canada image

Was the options i mentioned also part of one of the advices?
Avatar of Murray Brown
Murray Brown
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

Hi Wilder. Yes. Sorry I meant to click on yours too
Microsoft Excel
Microsoft Excel

Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.

144K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo