Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Can I use an IS function with Vlookup

I am trying to write a formula that says If the Vlookup returns NA, then plus
a particular cell, otherwise return the vlookup value. Can this be done.
I've writen it as IF(isna(vlookup,etc.),+a1,(vlookup,etc)

Any Ideas as to why it dosen't work.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Can I use an IS function with Vlookup

Remember the FALSE in VLOOKUP():

In A1 thru B3:

1 rover
2 queeny
3 mickey

and in C1:

2

Then =IF(ISNA(VLOOKUP(C1,A1:B3,2,FALSE)),A1,VLOOKUP(C1, A1:B3,2))
returns queeny, but put 22 in C1 and the same formula returns 1
--
Gary''s Student - gsnu200798


"JJ in LA" wrote:

I am trying to write a formula that says If the Vlookup returns NA, then plus
a particular cell, otherwise return the vlookup value. Can this be done.
I've writen it as IF(isna(vlookup,etc.),+a1,(vlookup,etc)

Any Ideas as to why it dosen't work.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Can I use an IS function with Vlookup

In both vlookup() terms, too!

Gary''s Student wrote:

Remember the FALSE in VLOOKUP():

In A1 thru B3:

1 rover
2 queeny
3 mickey

and in C1:

2

Then =IF(ISNA(VLOOKUP(C1,A1:B3,2,FALSE)),A1,VLOOKUP(C1, A1:B3,2))
returns queeny, but put 22 in C1 and the same formula returns 1
--
Gary''s Student - gsnu200798

"JJ in LA" wrote:

I am trying to write a formula that says If the Vlookup returns NA, then plus
a particular cell, otherwise return the vlookup value. Can this be done.
I've writen it as IF(isna(vlookup,etc.),+a1,(vlookup,etc)

Any Ideas as to why it dosen't work.


--

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
Embedded If Function in a Vlookup Function Excel Student Excel Worksheet Functions 2 January 13th 07 04:39 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
HOW DO I NEST THE VLOOKUP FUNCTION WITH THE LEFT FUNCTION CHAIM Excel Worksheet Functions 1 July 27th 05 09:10 PM
how do I write a vlookup function within an iserror function so t. JBLeeds Excel Worksheet Functions 2 March 16th 05 10:30 AM
I want to use Vlookup function and AND function in a single formu. prakash Excel Worksheet Functions 3 January 25th 05 07:11 AM


All times are GMT +1. The time now is 11:11 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"