Hi Everyone, Would you be able to help me create a formula that will allow me to return multiple results, but then display the cell reference of each result
I tried to use INDEX MATCH but it will only display the first match that it finds then return the cell reference of the match, this is the formula that I have got at the moment.
=CELL("address",INDEX($H5:$XFD5,MATCH("*"&$I$1&"*",$H5:$XFD5,0)))
The Issue is that I have multiple cells that match the criteria that I am searching and I need to highlight all the cells within that row that match this.
I have tried to use INDEX SMALL COLUMN functions combined but have had no luck.
=IF(COLUMNS($A4:A4)>$F4,"",INDEX($G4:$DC4,SMALL(IF($G4:$DC4=$I$1,COLUMN($G4:$DC4)-COLUMN($G4)+1),COLUMNS($A4:A4))))
But I have had no luck achieving this
Below is a small example of the data that I am working with
First of all, I am doing a count formula to count the number of time the search criteria appears in the data so that I know how many columns I need.
In the below example there are 2 matches, hence only 2 columns, in the real example there might be 10+
Then in Cell "A3" I need the formula to pull out the first match and returns the cell reference and "B3" to show the second match etc.
<tbody>
</tbody>
Please let me know if this is possible.
If you need any further details I am happy to explain further,
Thank You In advance.
I tried to use INDEX MATCH but it will only display the first match that it finds then return the cell reference of the match, this is the formula that I have got at the moment.
=CELL("address",INDEX($H5:$XFD5,MATCH("*"&$I$1&"*",$H5:$XFD5,0)))
The Issue is that I have multiple cells that match the criteria that I am searching and I need to highlight all the cells within that row that match this.
I have tried to use INDEX SMALL COLUMN functions combined but have had no luck.
=IF(COLUMNS($A4:A4)>$F4,"",INDEX($G4:$DC4,SMALL(IF($G4:$DC4=$I$1,COLUMN($G4:$DC4)-COLUMN($G4)+1),COLUMNS($A4:A4))))
But I have had no luck achieving this
Below is a small example of the data that I am working with
First of all, I am doing a count formula to count the number of time the search criteria appears in the data so that I know how many columns I need.
In the below example there are 2 matches, hence only 2 columns, in the real example there might be 10+
Then in Cell "A3" I need the formula to pull out the first match and returns the cell reference and "B3" to show the second match etc.
A | B | C | D | E | F | G | H | |
1 | Search Criteria | 1617940987 | ||||||
2 | Cell Ref1 | Cell Ref 2 | Count If Formula | Number 1 | Number 2 | Number 3 | Number 4 | Number 5 |
3 | =COUNTIF($D5:$H2,"*"&$E$1&"*") | 79081617940987 | 10298764 | 1235333 | 01617940987123 | 1245632 | ||
4 | ||||||||
5 |
<tbody>
</tbody>
Please let me know if this is possible.
If you need any further details I am happy to explain further,
Thank You In advance.