Match not working?

spacely

Board Regular
Joined
Oct 26, 2007
Messages
248
I don't know how to post a sample file... but I can describe:

I am just doing a match, and it's not working. I want the row number in which the string appears:

In A1
4001,4002,4003,8015,8019,4007,4009,8045,8047,8053,8055,8072,8074,2324,2330,8078,8087,8024,8089,8091,4119,4120,4048,4050,4054,4056,4058,4060,4062,4064,4066,4068,4082,4084,4101,4102


In A2
4004,4005,4008,4013,8046,8048,8054,8056,8073,8075,2325,2329,8079,4035,8084,8085,8086,8088,4047,4049,4053,4055,4057,4059,4061,4063,4065,4067,4081,4083,4099,4100


Match("8084",A1:A2.0) should return a 2.

Is it read as 2 big strings?

Thanks!
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
=LOOKUP(9.99999999999999E+307,FIND(",8084,",","&A1:A2&","),ROW(A1:A2)-ROW(A1)+1)

would skip numbers like 80841, 08084, or 180845.
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top