Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 84
Default Iserror - can it return a "blank" value?

I have the following formula:

=IF(ISERROR(VLOOKUP(A5,Input!A:B,2,0)),"",VLOOKUP( A5,Input!A:B,2,0))

If I don't have an entry in my "input" sheet, it returns a value of "0."
What I *want* it to do is to not show anything if there's no entry. Can I
just make it look blank?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Iserror - can it return a "blank" value?

You have to nest another lookup testing for blank:

=IF(ISERROR(VLOOKUP(A5,Input!A:B,2,0)),"",IF(VLOOK UP(A5,Input!A:B,2,0)="","",VLOOKUP(A5,Input!A:B,2, 0)))

--
Biff
Microsoft Excel MVP


"smartgal" wrote in message
...
I have the following formula:

=IF(ISERROR(VLOOKUP(A5,Input!A:B,2,0)),"",VLOOKUP( A5,Input!A:B,2,0))

If I don't have an entry in my "input" sheet, it returns a value of "0."
What I *want* it to do is to not show anything if there's no entry. Can I
just make it look blank?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 84
Default Iserror - can it return a "blank" value?

Never mind, just conditionally formatted so that if the value is "0" the text
is white . . .

"smartgal" wrote:

I have the following formula:

=IF(ISERROR(VLOOKUP(A5,Input!A:B,2,0)),"",VLOOKUP( A5,Input!A:B,2,0))

If I don't have an entry in my "input" sheet, it returns a value of "0."
What I *want* it to do is to not show anything if there's no entry. Can I
just make it look blank?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 84
Default Iserror - can it return a "blank" value?

Oooh, I like it! I'll try it. Thanks!

"T. Valko" wrote:

You have to nest another lookup testing for blank:

=IF(ISERROR(VLOOKUP(A5,Input!A:B,2,0)),"",IF(VLOOK UP(A5,Input!A:B,2,0)="","",VLOOKUP(A5,Input!A:B,2, 0)))

--
Biff
Microsoft Excel MVP


"smartgal" wrote in message
...
I have the following formula:

=IF(ISERROR(VLOOKUP(A5,Input!A:B,2,0)),"",VLOOKUP( A5,Input!A:B,2,0))

If I don't have an entry in my "input" sheet, it returns a value of "0."
What I *want* it to do is to not show anything if there's no entry. Can I
just make it look blank?




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Iserror - can it return a "blank" value?

Yeah, that's another alternative as long as the "hidden" 0 doesn't mess up
any downstream calculations.

--
Biff
Microsoft Excel MVP


"smartgal" wrote in message
...
Never mind, just conditionally formatted so that if the value is "0" the
text
is white . . .

"smartgal" wrote:

I have the following formula:

=IF(ISERROR(VLOOKUP(A5,Input!A:B,2,0)),"",VLOOKUP( A5,Input!A:B,2,0))

If I don't have an entry in my "input" sheet, it returns a value of "0."
What I *want* it to do is to not show anything if there's no entry. Can
I
just make it look blank?





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Iserror - can it return a "blank" value?

One mo
=if(iserror(1/len(vlookup(...)),"",vlookup(...))

smartgal wrote:

I have the following formula:

=IF(ISERROR(VLOOKUP(A5,Input!A:B,2,0)),"",VLOOKUP( A5,Input!A:B,2,0))

If I don't have an entry in my "input" sheet, it returns a value of "0."
What I *want* it to do is to not show anything if there's no entry. Can I
just make it look blank?


--

Dave Peterson
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
=IF(ISERROR(SEARCH("insurance",A125,1)),"","*") cynichromantique Excel Worksheet Functions 9 September 25th 08 10:49 PM
How do I return "leave cell blank" using IF logic. tlm1tlm Excel Worksheet Functions 3 April 9th 08 12:20 AM
embedding "ISERROR" function into an "IF" statement [email protected] Excel Worksheet Functions 8 January 4th 07 01:01 AM
Syntax to "OR" 3 "ISERROR" conditions Mike K Excel Worksheet Functions 6 July 22nd 06 05:18 PM
Return blank for true "if" statement when charting, not 0 Jay F Charts and Charting in Excel 1 June 21st 06 05:15 PM


All times are GMT +1. The time now is 05:42 AM.

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

About Us

"It's about Microsoft Excel"