networkdays formula

kizzieb85

New Member
Joined
Aug 16, 2011
Messages
2
I am using a simple netwrokdays formula with a -1 on the end. This formula works fine but to make my spreadsheet more jazzy I want the formula to provide a blank if neither/or one of the date fields is blank, trouble is now I keep getting the Value# error, I think this is to do with the - 1, any ideas how i can get rid of it. My forumla is

=IF(A4="","",AND(IF(F4="","",NETWORKDAYS(A4,F4,Holidays!$A$1:$A$6)-1)))

A4 is start date and F4 is end date

Thanks
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,224,599
Messages
6,179,827
Members
452,946
Latest member
JoseDavid

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