Cleaning up date range colums

ginotx

New Member
Joined
Dec 13, 2023
Messages
21
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I am working on creating a table for production of plants for others to use in Excel. All info is exported from SBI. SBI exports the info as week of the year and year number

imported to Excel date examples: 0123, 2623, 4823, 0124, 2624, 4824, 0125,2625,4825

For sorting purposes I currently have a column for the week number of year (1-52) and a separate column for the year (23,24,25,26) for production year and year the trees will be ready. What i am hoping is that i can put the dates in one column and have a way to separate the years. I currently split the dates out when importing to Excel but would like a way to sort dates in Excel where I would only need one column. The problem i have is that I want to sort by year, then by week number. Currently I am unable to sort by year first unless I use two columns.

SBI Export Date examples: 0123, 2623, 4823, 0124, 2624, 4824, 0125,2625,4825

Currently i make two columns but would like to not split the date into two columns to sort by year, then week of the year.

Thank You
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
I don't quite understand your problem. You don't want 2 columns but you want to be able to filter by year and by week?
There is no way to sort by week in excel filters that i know of if you have one column of dates. Just by year, month and so forth. I think you are stuck with 2 columns.
1705098354633.png
 
Upvote 0
Solution
That is what I concluded, but was hoping otherwise.

Below is pretty much what I am doing now with my own split of week and year vs the SBI import date. What I have works, I was just hoping to clean up.

Plant NameSales 2023VendorOrder DateShippedPlug SizeWeekYearSBI Import Date
ACHILLEA MOONSHINE
1138​
BALL
10/12/23​
800
102​
62024624
ACHILLEA MOONSHINE
1138​
McH
10/12/23​
792
72​
82024824
ACHILLEA NEW VINTAGE RED
210​
BALL
10/12/23​
200
102​
62024624
ACHILLEA NEW VINTAGE RED
210​
McH
10/12/23​
288
72​
62024624
AEGOPODIUM PODAGRARIA SNOW ON THE MOUNTAINMcH
10/12/23​
100
50​
62024624
AEGOPODIUM VARIEGATUM
86​
BALL
10/12/23​
72
72​
62024624
AGASTACHE BLUE BOA
161​
BALL
10/12/23​
144
72​
62024624
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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