• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Date & Time Transformation|Power Query|Excel Forum|My Online Training Hub

You are here: Home / Date & Time Transformation|Power Query|Excel Forum|My Online Training Hub

Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumPower QueryDate & Time Transformation
sp_PrintTopic sp_TopicIcon
Date & Time Transformation
Avatar
Alistair Walker
Member
Members

Dashboards

Power Query

Power Pivot

Power BI
Level 0
Forum Posts: 9
Member Since:
February 24, 2021
sp_UserOfflineSmall Offline
1
January 7, 2023 - 7:19 pm
sp_Permalink sp_Print

I've imported from the web data that displays date as 1 to 31 and time in the format 12.01 (the separator being '.' I want to transform the date to format 01/01/2023 to 31/12/2023 and time to format 12:01 This only seems to work if each cell is changed manually. Any solutions? Thanks

Avatar
Riny van Eekelen
Örnsköldsvik, Sweden
Moderator
Members


Trusted Members

Moderators

Power BI
Level 0
Forum Posts: 384
Member Since:
January 31, 2022
sp_UserOfflineSmall Offline
2
January 7, 2023 - 8:07 pm
sp_Permalink sp_Print

Could you please upload a file that contains the raw data? That makes it easier to come up with a solution. Thank you!

Avatar
Alistair Walker
Member
Members

Dashboards

Power Query

Power Pivot

Power BI
Level 0
Forum Posts: 9
Member Since:
February 24, 2021
sp_UserOfflineSmall Offline
3
January 7, 2023 - 9:05 pm
sp_Permalink sp_Print

Hello Riny,

Attached is the raw data file. Alistair

Avatar
Riny van Eekelen
Örnsköldsvik, Sweden
Moderator
Members


Trusted Members

Moderators

Power BI
Level 0
Forum Posts: 384
Member Since:
January 31, 2022
sp_UserOfflineSmall Offline
4
January 7, 2023 - 9:17 pm
sp_Permalink sp_Print

Thanks for the file. Just wondering how you would know which month we are dealing with. Obviously, your example relates to January as that is what is written in the Sheet name. Will you always receive csv files with the name of the month in it?

And just to be sure, a time reference like 8.3 will be thirty minutes past 8, whereas 10.05 will be 5 minutes past 10. Correct?

Avatar
Alistair Walker
Member
Members

Dashboards

Power Query

Power Pivot

Power BI
Level 0
Forum Posts: 9
Member Since:
February 24, 2021
sp_UserOfflineSmall Offline
5
January 7, 2023 - 9:33 pm
sp_Permalink sp_Print

Hi Riny,

https://www.trggpattaya.com/schedule/

This is the link to the webpage. The new month is added to the website each month and identified only by the title January 2023, February 2023 etc

Time references are displayed on website as 08.30 10.05 etc. Importing them truncates zeros so 08:30 becomes 8.3

The file Raw Data I loaded it without transforming anything.

Thanks
Alistair

Avatar
Riny van Eekelen
Örnsköldsvik, Sweden
Moderator
Members


Trusted Members

Moderators

Power BI
Level 0
Forum Posts: 384
Member Since:
January 31, 2022
sp_UserOfflineSmall Offline
6
January 7, 2023 - 10:13 pm
sp_Permalink sp_Print

Hi Alistair,

Did a quick-and-dirty query that does what you need, I believe. I made no attempts to make it look nice, but the steps aren't difficult to follow. It should also work when February is added to the web-site.

See if it works for you.

Riny

Avatar
Alistair Walker
Member
Members

Dashboards

Power Query

Power Pivot

Power BI
Level 0
Forum Posts: 9
Member Since:
February 24, 2021
sp_UserOfflineSmall Offline
7
January 9, 2023 - 4:27 pm
sp_Permalink sp_Print

Hi Riny,

Thanks for your work on this much appreciated. I've downloaded and will analyse the steps to understand how you transformed it.

Kind regards

Aistair

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 170
Currently Online: Bouskila stephanie, James Hwang
Guest(s) 50
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1431
Anders Sehlstedt: 848
Velouria: 574
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 213
A.Maurizio: 202
Aye Mu: 201
Jessica Stewart: 185
Newest Members:
David Collins
Andras Marsi
Orimoloye Funsho
YUSUF IMAM KAGARA
PRADEEP PRADHAN
Vicky Otosnika
Abhishek Singh
Kevin Sojourner
Kara Weiss
And Woox
Forum Stats:
Groups: 3
Forums: 24
Topics: 6047
Posts: 26543

 

Member Stats:
Guest Posters: 49
Members: 31497
Moderators: 2
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Riny van Eekelen
© Simple:Press —sp_Information
  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
 
  • About My Online Training Hub
  • Contact
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Copyright © 2023 · My Online Training Hub · All Rights Reserved

Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.

Download A Free Copy of 100 Excel Tips & Tricks

excel tips and tricks ebook

We respect your privacy. We won’t spam you.

x