Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to =SUM(INDIRECT("B4,B6")) but it doesn't work. How to do that?

share|improve this question
    
What formula are you using the INDIRECT range with? Remember, that returns those two exact cells as a single range, not two separate ranges. – Breakthrough Jul 28 '11 at 17:10
    
In pt-BR I use =SOMA(INDIRETO("B4;B6")) – Jader Dias Jul 28 '11 at 17:10
    
@Breakthrough edited to provide your answer. – Jader Dias Jul 28 '11 at 17:12
2  
the SUM function only takes continuous cell ranges as its arguments. – Breakthrough Jul 28 '11 at 17:17
1  
@Mehper C. Palavuzlar each argument has to be a continuous range. What you posted in your answer further proves my point, since you did not specify a non-continuous range for any argument, but rather, they are all continuous. – Breakthrough Jul 28 '11 at 17:30
up vote 3 down vote accepted

It works this way:

=SUM(INDIRECT("B4"),INDIRECT("B6"))
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .