Add blanks into a formula

Steven1985

Board Regular
Joined
Mar 2, 2011
Messages
66
Hi,

I have a formula but i need to add to it.

=NETWORKDAYS(A3,AO3,Controls!A$10:A$47)-0 (MOD(A3,2)>MOD(AO3,1))&" days "&TEXT(AO3-A3,"h:mm")<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p></o:p>
Can we add to the beginning so that if the cell AO3 is blank then enter blank in the days taken field (The cell this formula sits). At the moment if its blank it brings back error message #VALUE.<o:p></o:p>
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Hi Try,


=IF(AO3="","",NETWORKDAYS(A3,AO3,Controls!A$10:A$47)-0 (MOD(A3,2)>MOD(AO3,1))&" days "&TEXT(AO3-A3,"h:mm"))<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
 
Upvote 0
Try...

=IF(AO3="","",NETWORKDAYS(A3,AO3,Controls!A$10:A$47)-0 (MOD(A3,2)>MOD(AO3,1))&" days "&TEXT(AO3-A3,"h:mm"))
 
Upvote 0

Forum statistics

Threads
1,224,520
Messages
6,179,270
Members
452,902
Latest member
Knuddeluff

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