Averaging a range of numbers using the indirect function

j_brubaker

New Member
Joined
Aug 9, 2018
Messages
14
I currently have the equation: =average('Enter Data Here'!C3:C33) in the second sheet. How can I apply the "indirect" function to this equation in a format that will allow me to drag the equation down the page?

Thanks
-Josh
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
You can drag the formula you posted down. The next cell down would be:
Rich (BB code):
=AVERAGE('Enter Data Here'!C4:C34)

If that's not what you want, can you explain and/or illustrate the result you want when the formula is copied down?
 
Upvote 0
I need the range to be dynamic by using the INDIRECT function. I have the equation:

=
average(INDIRECT("'Enter Data Here'!c"&row('Enter Data Here'!c3)&":'Enter Data Here'!c"&row('Enter Data Here'!c33)))

which has to be close. It keeps popping up with an error though.

 
Upvote 0
I got this equation to work using the same sheet:

=average(INDIRECT("a"&row(B3)&":a"&row(B33)))

however, I need to pull the same references from 'Enter Data Here' sheet.

Any idea how to make that work with this equation??
 
Upvote 0
Just FYI, through trial and error, I got the equation:

=average(INDIRECT("'Enter Data Here'!c"&row(A3)&":c"&row(A32))

which accomplished what I was looking for!
 
Upvote 0
Why not just the following?

=AVERAGE('Enter Data here'!C:C)

Also:

=AVERAGE(INDEX('Enter Data here'!C:C,ROW(A3)):INDEX('Enter Data here'!C:C,ROW(A32)))<strike></strike>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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