Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 557
Default Match formula to match values in multiple columns

Hi all, does any friend know that how can I make below formula work
MATCH(A2,$K$2:$M$30,0)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Match formula to match values in multiple columns

I am not sure I have understood correectly. Please go through the below example

With data as below if you need to retrive the name of the 1st Rank holder
from London.

D2 = 1
D3 = London

In D4 apply the below formula
=INDEX($B$2:$B$9,MATCH(1,($A$2:$A$9=D2)*($C$2:$C$9 =D3),0))

Please note that this is an array formula. You create array formulas in the
same way that you create other formulas, except you press CTRL+SHIFT+ENTER to
enter the formula. If successful in 'Formula Bar' you can notice the curly
braces at both ends like "{=<formula}"

ColA ColB ColC
Rank Name Office
1 Tom R Bath
2 Katy C Bath
3 Nigel G Bath
4 Pete R Bath
1 Tony A London
2 John B London
3 Mary C London
4 Jane D London


--
Jacob (MVP - Excel)


"K" wrote:

Hi all, does any friend know that how can I make below formula work
MATCH(A2,$K$2:$M$30,0)
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Match formula to match values in multiple columns

Check your other post.

K wrote:

Hi all, does any friend know that how can I make below formula work
MATCH(A2,$K$2:$M$30,0)


--

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
Match 2 Columns, Return 3rd, Differing Match Types Matt.Russett Excel Worksheet Functions 3 May 11th 10 10:45 AM
Match formula to match values in multiple columns K[_2_] Excel Discussion (Misc queries) 2 April 22nd 10 10:22 AM
Lookup Formula: Return 1st match, then 2nd match, then 3rd match Scott Excel Discussion (Misc queries) 4 December 11th 09 05:50 AM
Need to match 2 columns, if a match found add info from 2nd column Stratton Excel Worksheet Functions 1 October 8th 08 02:55 PM
match values in two different columns thomasNg Excel Worksheet Functions 2 November 24th 05 02:38 AM


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