#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,560
Default Match Question

I'm using three seperate Match functions to find three items in Column A to
get the row they are on.
The first match is returning the right row number, 10. =MATCH("Ben
Franklin",A:A)
However, the second and third are not:
=MATCH("OHAC",A:A,1) returns 24 but is on row 36
=MATCH("Mister Sparky",A:A) returns 21 but is on row 50
I need the OHAC to return 36 and Mister Sparky to return 50

All three match functions are in column J
They all refer to range A:A.
Any help would be appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Match Question

If you're matching on Text values, I bet you want an exact match.

Try use 0 as the 3rd argument:
=match("ben franklin",a:a,0)





David wrote:

I'm using three seperate Match functions to find three items in Column A to
get the row they are on.
The first match is returning the right row number, 10. =MATCH("Ben
Franklin",A:A)
However, the second and third are not:
=MATCH("OHAC",A:A,1) returns 24 but is on row 36
=MATCH("Mister Sparky",A:A) returns 21 but is on row 50
I need the OHAC to return 36 and Mister Sparky to return 50

All three match functions are in column J
They all refer to range A:A.
Any help would be appreciated!


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,560
Default Match Question

Duh...Again...YOU DA MAN!!
I'm getting brain overload...thanks Dave!

"Dave Peterson" wrote:

If you're matching on Text values, I bet you want an exact match.

Try use 0 as the 3rd argument:
=match("ben franklin",a:a,0)





David wrote:

I'm using three seperate Match functions to find three items in Column A to
get the row they are on.
The first match is returning the right row number, 10. =MATCH("Ben
Franklin",A:A)
However, the second and third are not:
=MATCH("OHAC",A:A,1) returns 24 but is on row 36
=MATCH("Mister Sparky",A:A) returns 21 but is on row 50
I need the OHAC to return 36 and Mister Sparky to return 50

All three match functions are in column J
They all refer to range A:A.
Any help would be appreciated!


--

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
Simple (?) Match question Steve Excel Worksheet Functions 11 March 12th 07 05:22 PM
Match Question Jules Excel Worksheet Functions 4 February 22nd 07 12:08 PM
LookUp/Match Question carl Excel Worksheet Functions 2 October 5th 05 07:36 PM
Match or Index Question carl Excel Worksheet Functions 2 October 4th 05 09:11 PM
MATCH Question Phyllis Excel Worksheet Functions 3 November 9th 04 03:21 PM


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