Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 29
Default Lookup_vector

Hi,

What shall I do to make lookup leaves the cell without a match as blank and
not doublicating the value of the last matched cell?
--
tarig
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 269
Default Lookup_vector

You did not specify details on your lookup, but here are a couple of ideas

If you only want to use exact matches you could just check for an exact
match first and if not found use "" like this

If(iserror(match("A",A1:A20,0)),"",Lookup("A",A1:2 0))
This works for numbers and text


If you are using numbers and only want to return blank if the number is
greater than the last number use this

if(300max(A1:A20),"",Lookup(300,a1:a20))
This does not work for text.

--
If this helps, please remember to click yes.


"Tarig" wrote:

Hi,

What shall I do to make lookup leaves the cell without a match as blank and
not doublicating the value of the last matched cell?
--
tarig

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 a cell having name of lookup_vector be used in lookup function Arsalan Excel Worksheet Functions 0 May 13th 09 02:33 PM


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