Return row and column of value in table

zunkman

New Member
Joined
Jan 17, 2024
Messages
2
Office Version
  1. 2003 or older
Platform
  1. Mobile
I have a 4x4 table with the numbers 1-16 in random locations in that table. (Think like a Bingo Card.)

If I choose one of those numbers (12 for example) I want to know which row and which column contain that number.

I'm pretty fair at Excel and Google Sheets but this one has me stumped. I'd like this to be scalable as well, to handle any size table.

Can anyone offer any suggestions? Thanks!!!

Zunkman
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Book2
ABCDEF
157924
268103
3111514$D$3
412141316
Sheet1
Cell Formulas
RangeFormula
F3F3=ADDRESS(SUMPRODUCT(--(A1:D4=F1)*ROW(A1:D4)),SUMPRODUCT(--(A1:D4=F1)*COLUMN(A1:D4)))


Your lookup is in F1 and the result is in F3
 
Upvote 0

Forum statistics

Threads
1,223,275
Messages
6,171,121
Members
452,381
Latest member
Nova88

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