Error when using Indirect

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using the following function in one spreadsheet but when I copy it to a
different spreadsheet I get the #value! error.

=SUM(INDIRECT("$F$11:$F$"&(11+D3)-1))

Can anyone help? I want to only sum a certain number of rows based on what
month it is. I have the month in cell D3 and my data starts in F11. If it
is the 3rd month of the year I want it to sum F11:F13.
 
hi

=sum(f11:indirect("F"&11+d3-1))

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"dragea" escreveu:
 
Maybe this:

=SUM(F11:INDEX(F11:F22,D3))

If D3 is empty the entire range will be calculated.

Biff
 
Thank you so much. This worked great!

Biff said:
Maybe this:

=SUM(F11:INDEX(F11:F22,D3))

If D3 is empty the entire range will be calculated.

Biff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top