LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #12   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 733
Default Can we use multiple if with VLookup function

Multiple IF''''s with Vlookup wrote...
This is the formula which I have:

=MID(L2,SEARCH(" vdi",L2)+1,4)

Now, I want to use multiple if statement in this formula.

....

I'm going to guess (sadly it's just a guess because you haven't yet
managed to be specific) you want to find the first of several possible
words in cell L2. I'll use the following sample array of words:
{"one","two","three","four"}. The first of these found in L2 would be
given by the formula

=INDEX({"one","two","three","four","none found"},MATCH(TRUE,
ISNUMBER(SEARCH(" "&{"one","two","three","four","*"}&" "," "&L2&"
")),0))

There's no need to use nested IF calls.

 
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
combine multiple values in a table into one cell using vlookup? Liam S. Excel Worksheet Functions 0 July 27th 06 09:21 PM
Pastable function using VLOOKUP? zatomics Excel Worksheet Functions 1 May 23rd 06 06:17 AM
Index function using multiple values in one cell [email protected] Excel Worksheet Functions 2 May 11th 06 08:14 PM
VLOOKUP and multiple columns Dan Belcher Excel Discussion (Misc queries) 6 September 17th 05 11:47 AM
Simplify Vlookup function in Excel Budman Excel Worksheet Functions 7 March 27th 05 04:17 PM


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

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"