Add Column to Date Table

mib1019

Board Regular
Joined
Nov 9, 2017
Messages
66
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I have a Power Query Date Table, Year of Dates, which I will update parameters to get next year's list.

The table contains all dates for the year and includes Month #, Month (text MMM), Weekday #, and Day (text ddd). The text field will be used to build a string after the next calculation(s).

I need to calculate the nth of each date in its month, e.g. 1/2/24 is the 2nd Tue of Jan, and 1/30/24 is the Last. Some Last weekdays will be the 4th, and some will be the 5th.

The last step, after 1st, 2nd, 3rd etc. will be the text string e.g. 2nd Tue in Jan, Last Tue in Jan.

I hope this makes sense. Thanks in advance for any advice/help you can give.

Thanks!
Mary B.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Why do you need next year’s list? Take a look at my article here.
Thanks for your article. I will check it out. I need a lookup column for another spreadsheet I update yearly. The value to lookup is the String e.g. 1st Thu in Jan, etc.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,959
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