Avatar of Larry Brister
Larry Brister
Flag for United States of America asked on

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 OfficeSpreadsheetsMicrosoft Excel

Avatar of undefined
Last Comment
Norie

8/22/2022 - Mon
Bill Prew

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

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

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