Help With DateValue and upper / lower case

maximillianrg

Board Regular
Joined
Aug 7, 2014
Messages
75
Office Version
  1. 2016
Platform
  1. Windows
Hello Excel Masters

Cell F1 Formula: =DATEVALUE(LEFT(TEXTAFTER(K1,"ETA: "),11))
Cell K1 Content: Deployment schedule ETA: 15-APR-2024 and we plan to etc.......
Cell F1 Results: 15-Apr-2024

I need the formula in cell F1 to return the month in cell K1 in the exact same case it is in K1.

The month is listed as APR but the formula return it as Apr
If the month was ApR I would need the formula to return Apr

Any thought on how to do this and thank you in advance
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Have a look at the thread below from yesterday where we discuss having the month as capitals, basically if you want it via formula then the result will be text and not a real date.

 
Upvote 0
Thank You Mark, unfortunately I am trying to get a team of people to standardize on a date format where the month is in all caps so I need the date pulled from cell K1 to be accurately displayed in F1. For example

if M1 contains 08-DEC-2023 then F1 also needs to display as 08-DEC-2023
if M1 contains 08-Dec-2023 then F1 also needs to display as 08-Dec-2023

The hooks is I need these dates as numbers so I can do date calculations
 
Upvote 0
You can't have both (at least not in the same cell) other than with the all caps font.
 
Upvote 0
Thank You Mark, unfortunately I am trying to get a team of people to standardize on a date format where the month is in all caps so I need the date pulled from cell K1 to be accurately displayed in F1. For example

if M1 contains 08-DEC-2023 then F1 also needs to display as 08-DEC-2023
if M1 contains 08-Dec-2023 then F1 also needs to display as 08-Dec-2023

The hooks is I need these dates as numbers so I can do date calculations
The hooks is I need these dates as numbers so I can do date calculations
If you want cell F1 to have the case as in cell K1, why put the DATEVALUE function in it.
You can convert it to date with the DATEVALUE function in your subsequent formulas.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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
Back
Top