A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

SUMIF, use List as a Range



 
 
Thread Tools Display Modes
  #1  
Old April 20th, 2010, 10:40 PM posted to microsoft.public.excel.misc
Emece
external usenet poster
 
Posts: 106
Default SUMIF, use List as a Range

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.-



  #2  
Old April 20th, 2010, 11:25 PM posted to microsoft.public.excel.misc
Dave Peterson
external usenet poster
 
Posts: 19,791
Default SUMIF, use List as a Range

Maybe...

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



Emece wrote:

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.-


--

Dave Peterson
  #3  
Old April 21st, 2010, 12:56 AM posted to microsoft.public.excel.misc
Emece
external usenet poster
 
Posts: 106
Default SUMIF, use List as a Range

Perfect :-) Thanks a lot

"Dave Peterson" wrote:

Maybe...

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



Emece wrote:

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.-


--

Dave Peterson
.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:53 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.