Excel shift rotation

locos

New Member
Joined
Apr 13, 2021
Messages
3
Office Version
  1. 2019
Hi,

Need help with this formula to show every three letters Ex. Day 1 aaa day 2 bbb day 3 ccc .....

Like it is, it shows Day 1 aaa day 2 aab day 3 abb day 4 bbb etc.....

=IF(OR(I$12="";I$12<$R$5;$B14="");"";IF(NETWORKDAYS.INTL(I$12;I$12;weekend;holidays)=0;"nw";IFERROR(INDEX(daysoff_type;MATCH(I$12&" "&$B14;daysoff_lookup;0));MID($C14;MOD(NETWORKDAYS.INTL($R$5;I$12;weekend;holidays)-1;LEN($C14))+1;3))))

Capture3.JPG
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
thanks, I'll try to explain a little better.

this rotation worker planner was base on the Download the Rotation Schedule for Multiple Employees

I changed and added some things, but what i would like is to define the rotation for an employee, a pattern of 3 letters and not like it its as only one character.

The string should be AAABBBCCCDDD and then each day would be AAA / BBB / CCC / DDD/ AAA / BBB ETC

and not ABCD with each day A / B / C / D /A /B / etc

Hope that you can help me.

Thanks
 
Upvote 0
Upvote 0

Forum statistics

Threads
1,214,951
Messages
6,122,446
Members
449,083
Latest member
Ava19

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