Dynamic range of cells

DavidVeilleux

New Member
Joined
Apr 15, 2017
Messages
3
Hi,

I'm trying to have a range of cells vary according to other factors.

INDIRECT(ADDRESS(1;MATCH("Y";AT2:BZ2;0)

What is highlighted in red is what I want to change according to other formulas. The thing is you can't put it in text so I don't know how to have it written in the formula to be identified as a cell.

Thanks!
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
You are already using INDIRECT, so why not just include that as a reference from somewhere?

what exactly are you trying to do here, you may be making this more complex than it needs to be?
 
Upvote 0
You are already using INDIRECT, so why not just include that as a reference from somewhere?

what exactly are you trying to do here, you may be making this more complex than it needs to be?


I don't think I can use Indirect as it returns a value of a specified cell and what I want to do is find a way to return a cell address to use it in a range.

=INDIRECT(ADDRESS(1,MATCH("Y",address(2,1):BZ2,0)))

The part in red, which is the first argument of the range I validate in my match formula, I do not know how to have it change according to a formula or other factors.

My main issue is illustrated in this post :
https://www.mrexcel.com/forum/excel...s-multiple-cells-according-variable-data.html

Thanks for the help
 
Upvote 0

Forum statistics

Threads
1,223,723
Messages
6,174,123
Members
452,546
Latest member
Rafafa

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