Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to use MATCH function to return multiple values

Hello All,

I am trapped by this problem (as shown in subject) in Excel.

This is the table I want to deal with:

A B
1 2 4
2 4 5
3 3 2
4 2 6


I want to find out the index numbers (row number) whose value = 2 in A
column, so in this case, the return values should be 1, 4. How can I
make this happen?

Many thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 468
Default How to use MATCH function to return multiple values

In cell C1 enter
=IF(A1:A4=2,ROW(),"") << after typing in press Control+Shift+Enter NOT ENTER.
This is a Control array formula -- afterwards cell will look like so:
{=IF(A1:A4=2,ROW(),"")}
Copy C1 down to C4 - Only two of your row will have data in Column C 1 & 4.

Not sure this is what you want , but...

Jim May

" wrote:

Hello All,

I am trapped by this problem (as shown in subject) in Excel.

This is the table I want to deal with:

A B
1 2 4
2 4 5
3 3 2
4 2 6


I want to find out the index numbers (row number) whose value = 2 in A
column, so in this case, the return values should be 1, 4. How can I
make this happen?

Many thanks


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 Multiple Criteria and Return values positioned above the zero Sam via OfficeKB.com Excel Worksheet Functions 6 November 26th 09 06:52 PM
Return multiple values using a lookup function Mayo Excel Worksheet Functions 10 March 24th 09 06:12 PM
Find a Match in Multiple Places & Return Multiple Values Toria Excel Worksheet Functions 3 June 24th 08 09:49 PM
MATCH Multiple Criteria & Return Previous / Penultimate Match Sam via OfficeKB.com Excel Worksheet Functions 27 October 6th 07 01:39 AM
IF Function with multiple return values jerminski73 Excel Worksheet Functions 6 April 28th 07 12:16 AM


All times are GMT +1. The time now is 12:43 PM.

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"