Vacation Days Formula - calculating half days

Options
Linda Wills
Linda Wills ✭✭
edited 10/10/23 in Formulas and Functions

Hi,

I am trying to incorporate 0.5 days of annual leave into my vacation tracker.

I have the forumla =NETWORKDAYS([Start Date]@row, [End Date]@row, {Bank Holiday Lookp}) to calculate overall number of days out (minus public holidays). From this total I then want to include any 0.5 days from this when 'half day requested' is shown as "Yes".

I can't seem to get the below forumla to work for me:

=(NETWORKDAYS([Start Date]63, [End Date]63) - IF([Half-day]63, .5_if_true, 0_if_false))

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!