Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Can someone tell me what this formula means?

I'm trying to decipher a progam but don't know what this is saying:

=IF(ISERROR(VLOOKUP($C17,'6'!$B$1:$E$25,4,0))=TRUE ,"",VLOOKUP($C17,'6'!
$B$1:$E$25,4,0))

I understand that it's doing a VLOOKUP of what's in cell $C17, but the
'6' part attached to the table is throwing me off. Also, does the
=TRUE thing mean I'm NOT looking for an exact match?

Can anyone put this into English for me?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Can someone tell me what this formula means?

6 is the name of the worksheet that contains the table in B1:E25.

if(iserror()=true
checks to see if there is a match in the first column (B1:B25). If the formula
returns an error, then iserror() will be true and the next portion says to show
nothing ("") in that cell.

It's a way of avoiding the #n/a errors to make the worksheet look pretty.

Titanus wrote:

I'm trying to decipher a progam but don't know what this is saying:

=IF(ISERROR(VLOOKUP($C17,'6'!$B$1:$E$25,4,0))=TRUE ,"",VLOOKUP($C17,'6'!
$B$1:$E$25,4,0))

I understand that it's doing a VLOOKUP of what's in cell $C17, but the
'6' part attached to the table is throwing me off. Also, does the
=TRUE thing mean I'm NOT looking for an exact match?

Can anyone put this into English for me?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 620
Default Can someone tell me what this formula means?

The '6' before the ! sign is presumably the name of the worksheet in which
the $B$1:$E$25 lookup range resides.
The =TRUE looks unnecessary to me, as I would expect ISERROR() or
ISERROR()=TRUE to give the same result, i.e. TRUE if ISERROR() is TRUE, and
FALSE otherwise. It seems to be returning an empty string "" if the
VLOOKUP() reurns an error condition, but otherwise will return the results
of the LOOKUP(). Because the last parameter of the VLOOKUP() is zero (or
FALSE) then if it doesn't find an exact match it will return #N/A and
trigger your error condition to return a blank from the IF() statement. If
the last parameter of the VLOOKUP() had been TRUE, then if it couldn't find
an exact match it would have returned the largest value that is less than or
equal to your lookup_value $C17.

Each of the functions in Excel (except DATEDIF) has an entry in Excel's help
facility, and gives examples to help to understand the syntax.
--
David Biddulph

"Titanus" wrote in message
oups.com...
I'm trying to decipher a progam but don't know what this is saying:

=IF(ISERROR(VLOOKUP($C17,'6'!$B$1:$E$25,4,0))=TRUE ,"",VLOOKUP($C17,'6'!
$B$1:$E$25,4,0))

I understand that it's doing a VLOOKUP of what's in cell $C17, but the
'6' part attached to the table is throwing me off. Also, does the
=TRUE thing mean I'm NOT looking for an exact match?

Can anyone put this into English for me?



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
Can anyone tell me what this formula means? Shazzer Excel Discussion (Misc queries) 4 December 20th 06 02:08 PM
what it means in a range (B:B) starguy Excel Discussion (Misc queries) 2 April 12th 06 01:00 PM
hi i would like to know what this means } [email protected] New Users to Excel 1 February 24th 06 09:30 PM
want to know what error I/O 32. means please George S. Excel Discussion (Misc queries) 0 October 14th 05 12:03 PM
" " means in IF function Sorue Excel Discussion (Misc queries) 2 June 12th 05 08:53 AM


All times are GMT +1. The time now is 07:12 PM.

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"