About
Pricing
Community
Teams
Start Free Trial
Log in
Larry Brister
asked on
4/27/2021
Excel Date from to Formula
I have a cell that I need a formula that looks at two other cells
A1 = "04/01/2021"
B1 = "04/15/2021"
My results need to be
Apr 1 - Apr 15
Microsoft Office
Spreadsheets
Microsoft Excel
3
1
Last Comment
Norie
8/22/2022 - Mon
Bill Prew
4/27/2021
Do you want the calculated number of days between the two dates, or a text string that has the start and end dates?
»
bp
ASKER CERTIFIED SOLUTION
Bill Prew
4/27/2021
THIS SOLUTION 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
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Norie
4/27/2021
If both values are strings try this.
=TEXT(DATEVALUE(A1), "mmm d")&"-"&TEXT(DATEVALUE(B1)
, "mmm d")
If they are date values try this.
=TEXT(A1, "mmm d")&"-"&TEXT(B1, "mmm d")
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
»bp