Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ingeniero1
 
Posts: n/a
Default External reference as a condition


I searched this forum and found how to use =SUMPRODUCT instead of
COUNTIF to include more than one condition - great!

Now, instead of entering the condition directly into the function, such
as "Green", I would like to 'point' to a cell that contains the word
"Green". Example, instead of [=SUMPRODUCT((B31:B431="Green"..., write
[=SUMPRODUCT((B31:B431="$X$24"... where X24 contains "Green"

Also, instead of entering a number, such as 15, point to a cell that
contains the number 15. Example, instead of
[=SUMPRODUCT((B31:B43115..., write [=SUMPRODUCT((B31:B431$Y$25...
where Y25 contains 15.

Is this possible? How?

Thanks for your time!

Alex


--
Ingeniero1
------------------------------------------------------------------------
Ingeniero1's Profile: http://www.excelforum.com/member.php...fo&userid=4029
View this thread: http://www.excelforum.com/showthread...hreadid=277829

  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi

in formulas when you use "" it means anything contained between them is a
literal text string ... so by using "$X$24" you're looking for the words
$X$24
so all you need to do is remove the ""

the one will work as you're written it below
=SUMPRODUCT((B31:B431$Y$25) ....

Cheers
JulieD



"Ingeniero1" wrote in message
...

I searched this forum and found how to use =SUMPRODUCT instead of
COUNTIF to include more than one condition - great!

Now, instead of entering the condition directly into the function, such
as "Green", I would like to 'point' to a cell that contains the word
"Green". Example, instead of [=SUMPRODUCT((B31:B431="Green"..., write
[=SUMPRODUCT((B31:B431="$X$24"... where X24 contains "Green"

Also, instead of entering a number, such as 15, point to a cell that
contains the number 15. Example, instead of
[=SUMPRODUCT((B31:B43115..., write [=SUMPRODUCT((B31:B431$Y$25...
where Y25 contains 15.

Is this possible? How?

Thanks for your time!

Alex


--
Ingeniero1
------------------------------------------------------------------------
Ingeniero1's Profile:
http://www.excelforum.com/member.php...fo&userid=4029
View this thread: http://www.excelforum.com/showthread...hreadid=277829



  #3   Report Post  
RagDyer
 
Posts: n/a
Default

You just did it, *except*, take the quotes away from the "$X$24" !
--


Regards,

RD
--------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit!
-------------------------------------------------------------------

"Ingeniero1" wrote in message
...

I searched this forum and found how to use =SUMPRODUCT instead of
COUNTIF to include more than one condition - great!

Now, instead of entering the condition directly into the function, such
as "Green", I would like to 'point' to a cell that contains the word
"Green". Example, instead of [=SUMPRODUCT((B31:B431="Green"..., write
[=SUMPRODUCT((B31:B431="$X$24"... where X24 contains "Green"

Also, instead of entering a number, such as 15, point to a cell that
contains the number 15. Example, instead of
[=SUMPRODUCT((B31:B43115..., write [=SUMPRODUCT((B31:B431$Y$25...
where Y25 contains 15.

Is this possible? How?

Thanks for your time!

Alex


--
Ingeniero1
------------------------------------------------------------------------
Ingeniero1's Profile:
http://www.excelforum.com/member.php...fo&userid=4029
View this thread: http://www.excelforum.com/showthread...hreadid=277829

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
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
External data Macro Problem Excel 97 Craig Kelly Excel Discussion (Misc queries) 1 January 17th 05 03:17 PM
How can I check if data in external data range is changed after re Ruud Excel Discussion (Misc queries) 0 January 7th 05 12:07 PM
Save External Link Values Stephane Excel Discussion (Misc queries) 0 January 3rd 05 11:01 AM
How do I reference multiple rows Awetronics Excel Worksheet Functions 1 November 4th 04 12:37 AM


All times are GMT +1. The time now is 08:45 AM.

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

About Us

"It's about Microsoft Excel"