Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
SamGB
 
Posts: n/a
Default SUMPRODUCT Help please


Im using this formula: =SUMPRODUCT(--(C6:C403="??"),--(D6:D403="??"))
which works well, however where the "??" are placed i would like to
enter a cell location i.e "A6" which will use whatever text is in the
cell to perform the sum. Is this possible? it would save alot of time
rather than changing criteria in the formula everytime

Help is much appreciated


--
SamGB
------------------------------------------------------------------------
SamGB's Profile: http://www.excelforum.com/member.php...o&userid=31263
View this thread: http://www.excelforum.com/showthread...hreadid=516363

  #2   Report Post  
Posted to microsoft.public.excel.misc
SteveG
 
Posts: n/a
Default SUMPRODUCT Help please


You can reference cells in SUMPRODUCT. For instance:

=SUMPRODUCT(--(C6:C403=A6),--(D6:D403=A6))

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=516363

  #3   Report Post  
Posted to microsoft.public.excel.misc
SamGB
 
Posts: n/a
Default SUMPRODUCT Help please


HAHA as simple as that, cheers matey


--
SamGB
------------------------------------------------------------------------
SamGB's Profile: http://www.excelforum.com/member.php...o&userid=31263
View this thread: http://www.excelforum.com/showthread...hreadid=516363

  #4   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default SUMPRODUCT Help please

Try

=SUMPRODUCT(--(C6:C403=A6),--(D6:D403=A6))


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"SamGB" wrote
in message
...

Im using this formula:
=SUMPRODUCT(--(C6:C403="??"),--(D6:D403="??"))
which works well, however where the "??" are placed i would
like to
enter a cell location i.e "A6" which will use whatever text is
in the
cell to perform the sum. Is this possible? it would save alot
of time
rather than changing criteria in the formula everytime

Help is much appreciated


--
SamGB
------------------------------------------------------------------------
SamGB's Profile:
http://www.excelforum.com/member.php...o&userid=31263
View this thread:
http://www.excelforum.com/showthread...hreadid=516363



  #5   Report Post  
Posted to microsoft.public.excel.misc
Trevor Shuttleworth
 
Posts: n/a
Default SUMPRODUCT Help please

=SUMPRODUCT(--(C6:C403=A6),--(D6:D403=B6))

Regards

Trevor


"SamGB" wrote in message
...

Im using this formula: =SUMPRODUCT(--(C6:C403="??"),--(D6:D403="??"))
which works well, however where the "??" are placed i would like to
enter a cell location i.e "A6" which will use whatever text is in the
cell to perform the sum. Is this possible? it would save alot of time
rather than changing criteria in the formula everytime

Help is much appreciated


--
SamGB
------------------------------------------------------------------------
SamGB's Profile:
http://www.excelforum.com/member.php...o&userid=31263
View this thread: http://www.excelforum.com/showthread...hreadid=516363





  #6   Report Post  
Posted to microsoft.public.excel.misc
Sloth
 
Posts: n/a
Default SUMPRODUCT Help please

=SUMPRODUCT(--(C6:C403=A6),--(D6:D403=A6))

"SamGB" wrote:


Im using this formula: =SUMPRODUCT(--(C6:C403="??"),--(D6:D403="??"))
which works well, however where the "??" are placed i would like to
enter a cell location i.e "A6" which will use whatever text is in the
cell to perform the sum. Is this possible? it would save alot of time
rather than changing criteria in the formula everytime

Help is much appreciated


--
SamGB
------------------------------------------------------------------------
SamGB's Profile: http://www.excelforum.com/member.php...o&userid=31263
View this thread: http://www.excelforum.com/showthread...hreadid=516363


  #7   Report Post  
Posted to microsoft.public.excel.misc
SamGB
 
Posts: n/a
Default SUMPRODUCT Help please


Cheers guys,
could you help me with this problem aswell,
im using this formula:
SUMPRODUCT(--(Sheet Name!$C:$C="value"),--('Sheet Name!$D:$D="value"))

but its coming out as product: #NUM!

Cheers


--
SamGB
------------------------------------------------------------------------
SamGB's Profile: http://www.excelforum.com/member.php...o&userid=31263
View this thread: http://www.excelforum.com/showthread...hreadid=516363

  #8   Report Post  
Posted to microsoft.public.excel.misc
Trevor Shuttleworth
 
Posts: n/a
Default SUMPRODUCT Help please

SUMPRODUCT does not work on columns.

SUMPRODUCT(--(Sheet Name!$C1:$C65536="value"),--('Sheet
Name!$D1:$D65536="value"))

Regards

Trevor


"SamGB" wrote in
message ...

Cheers guys,
could you help me with this problem aswell,
im using this formula:
SUMPRODUCT(--(Sheet Name!$C:$C="value"),--('Sheet Name!$D:$D="value"))

but its coming out as product: #NUM!

Cheers


--
SamGB
------------------------------------------------------------------------
SamGB's Profile:
http://www.excelforum.com/member.php...o&userid=31263
View this thread: http://www.excelforum.com/showthread...hreadid=516363



  #9   Report Post  
Posted to microsoft.public.excel.misc
SamGB
 
Posts: n/a
Default SUMPRODUCT Help please


Isnt $C1:$C65536 and $D1:$D65536 a column anyway?

What i want to do is copy the formula into alot of decending cells, but
every time i copy down a cell the value increases by one which is what i
WANT. However the range also increase by one which i DONT want. Any
ideas??


--
SamGB
------------------------------------------------------------------------
SamGB's Profile: http://www.excelforum.com/member.php...o&userid=31263
View this thread: http://www.excelforum.com/showthread...hreadid=516363

  #10   Report Post  
Posted to microsoft.public.excel.misc
Sloth
 
Posts: n/a
Default SUMPRODUCT Help please

I tried a SUMPRODUCT using C1:C65536 and it converted to C:C and gave me an
error. I then tried C1:C65535 and it worked. Why can you do the whole row,
but I can't?

"Trevor Shuttleworth" wrote:

SUMPRODUCT does not work on columns.

SUMPRODUCT(--(Sheet Name!$C1:$C65536="value"),--('Sheet
Name!$D1:$D65536="value"))

Regards

Trevor


"SamGB" wrote in
message ...

Cheers guys,
could you help me with this problem aswell,
im using this formula:
SUMPRODUCT(--(Sheet Name!$C:$C="value"),--('Sheet Name!$D:$D="value"))

but its coming out as product: #NUM!

Cheers


--
SamGB
------------------------------------------------------------------------
SamGB's Profile:
http://www.excelforum.com/member.php...o&userid=31263
View this thread: http://www.excelforum.com/showthread...hreadid=516363






  #11   Report Post  
Posted to microsoft.public.excel.misc
Trevor Shuttleworth
 
Posts: n/a
Default SUMPRODUCT Help please

That's because I can't either :-(

I didn't check that C1 to C65536 converted to C:C. What you did is right
.... you can't use SUMPRODUCT on a full column.

Regards


"Sloth" wrote in message
...
I tried a SUMPRODUCT using C1:C65536 and it converted to C:C and gave me an
error. I then tried C1:C65535 and it worked. Why can you do the whole
row,
but I can't?

"Trevor Shuttleworth" wrote:

SUMPRODUCT does not work on columns.

SUMPRODUCT(--(Sheet Name!$C1:$C65536="value"),--('Sheet
Name!$D1:$D65536="value"))

Regards

Trevor


"SamGB" wrote in
message ...

Cheers guys,
could you help me with this problem aswell,
im using this formula:
SUMPRODUCT(--(Sheet Name!$C:$C="value"),--('Sheet Name!$D:$D="value"))

but its coming out as product: #NUM!

Cheers


--
SamGB
------------------------------------------------------------------------
SamGB's Profile:
http://www.excelforum.com/member.php...o&userid=31263
View this thread:
http://www.excelforum.com/showthread...hreadid=516363






  #12   Report Post  
Posted to microsoft.public.excel.misc
Trevor Shuttleworth
 
Posts: n/a
Default SUMPRODUCT Help please

Yes, it is ... use $C1:$C65535 as Sloth suggested

Make the range absolute so that it doesn't increment

$C$1:$C$65535 and $D$1:$CD65535

Regards

Trevor


"SamGB" wrote in
message ...

Isnt $C1:$C65536 and $D1:$D65536 a column anyway?

What i want to do is copy the formula into alot of decending cells, but
every time i copy down a cell the value increases by one which is what i
WANT. However the range also increase by one which i DONT want. Any
ideas??


--
SamGB
------------------------------------------------------------------------
SamGB's Profile:
http://www.excelforum.com/member.php...o&userid=31263
View this thread: http://www.excelforum.com/showthread...hreadid=516363



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
Sumproduct Peter B Excel Worksheet Functions 1 March 7th 05 01:59 PM
sumproduct causing memory errors? dave Excel Worksheet Functions 1 March 3rd 05 09:31 AM
Can I reference =, <, or > sign in SUMPRODUCT BobT Excel Discussion (Misc queries) 7 February 16th 05 01:58 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


All times are GMT +1. The time now is 01: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"