Data format from exported data not recognised

Jodge25

New Member
Joined
Oct 9, 2023
Messages
1
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi,
We I export data from a website it comes in a format of MM DD, YYYY e.g. "March 24, 2023". I would like to turn the data into a pivot table although cant seem to get an easy automated way to get the date into a readable format.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Welcome to the forum,

Perhaps you could convert the dates with a formula before you create the PT:
Book1
AB
1March 24, 202324/03/2023
2March 25, 202325/03/2023
3March 26, 202326/03/2023
4January 2, 202302/01/2023
Sheet1
Cell Formulas
RangeFormula
B1:B4B1=BYROW(A1:A4,LAMBDA(x,LET( ts,TEXTSPLIT(x,{" ",", "}), m,MATCH(INDEX(ts,,1),{"January","February","March","April","May","June","July","August","September","October","November","December"},0), DATE(INDEX(ts,,3),m,INDEX(ts,,2)))))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,958
Members
449,096
Latest member
Anshu121

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