Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Row position of specified column and value

The Match function requires you to specify a range. I am only wanting to
specify the column number.

"Don Guillett" wrote:

Look in the help index for MATCH

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"engineer" wrote in message
...
I would like to know the row position of a specified column and value in a
table. If multiple occurences of the specified value occur in a
particular
column, I want the bottom most row position returned. For example, in the
folowing table, the function would specify column 2 (or B), value of 6,
and
return 3 since the bottom most 6 in column 2 is row 3.

A B C
1 5 8
2 6 9
3 6 10
4 7 11



.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Row position of specified column and value

As posted in the other branch, one way to engineer it ...
----------------
In E1: 2 (input the col number, eg col B = 2)
In E2: 6 (input the value in col B to be found)
Then in E3, array-entered, ie press CTRL+SHIFT+ENTER to confirm the formula:
=MAX(IF(OFFSET(A1:A4,,E1-1)=E2,ROW(A1:A4)))
Success? celebrate it, hit the YES below
--
Max
Singapore
---
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Row position of specified column and value

I still don't understand why match won't get what you want??
=MATCH(6,F:F)
or if 2 (col B) in e1 and 6 in e2 and range sorted. Others better but..
=MATCH(E2,INDIRECT(""&LEFT(ADDRESS(1,E1,4),FIND(1, ADDRESS(1,E1,4))-1)&":"&LEFT(ADDRESS(1,E1,4),FIND(1,ADDRESS(1,E1,4) )-1)&""))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"engineer" wrote in message
...
The Match function requires you to specify a range. I am only wanting to
specify the column number.

"Don Guillett" wrote:

Look in the help index for MATCH

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"engineer" wrote in message
...
I would like to know the row position of a specified column and value in
a
table. If multiple occurences of the specified value occur in a
particular
column, I want the bottom most row position returned. For example, in
the
folowing table, the function would specify column 2 (or B), value of 6,
and
return 3 since the bottom most 6 in column 2 is row 3.

A B C
1 5 8
2 6 9
3 6 10
4 7 11



.


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
Find value in column, return value in same position of other colum Josiecorey Excel Worksheet Functions 1 June 17th 08 02:12 AM
How insert a dash in the third position of a column with data? warren Excel Discussion (Misc queries) 1 July 19th 06 09:42 PM
function for Column Position nastech Excel Discussion (Misc queries) 4 October 22nd 05 12:56 AM
Finding Column Position Brian Mann Excel Discussion (Misc queries) 1 September 22nd 05 09:26 AM
Select player from list and get his position in next column Massivemike Excel Discussion (Misc queries) 2 September 10th 05 12:56 PM


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