• 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
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • 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
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Start and End Dates Columns|Power Query|Excel Forum|My Online Training Hub

You are here: Home / Start and End Dates Columns|Power Query|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
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 QueryStart and End Dates Columns
sp_PrintTopic sp_TopicIcon
Start and End Dates Columns
Avatar
Victor B

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
September 5, 2021
sp_UserOfflineSmall Offline
1
September 5, 2021 - 10:07 pm
sp_Permalink sp_Print

Hello. Hope you all are ok.

I am trying to transform my data but not able to progress. Here is the problem.

Have a table with the following columns

Can you please help me?

Thanks 

DESCRIPTION DATE SALARY
FINISH 1 10/30/2017 100
START 1 10/18/2016 100
FINISH 2 6/11/2003 1091.25
MODIFICATION 1 1/1/2003 1091.25
MODIFICATION 2 12/1/2002 1091.25
MODIFICATION 3 11/1/2002 1634.14
MODIFICATION 4 10/1/2002 1636.09
MODIFICATION 5 9/1/2002 1634.14
MODIFICATION 6 6/1/2002 1634.49
MODIFICATION 7 5/1/2002 1728.61
MODIFICATION 8 4/1/2002 1367.06
MODIFICATION 9 3/1/2002 1361.9
MODIFICATION 10 2/1/2002 1366.79
MODIFICATION 11 1/1/2002 1053.75
MODIFICATION 12 6/16/2001 1008.75
MODIFICATION 13 1/1/2001 1008.75
MODIFICATION 14 8/1/2000 947
MODIFICATION 15 1/1/2000 947.5
MODIFICATION 16 12/3/1998 861.25
MODIFICATION 17 1/1/1998 755
MODIFICATION 18 4/1/1997 661.25
MODIFICATION 19 4/1/1996 557.41
MODIFICATION 20 12/4/1995 484.88
MODIFICATION 21 6/1/1995 457.5
MODIFICATION 22 4/1/1995 448.98
MODIFICATION 23 1/1/1995 408.5
MODIFICATION 24 1/1/1994 381.75
MODIFICATION 25 7/21/1993 256.86
MODIFICATION 26 1/1/1993 142.7
START 3 9/28/1992 133.3
FINISH 4 11/11/1991 119
MODIFICATION 27 11/16/1990 119
FINISH 5 10/19/1990 100.8

and I need the following:

DESCRIPTION START DATE FINISH DATE SALARY
FINISH 1 10/18/2016 10/30/2017 100
MODIFICATION 1 1/1/2003 6/11/2003 1091.3
MODIFICATION 2 12/1/2002 1/1/2003 1091.3
MODIFICATION 3 11/1/2002 12/1/2002 1634.1
MODIFICATION 4 10/1/2002 11/1/2002 1636.1
MODIFICATION 5 9/1/2002 10/1/2002 1634.1
MODIFICATION 6 6/1/2002 9/1/2002 1634.5
MODIFICATION 7 5/1/2002 6/1/2002 1728.6
MODIFICATION 8 4/1/2002 5/1/2002 1367.1
MODIFICATION 9 3/1/2002 4/1/2002 1361.9
MODIFICATION 10 2/1/2002 3/1/2002 1366.8
MODIFICATION 11 1/1/2002 2/1/2002 1053.8
MODIFICATION 12 6/16/2001 1/1/2002 1008.8
MODIFICATION 13 1/1/2001 6/16/2001 1008.8
MODIFICATION 14 8/1/2000 1/1/2001 947
MODIFICATION 15 1/1/2000 8/1/2000 947.5
MODIFICATION 16 12/3/1998 1/1/2000 861.25
MODIFICATION 17 1/1/1998 12/3/1998 755
MODIFICATION 18 4/1/1997 1/1/1998 661.25
MODIFICATION 19 4/1/1996 4/1/1997 557.41
MODIFICATION 20 12/4/1995 4/1/1996 484.88
MODIFICATION 21 6/1/1995 12/4/1995 457.5
MODIFICATION 22 4/1/1995 6/1/1995 448.98
MODIFICATION 23 1/1/1995 4/1/1995 408.5
MODIFICATION 24 1/1/1994 1/1/1995 381.75
Avatar
Catalin Bombea
Iasi, Romania
Admin
Level 10
Forum Posts: 1807
Member Since:
November 8, 2013
sp_UserOfflineSmall Offline
2
September 13, 2021 - 1:42 pm
sp_Permalink sp_Print

Hi Victor,

You have:

MODIFICATION 1- Start Date: 1/1/2003 , Salary: 1091.25

In your desired output, from where is Finish Date coming from, not seeing it in the initial data?

DESCRIPTION START DATE FINISH DATE SALARY
       
MODIFICATION 1 1/1/2003 6/11/2003 1091.3
Avatar
Victor B

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
September 5, 2021
sp_UserOfflineSmall Offline
3
September 13, 2021 - 9:26 pm
sp_Permalink sp_Print

Hi Catalin, the start date is formed by the previous date:

Example:

from below table,

Start 1 = 10/18/2016

Modification 1 = Start date 1/1/2003 and finish date 6/11/2003

Modification 2 = start date 12/1/2002 and finish date 1/1/2003

Hope this helps

Thanks in advance

DESCRIPTION DATE SALARY
FINISH 1 10/30/2017 100
START 1 10/18/2016 100
FINISH 2 6/11/2003 1091.25
MODIFICATION 1 1/1/2003 1091.25
MODIFICATION 2 12/1/2002 1091.25
Avatar
Catalin Bombea
Iasi, Romania
Admin
Level 10
Forum Posts: 1807
Member Since:
November 8, 2013
sp_UserOfflineSmall Offline
4
September 14, 2021 - 1:51 pm
sp_Permalink sp_Print sp_EditHistory

Ok, so Modification 1 has the finish date of FINISH 2 ?! What's the order of the operations, as it's not as obvious as you may think. The date column looks like it is a start date or an end date, depending on description, correct?

But, why do you have in your sample data (first post) START 1 and 3, FINISH 1, 2, 4 and 5 and MODIFICATION 1 to 27. Why there are gaps and which ones are related and must be analyzed as a group?

Please provide the entire logical chain, we can't imagine our own process, guessing always leads to wasted time.

Thanks for understanding, we'll try to help you.

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Velouria, David Eva
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Hayden Hao
Angela chen
Sean Moore
John Chisholm
vexokeb sdfg
John Jack
Malcolm Toy
Ray-Yu Yang
George Shihadeh
Naomi Rumble
Forum Stats:
Groups: 3
Forums: 24
Topics: 6211
Posts: 27238

 

Member Stats:
Guest Posters: 49
Members: 31891
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • 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
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

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.