Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Curtis
 
Posts: n/a
Default Conditional SUMIF

I am currently using the formulae to clcualte the sum for $A5

=SUMIF(JAN_05'!$C$2:$C$65536,$A5,JAN_05'!J$2:$J$65 536)

I would to modify this so it leaves out all numbers less than 0

Thanks
  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Curtis,

=SUMPRODUCT((JAN_05'!$C$2:$C$65536=$A5)*(JAN_05'!J $2:$J$655360))

HTH,
Bernie
MS Excel MVP


"Curtis" wrote in message
...
I am currently using the formulae to clcualte the sum for $A5

=SUMIF(JAN_05'!$C$2:$C$65536,$A5,JAN_05'!J$2:$J$65 536)

I would to modify this so it leaves out all numbers less than 0

Thanks



  #3   Report Post  
Bernard Liengme
 
Posts: n/a
Default

Use SUMPRODUCT
=SUMPRODUCT(--(JAN_05'!$C$2:$C$65536=$A5),--(JAN_05'!$C$2:$C$65536,0),JAN_05'!J$2:$J$65536)

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Curtis" wrote in message
...
I am currently using the formulae to clcualte the sum for $A5

=SUMIF(JAN_05'!$C$2:$C$65536,$A5,JAN_05'!J$2:$J$65 536)

I would to modify this so it leaves out all numbers less than 0

Thanks



  #4   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Oops, forgot to actually sum:

=SUMPRODUCT((JAN_05'!$C$2:$C$65536=$A5)*(JAN_05'!J $2:$J$655360)*JAN_05'!J$2:$J$65536)


HTH,
Bernie
MS Excel MVP


"Bernie Deitrick" <deitbe @ consumer dot org wrote in message
...
Curtis,

=SUMPRODUCT((JAN_05'!$C$2:$C$65536=$A5)*(JAN_05'!J $2:$J$655360))

HTH,
Bernie
MS Excel MVP


"Curtis" wrote in message
...
I am currently using the formulae to clcualte the sum for $A5

=SUMIF(JAN_05'!$C$2:$C$65536,$A5,JAN_05'!J$2:$J$65 536)

I would to modify this so it leaves out all numbers less than 0

Thanks





  #5   Report Post  
Curtis
 
Posts: n/a
Default

It gives me " The formula you typed contains an error" message. FYI the sum
of number greater than zero is in column J not c...Sorry but that should not
be the difference.

Thanks

ce


"Bernard Liengme" wrote:

Use SUMPRODUCT
=SUMPRODUCT(--(JAN_05'!$C$2:$C$65536=$A5),--(JAN_05'!$C$2:$C$65536,0),JAN_05'!J$2:$J$65536)

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Curtis" wrote in message
...
I am currently using the formulae to clcualte the sum for $A5

=SUMIF(JAN_05'!$C$2:$C$65536,$A5,JAN_05'!J$2:$J$65 536)

I would to modify this so it leaves out all numbers less than 0

Thanks






  #6   Report Post  
Curtis
 
Posts: n/a
Default

Thnaks

But this leaves the sums blank for all values in column c that contain a 0

"Bernie Deitrick" wrote:

Oops, forgot to actually sum:

=SUMPRODUCT((JAN_05'!$C$2:$C$65536=$A5)*(JAN_05'!J $2:$J$655360)*JAN_05'!J$2:$J$65536)


HTH,
Bernie
MS Excel MVP


"Bernie Deitrick" <deitbe @ consumer dot org wrote in message
...
Curtis,

=SUMPRODUCT((JAN_05'!$C$2:$C$65536=$A5)*(JAN_05'!J $2:$J$655360))

HTH,
Bernie
MS Excel MVP


"Curtis" wrote in message
...
I am currently using the formulae to clcualte the sum for $A5

=SUMIF(JAN_05'!$C$2:$C$65536,$A5,JAN_05'!J$2:$J$65 536)

I would to modify this so it leaves out all numbers less than 0

Thanks






  #7   Report Post  
Curtis
 
Posts: n/a
Default

Got it to work....Thanks

needed to fchange formatting in column $A

"Bernie Deitrick" wrote:

Oops, forgot to actually sum:

=SUMPRODUCT((JAN_05'!$C$2:$C$65536=$A5)*(JAN_05'!J $2:$J$655360)*JAN_05'!J$2:$J$65536)


HTH,
Bernie
MS Excel MVP


"Bernie Deitrick" <deitbe @ consumer dot org wrote in message
...
Curtis,

=SUMPRODUCT((JAN_05'!$C$2:$C$65536=$A5)*(JAN_05'!J $2:$J$655360))

HTH,
Bernie
MS Excel MVP


"Curtis" wrote in message
...
I am currently using the formulae to clcualte the sum for $A5

=SUMIF(JAN_05'!$C$2:$C$65536,$A5,JAN_05'!J$2:$J$65 536)

I would to modify this so it leaves out all numbers less than 0

Thanks






  #8   Report Post  
Myrna Larson
 
Posts: n/a
Default

Try inserting an apostrophe before each occurrence of JAN_05, so, e.g. the
first one becomes 'JAN_05'!$C$2:$C$65536

On Mon, 26 Sep 2005 12:31:01 -0700, Curtis
wrote:

It gives me " The formula you typed contains an error" message. FYI the sum
of number greater than zero is in column J not c...Sorry but that should not
be the difference.

Thanks

ce


"Bernard Liengme" wrote:

Use SUMPRODUCT

=SUMPRODUCT(--(JAN_05'!$C$2:$C$65536=$A5),--(JAN_05'!$C$2:$C$65536,0),JAN_05'!J$2:$J$65536)

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Curtis" wrote in message
...
I am currently using the formulae to clcualte the sum for $A5

=SUMIF(JAN_05'!$C$2:$C$65536,$A5,JAN_05'!J$2:$J$65 536)

I would to modify this so it leaves out all numbers less than 0

Thanks




  #9   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Remove comma before the 0 bit...

Curtis wrote:
It gives me " The formula you typed contains an error" message. FYI the sum
of number greater than zero is in column J not c...Sorry but that should not
be the difference.

Thanks

ce


"Bernard Liengme" wrote:


Use SUMPRODUCT
=SUMPRODUCT(--(JAN_05'!$C$2:$C$65536=$A5),--(JAN_05'!$C$2:$C$65536,0),JAN_05'!J$2:$J$65536)

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Curtis" wrote in message
...

I am currently using the formulae to clcualte the sum for $A5

=SUMIF(JAN_05'!$C$2:$C$65536,$A5,JAN_05'!J$2:$J $65536)

I would to modify this so it leaves out all numbers less than 0

Thanks




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
Conditional Summing (Sumif? Countif?) klam Excel Worksheet Functions 2 August 8th 05 07:39 PM
copy the conditional sum (SUMIF) formula Megs Excel Worksheet Functions 2 August 8th 05 05:13 PM
adding summed cells in a conditional sumif Tat Excel Worksheet Functions 5 June 12th 05 06:09 PM
HOW DO I COPY A CONDITIONAL SUM (sumif) AND EDIT IT? (THE SUM NEV. ailsa.fraser Excel Worksheet Functions 5 April 22nd 05 03:10 PM
Conditional Format With SUMIF Minitman Excel Worksheet Functions 3 November 1st 04 02:58 PM


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