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

8/22/2022 - Mon
Wilder1626

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?
ASKER
Murray Brown

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
Wilder1626

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

Option 1:
Use Format "mm yyyy"


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


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
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
SOLUTION
Wilder1626

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER CERTIFIED SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
Murray Brown

thanks for the advice
Wilder1626

Was the options i mentioned also part of one of the advices?
ASKER
Murray Brown

Hi Wilder. Yes. Sorry I meant to click on yours too
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.