Use Indirect function for both sheet and cell address

MandeepBajimaya

New Member
Joined
Jun 2, 2021
Messages
20
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I want to use indirect function for consolidation purpose.
I would like to get cell E6 to E27 of different sheets as per heading like BOPL, EAPL and so on.
There are two variables. one is sheet name and other is cell address
What can be the best way to do this?
 

Attachments

  • Screenshot 2022-12-28 113639.png
    Screenshot 2022-12-28 113639.png
    42.3 KB · Views: 7

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
what cell is E6 to E27 in
not sure form the image - maybe B

indirect(C$3&"!"&$B6)

Cell Formulas
RangeFormula
C6:D8C6=INDIRECT(C$3&"!"&$B6)


Book1
ABCDE
1
2
3
4
5
6Sheet A E6
7Sheet A E7
8Sheet A E8
9
10
11
a


Book1
ABCDEF
1
2
3
4
5
6Sheet B E6
7Sheet B E7
8Sheet B E8
9
10
11
b
 
Upvote 0
Solution

Forum statistics

Threads
1,215,086
Messages
6,123,040
Members
449,092
Latest member
ikke

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