Roster Formula assistance.

troy001100

New Member
Joined
Jan 21, 2019
Messages
4
Hi.

I need some help with a formula, please.

see the below formula:

=IF(OR(J$13="",J$13<$Q$8,$A14=""),"",IF(NETWORKDAYS.INTL(J$13,J$13,weekend,holidays)=0,0,IFERROR(INDEX(daysoff_type,MATCH(J$13&" "&$A14,daysoff_lookup,0)),MID($B14,MOD(NETWORKDAYS.INTL($Q$8,J$13,weekend,holidays)-1,LEN($B14))+1,1))))

Pic1 - Starting Point
Pic2 - After I select Holidays only

I want to keep the red highlight
but I don't want to update it 0 and I don't want it to push the roster over by one day I want it to remain the same as pic1.

Any other advice would be fantastic


Many thanks
Troy
 

Attachments

  • pic1.png
    pic1.png
    40.5 KB · Views: 16
  • pic2.png
    pic2.png
    39.9 KB · Views: 16

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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