Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old January 11th 05, 10:20 PM
Oscar
 
Posts: n/a
Default SUMIF - Range name to used for the "sum_range" portion of a SUMIF function

I am trying to use a SUMIF funtion in which the "sum_range" is defined
as a named range of cells. If I include the range name in the formula
everything is fine. However, I want to have the range name in a cell
then refernece the "sum_range" portion of the SUMIF formula to the cell
that contains the range anem. Does not appear to work.
Any advice would be appreciated.


  #2   Report Post  
Old January 11th 05, 10:28 PM
Tim C
 
Posts: n/a
Default

With the range name in A1:

=SUMIF(INDIRECT(A1),"X")

Tim C

"Oscar" wrote in message
oups.com...
I am trying to use a SUMIF funtion in which the "sum_range" is defined
as a named range of cells. If I include the range name in the formula
everything is fine. However, I want to have the range name in a cell
then refernece the "sum_range" portion of the SUMIF formula to the cell
that contains the range anem. Does not appear to work.
Any advice would be appreciated.



  #3   Report Post  
Old January 11th 05, 11:01 PM
Bob Phillips
 
Posts: n/a
Default

Oscar,

Here is an example

=SUMIF(INDIRECT(C1),"ABC",INDIRECT(D1))

where C1 might hold A1:A10 or a range name, as would D1.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Oscar" wrote in message
oups.com...
I am trying to use a SUMIF funtion in which the "sum_range" is defined
as a named range of cells. If I include the range name in the formula
everything is fine. However, I want to have the range name in a cell
then refernece the "sum_range" portion of the SUMIF formula to the cell
that contains the range anem. Does not appear to work.
Any advice would be appreciated.





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing a range name as an argument to the Index Function Michael Sharpe Excel Discussion (Misc queries) 3 September 5th 12 01:33 PM
help with "criterea" in the sumif function [email protected] Excel Worksheet Functions 3 December 17th 04 06:27 PM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
how do you do a sumif function on more than one worksheet? BMWPRO Excel Worksheet Functions 1 December 6th 04 08:26 PM
SUMIF across a range of worksheets [email protected] Excel Worksheet Functions 3 November 24th 04 02:36 PM


All times are GMT +1. The time now is 04:31 PM.

Powered by vBulletin® Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Copyright 2004-2022 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017