Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VLOOKUP with a Boolean membership condition??

Hi,
I am trying to modify a VLOOKUP function using a Boolean condition
instead of nesting a bunch of If functions together (and then hitting
the nesting limit of 7). What I would like to do in pseudo code is

IF active cell
is IN (list)
/*I would like this list to behave like standard SQL, i.e. no limit to
the number of variables in list, each item separated by comma*/
Then VLOOKUP(active cell, Range Reference, Column #, false)
Else = 0

Nesting IF statements works until you have more than 7 items in the
list. I would also like to use the same function above with NOT IN
(list) as well. Im not real proficient writing code, but I am amazed
that excel does not have a predefined Is In List function.

Thanks


---
Message posted from http://www.ExcelForum.com/

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
Two Condition Vlookup Santi[_2_] Excel Discussion (Misc queries) 1 March 8th 10 12:01 AM
Membership list nickodemos Excel Discussion (Misc queries) 0 April 26th 09 11:39 PM
Membership List Marge at large New Users to Excel 3 September 3rd 08 07:06 AM
two condition for vlookup? shital shah Excel Worksheet Functions 4 August 2nd 06 10:11 PM
Group membership jamex New Users to Excel 2 March 9th 06 01:07 PM


All times are GMT +1. The time now is 02:29 PM.

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"