Using text from a cell as part of a formula in another cell

packerbacker1975

New Member
Joined
Mar 30, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
This is probably pretty basic but... I have multiple ranges of cells that have formulas referencing values from other worksheets. I'm looking for a way to be able to change the worksheet name (A3) and have all of the cells in the range change to referencing that worksheet.

Cell Formulas
RangeFormula
D2:I2D2=HEM!M$4
D3:I3D3=SUM(D4:D8)
D4:I4D4=SUM(HEM!M$6:M$113)*1000
D5:I5D5=SUM(HEM!M$115:M$222)*1000
D6:I6D6=SUM(HEM!M$224:M$241)*1000
D7:I7D7=SUM(HEM!M$243:M$261)*1000
D8:I8D8=SUM(HEM!M$263:M$272)*1000
D9:I9D9=SUM(HEM!M$274:M$303)*1000
B3B3=LOOKUP(A3,$AB$2:$AB$48,$AC$2:$AC$48)
C3C3=LOOKUP(A3,$AB$2:$AB$48,$AD$2:$AD$48)
B10B10=$X$2
D10:I10D10=(SUMIF(HEM!$B$274:$B$303,"1",HEM!M$274:M$303))*1000
B11B11=$X$3
D11:I11D11=(SUMIF(HEM!$B$274:$B$303,"2",HEM!M$274:M$303))*1000
B12B12=$X$15
D12:I12D12=(SUMIF(HEM!$B$274:$B$303,"3",HEM!M$274:M$303))*1000
B13B13=$X$27
D13:I13D13=(SUMIF(HEM!$B$274:$B$303,"4",HEM!M$274:M$303))*1000
B14B14=$X$39
D14:I14D14=(SUMIF(HEM!$B$274:$B$303,"5",HEM!M$274:M$303))*1000
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Try something like: =indirect(A3&"!M$4",true) rather than =HEM!M$4 for example.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,834
Messages
6,121,871
Members
449,054
Latest member
juliecooper255

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