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

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
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,824
Messages
6,127,108
Members
449,359
Latest member
michael2

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