#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Functions

Is there a way when you do functions that if the function doesn't work, it
doesn't bring back ak value...like you know if ou put FALSE, you will get
#N/A in your cell where the function was..I want it to bring back
nothing.....

=IF(AR39<"BY
OTHERS",VLOOKUP($BY$31,$BZ$18:$CC$20,IF(OR($AR$19= "INTERIOR",$AR$19="20
MIN.(UL 10-B) NEG.PRESSURE", $AR$19="20 MIN.
POS.PRESSURE"),2,IF($AR$19="EXTERIOR",3,IF($AR$19= "45 MIN.(UL 10-B)
NEG.PRESSURE",4,4))), FALSE),"")

in the section where it's false, if you put "" it will bring back #VALUE!


thanks

Wendy


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Functions

=if(iserror(vlookup),"",vlookup)

or

=if(countif(A:A,value),vlookup(value,A:F,2,0),"")



hopefully you can apply that approach to your function.

--
Regards,
Tom Ogilvy

"Wendy" wrote in message
...
Is there a way when you do functions that if the function doesn't work, it
doesn't bring back ak value...like you know if ou put FALSE, you will get
#N/A in your cell where the function was..I want it to bring back
nothing.....

=IF(AR39<"BY
OTHERS",VLOOKUP($BY$31,$BZ$18:$CC$20,IF(OR($AR$19= "INTERIOR",$AR$19="20
MIN.(UL 10-B) NEG.PRESSURE", $AR$19="20 MIN.
POS.PRESSURE"),2,IF($AR$19="EXTERIOR",3,IF($AR$19= "45 MIN.(UL 10-B)
NEG.PRESSURE",4,4))), FALSE),"")

in the section where it's false, if you put "" it will bring back #VALUE!


thanks

Wendy




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert cell formula functions to code functions Adnan Excel Discussion (Misc queries) 1 October 1st 08 08:30 PM
formula/functions for average and if functions Petu71 Excel Worksheet Functions 2 August 5th 07 08:25 PM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Looking for a site with functions that substitute the ATP functions Franz Verga Excel Worksheet Functions 3 June 24th 06 04:30 AM
Nesting functions in the functions dialog box cs170a Excel Worksheet Functions 0 June 10th 05 10:36 PM


All times are GMT +1. The time now is 04:30 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"