Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default adding AND, OR to excisting INDEX formula

Hi, in case I use the following formula:

=INDEX(A1:A9;MATCH(1;("L-1234"=B1:B9)*("Homer"=C1:C9);0))

Is it possible to find the match with 'Homer OR Janssen', instead of just
'Homer'?

And also, can I ask for an extra criteria from another column using AND?

So what I want is a match with the row which contains:
'L-1234' in column B;
AND 'Homer' OR 'Janssen' OR 'Smith' in column C;
AND 'plastic' in column E.

I really hope somehow this is possible.

Thanks a lot in advance.

Marieke


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default adding AND, OR to excisting INDEX formula


Try:


Code:
--------------------
=INDEX(A1:A9,MATCH(1,("L-1234"=B1:B9)*(ISNUMBER(MATCH(C1:C9,{"Homer","Janss en","Smith"},0)))*(E1:E9="plastic"),0))
--------------------


confirmed with CTRL+SHIFT+ENTER

or


Code:
--------------------
=INDEX(A1:A9;MATCH(1;INDEX(("L-1234"=B1:B9)*(ISNUMBER(MATCH(C1:C9;{"Homer";"Janss en";"Smith"};0)))*(E1:E9="plastic");0);0))
--------------------


normally entered with just ENTER


--
NBVC

Where there is a will there are many ways.
'The Code Cage' (http;//www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=109827

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
Adding rows to the data array used in an Index function Lanhing Excel Discussion (Misc queries) 1 April 7th 09 07:45 PM
Formula Help (IF) ... INDEX sahafi Excel Worksheet Functions 1 January 27th 09 11:13 PM
Find excisting values, make them grouped under the new value FrodeOlsen Excel Discussion (Misc queries) 0 April 18th 07 08:50 PM
Index formula help Luke Excel Discussion (Misc queries) 1 December 14th 05 09:34 AM
Sum and Index formula? Luke Excel Discussion (Misc queries) 2 April 6th 05 12:58 PM


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