BriargateExcel
New Member
- Joined
- Apr 13, 2020
- Messages
- 13
- Office Version
- 365
- Platform
- Windows
I am trying to use the areas portion of the Index function to select between two different ranges:
=Index((CarRange,TruckRange),1,,$A$1)
CarRange and TruckRange are defined ranges. They resemble: $B$2:$Z$2 and $C$3:$T$3. They are rows of data of different lengths. In my case, CarRange and TruckRange are also dynamic ranges.
I would like to change the value in $A$1 to select between the two ranges
If the Index function is the wrong approach, what is a better way?
=Index((CarRange,TruckRange),1,,$A$1)
CarRange and TruckRange are defined ranges. They resemble: $B$2:$Z$2 and $C$3:$T$3. They are rows of data of different lengths. In my case, CarRange and TruckRange are also dynamic ranges.
I would like to change the value in $A$1 to select between the two ranges
If the Index function is the wrong approach, what is a better way?