match() and duplicated values

lezawang

Well-known Member
Joined
Mar 27, 2016
Messages
1,805
Office Version
  1. 2016
Platform
  1. Windows
Hi
I learnt how to use match() function. I have in a column 2 cells with the same value. When I tried to use match(), it returned to me the row of the first value. How that can be resolved? Thank you.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
MATCH() will always return the row of first value it finds that matches. It is by design. What are you trying to accomplish?
 
Upvote 0
Not trying to accomplish anything, just wanted to experiment that. wanted to know how match function would behave

name---phone#---address
jim----- 123-------100 main street
alex----444 -------300 grand street
mary----333 ------100 main street


H1= 100 main street
M1 = match(H1,C2:C20,0)

So wanted to know why match would return 1 not 3 for example. Thanks
MATCH() will always return the row of first value it finds that matches. It is by design. What are you trying to accomplish?
 
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,011
Members
452,374
Latest member
keccles

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