MATCH Formula to Return multiple Row Numbers.

Roj47

Board Regular
Joined
May 4, 2011
Messages
71
Office Version
  1. 365
Platform
  1. Windows
Hi,

I had successfully been using

=MATCH($C$13,$B:$B,0)

to return the row number of the corresponding item.

It them dawned on me that the data sometimes had the same value multiple times so only returned the first instance.

Having failed to incorporate FILTER into the formula and internet searches advising the insertion of a new column to make data more unique, I hoped I would be able to tailor the formula without changing the sheet.

Ideally I would be able to remove duplicates or amend the data in column B from Crisps to include flavour to make them unique but it seems this option is not available to me (thanks management!).

Thanks in advance,
Roj.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Can you post a mockup sample of your data (10-20 rows) and the expected outcome?
 
Upvote 0
Can you post a mockup sample of your data (10-20 rows) and the expected outcome?
Thank you for the reply and as requested, please find an example of what I would like to happen in the search.

1721374459985.png
 
Upvote 0
Do you just mean something like this:
1) Down the page
Excel Formula:
=FILTER(ROW(B:B),B:B=$C$13,"")
2) Across the page
Excel Formula:
=TRANSPOSE(FILTER(ROW(B:B),B:B=$C$13,""))
 
Upvote 0
Solution
Do you just mean something like this:
1) Down the page
Excel Formula:
=FILTER(ROW(B:B),B:B=$C$13,"")
2) Across the page
Excel Formula:
=TRANSPOSE(FILTER(ROW(B:B),B:B=$C$13,""))

Thank you, exactly what I was looking.

I kept merging MATCH and FILTER and failing :)

Much appreciated.
 
Upvote 0

Forum statistics

Threads
1,223,937
Messages
6,175,525
Members
452,651
Latest member
wordsearch

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