#1   Report Post  
Micayla Bergen
 
Posts: n/a
Default IF VLOOKUP

Can i have an IF function VLOKUP? i.e. =IF(VLOOKUP(A4,'share
detail'!A2:A150,1, FALSE),1,"") if the vlookup is corrent (value is found
within table) then i want a value returned in the cell rather than whatever
is in the corresponding column.
Thanks
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=IF(ISNA(vlookup_formula),"",vlookup_formula)

is what I thinkthat you want, but didn't really understand what you want if
not found.

--
HTH

Bob Phillips

"Micayla Bergen" wrote in message
...
Can i have an IF function VLOKUP? i.e. =IF(VLOOKUP(A4,'share
detail'!A2:A150,1, FALSE),1,"") if the vlookup is corrent (value is found
within table) then i want a value returned in the cell rather than

whatever
is in the corresponding column.
Thanks



  #4   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Micayla Bergen wrote:
Can i have an IF function VLOKUP? i.e. =IF(VLOOKUP(A4,'share
detail'!A2:A150,1, FALSE),1,"") if the vlookup is corrent (value is found
within table) then i want a value returned in the cell rather than whatever
is in the corresponding column.
Thanks


If 'share detail'!A2:A150 is in ascending order...

=IF(A4 = 'share detail'!A2,(LOOKUP(A4,'share detail'!$A$2:$A$150)=A4)+0,0)

Otherwise:

=ISNUMBER(MATCH(A4,'share detail'!$A$2:$A$150,0))+0

A 1 as result means a hit, 0 a failure.
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
Array Function with VLOOKUP CoRrRan Excel Worksheet Functions 15 April 8th 05 05:54 PM
make a vlookup using a variable path Alex St-Pierre Excel Worksheet Functions 1 March 2nd 05 11:54 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM
VLOOKUP not working Scott Excel Worksheet Functions 3 November 12th 04 08:06 PM


All times are GMT +1. The time now is 06:28 AM.

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"