Many Formulas in one cell

jewpal

New Member
Joined
Aug 13, 2018
Messages
5
Hello knowledgeable users!

I am trying to fix a series of numbers. in E2 it reads:

20180809173450Z

I want it to be:

08092018

This is what I have so far:
=MID(E2,7,2)&LEFT(E2,LEN(E2)-9)
Which returns 09201808.

Ok almost there, just have to do that same thing to put 08 in front of the 092018.

=MID(E2,7,2)&LEFT(E2,LEN(E2)-9)&RIGHT(E2,2)

AHCK it does not work! I get:

<colgroup><col width="283"></colgroup><tbody>
[TD="class: xl65, width: 283"]092018080Z

So it seems that the formula is still using what is in E2 and not the "new result."
Any advice would be greatly appreciated!!
[/TD]

</tbody>
 
Just curious, do you need the results converted to Real Date values for further comparison?
 
Upvote 0

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Nothing to solve, use these formulas to convert your Original Text Strings, format cell as Date:


Book1
EF
220180809173450Z8/9/2018
3201818070121Z7/18/2018
Sheet178
Cell Formulas
RangeFormula
F2=(MID(E2,5,2)&"/"&MID(E2,7,2)&"/"&LEFT(E2,4))+0
F3=(MID(E3,7,2)&"/"&MID(E3,5,2)&"/"&LEFT(E3,4))+0
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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