Nesting within ARRAY and IF formula Google sheets

CROSBIE3103

New Member
Joined
Feb 26, 2020
Messages
1
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
  3. Mobile
  4. Web
Building out a holiday request system that is specific to my team and I am struggling to factor in half day holiday requests. I have the following formula:

=ARRAY_CONSTRAIN(ARRAYFORMULA(IF(SUM(($D16>=IF('Vacation request management'!B:B=Workings!$B$2,'Vacation request management'!C:C,""))*(D16<=IF('Vacation request management'!B:B=Workings!$B$2,'Vacation request management'!D:D,"")))>0,"HOL",Workings!$C$2)),1,1)

Essentially I need a way of nesting in that if 'Vacation request management'!F:F="Yes" then populate with "1/2 HOL" but I seem to keep hitting an error. It works perfectly for full day holidays but can't get it to factor in 1/2 days.

I may be being really stupid and it may be really obvious but I've been looking at this for so long I think I have formula blindness.

Any help would be greatly appreciated.

1582718234319.png
1582718264508.png
 
Last edited by a moderator:

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,223,667
Messages
6,173,684
Members
452,527
Latest member
ineedexcelhelptoday

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