SUMIF, use List as a Range

E

Emece

I have a list defined in a cell, using Data Validation.

In another cell I want to use the SUMIF function, and as a range use the
list selected in the cell that has the validation.

Example:
In cell A2 I have used Data Validation, specifying Range Names, I have Range
1, Range 2 and Range 3.
In other cell I use the SUMIF function this way: =SUMIF(A2;"X";$C$3:$C$13)
But the function doesn't recognize the value in A2 as a range name, how
should I specify this.

Hope I am clear enough.

Thanks in advance.

Regards,
Emece.-
 
D

Dave Peterson

Maybe...

=SUMIF(indirect(A2);"X";$C$3:$C$13)


I have a list defined in a cell, using Data Validation.

In another cell I want to use the SUMIF function, and as a range use the
list selected in the cell that has the validation.

Example:
In cell A2 I have used Data Validation, specifying Range Names, I have Range
1, Range 2 and Range 3.
In other cell I use the SUMIF function this way: =SUMIF(A2;"X";$C$3:$C$13)
But the function doesn't recognize the value in A2 as a range name, how
should I specify this.

Hope I am clear enough.

Thanks in advance.

Regards,
Emece.-
 

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

Top