Thread: #VALUE!
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Kevin B Kevin B is offline
external usenet poster
 
Posts: 1,316
Default #VALUE!

Try the following nested IF:

=IF(ISERROR(if(a1="","",networkdays(k1,k3))-1),"",if(a1="","",networkdays(k1,k3))-1)

The generic formula would be

=IF(ISERROR(YourFormula),"",YourFormula)

Hope this helps

--
Kevin Backmann


"BNT1 via OfficeKB.com" wrote:

Wonder why no responce, entered in wrong grouping !

Hi

In cell A1 I have a vlookup formula and =if(sheet1A1="","",sheet1a1) which
returns the correct result when blank.

In M1, I have the formula =if(a1="","",networkdays(k1,k3))-1 This also
returns the required info when sheet1A1 has something in the cell, but when
sheet1A1 is empty, M1 returns #VALUE!

I have tried in M1 =if(iserror(networkdays(k1,k3))-1 etc, but get the same
result (#VALUE!)

any help appriciated to tidy up the spreadsheet by removing #VALUE!

regards

Brian

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200805/1