Parse Individual Characters into a Normalized Calendar

engelwood

Active Member
Joined
Oct 14, 2004
Messages
327
I have a file (source is a MRP shop floor calendar) where each character in a single field represents the daily availability of the work center. E.G. "" = Available, "W" = Weekend, "H" = Holiday, etc... AND each character space represents the day of the year; the first space would be 1/1, and the 365th would be 12/31 (assuming no leap year). Each row is a year and work center. I would love to have this data normalized where each row represents the date/workcenter/availability. Would anybody be able to point me in the right direction?
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Rather than me/us guessing and getting the data picture wrong, you could post examples of the field data? Don't wrap entries in quotes if they are not there, but do include any separators if they are not just spaces. I'm guessing W9/15 would be one example (no zero before the nine), but what is the separator? I suspect you will need a function to evaluate an array or a custom collection.
 
Upvote 0

Forum statistics

Threads
1,214,975
Messages
6,122,538
Members
449,088
Latest member
RandomExceller01

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