Use ADDRESS to find column then use that in a formula

retrorocket129

New Member
Joined
Sep 30, 2023
Messages
2
Office Version
  1. 2019
Platform
  1. Windows
Hello. I have the below address formula that finds the column I need in the sheet directly behind this one. Is there a way to use the range info output in the cell in a MATCH formula?

=ADDRESS(3,MATCH("Part Number ",Sheet1!$3:$3,0),,,"Sheet1")&":"&ADDRESS(1048576,MATCH("Part Number ",Sheet1!$3:$3,0))


09302023.PNG
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Maybe I misinterpreted your question, but you might use INDIRECT(YourFormula)
For Example
Excel Formula:
=MATCH(TheValue,INDIRECT(ADDRESS(3,MATCH("Part Number ",Sheet1!$3:$3,0),,,"Sheet1")&":"&ADDRESS(1048576,MATCH("Part Number ",Sheet1!$3:$3,0))),False)

I also guess you may replace your INDIRECT + ADDRESS with a simplere OFFSET+MATCH
 
Last edited:
Upvote 0
I also guess you may replace your INDIRECT + ADDRESS with a simplere OFFSET+MATCH
I mean OFFSET(Sheet1!A3,0,MATCH("Part Number",Sheet1!$3:$3,0)-1,1000000,1) rather than INDIRECT(YourFormula)
So the whole formula would be:
Excel Formula:
=MATCH(TheValue,OFFSET(Sheet1!A3,0,MATCH("Part Number",Sheet1!$3:$3,0)-1,1000000,1),False)
 
Upvote 1
Solution

Forum statistics

Threads
1,215,136
Messages
6,123,243
Members
449,093
Latest member
Vincent Khandagale

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