look for a word in a set of cells (multiple columns X multiple rows)

Osvaldo Palmeiro

Well-known Member
Joined
Feb 24, 2009
Messages
753
Office Version
  1. 365
Platform
  1. Windows
Hi all.

Let's say I have one word in each cell in range A1:E10.
Just one cell in that range has the word "cat".
Is there a fórmula that will return the reference (column and row) from that cell that holds "cat" ?
Many thanks in advance
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Try this

=CONCATENATE("Column "&SUMPRODUCT(($A$1:$E$10="cat")*COLUMN($A$1:$E$1)-COLUMN($A$1)+1)&", Row "&SUMPRODUCT(($A$1:$E$10="cat")*ROW($A$1:$A$10)-ROW($A$1)+1))
 
Upvote 0
Or if you meant the actual cell reference;


Book1
ABCDE
1dogsdogsdogsdogsdogs
2dogsdogsdogsdogsdogs
3dogsdogsdogsdogsdogs
4dogscatdogsdogsdogs
5dogsdogsdogsdogsdogs
6dogsdogsdogsdogsdogs
7dogsdogsdogsdogsdogs
8dogsdogsdogsdogsdogs
9dogsdogsdogsdogsdogs
10dogsdogsdogsdogsdogs
11
12Criteria
13cat
14
15Column 2, Row 4
16
17$B$4
Sheet1
Cell Formulas
RangeFormula
A15=CONCATENATE("Column "&SUMPRODUCT(($A$1:$E$10="cat")*COLUMN($A$1:$E$1)-COLUMN($A$1)+1)&", Row "&SUMPRODUCT(($A$1:$E$10="cat")*ROW($A$1:$A$10)-ROW($A$1)+1))
A17=CELL("address",INDEX($A$1:$E$10,SUMPRODUCT(($A$1:$E$10=$A$13)*ROW($A$1:$A$10)-ROW($A$1)+1),SUMPRODUCT(($A$1:$E$10=$A$13)*COLUMN($A$1:$E$1)-COLUMN($A$1)+1)))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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