Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ozcank
 
Posts: n/a
Default sumif function with a difference


Hi All

Ok, what I'm trying to do is a variation of the sumif function. I have
a list of stores, which are categorised and have an associated value
with them. I am trying to sum these values by category but i want to
ignore vlaue below a certain threshold. Ie

Store Value Category
1 5 A
2 7 C
3 2 A
4 6 D
5 9 A
6 1 D
7 4 D

I want to be able to write a sumif function to give me total of values
by each category but ignore any values less than 2f for example.
In effect, I'm trying to add an 'AND' condition to
'SUMIF(B4:B19,E4,A4:A19)'.

Does ths make sense? Does anyone have any ideas?

Many many thanks in advance

Oz


--
ozcank


------------------------------------------------------------------------
ozcank's Profile: http://www.excelforum.com/member.php...fo&userid=5328
View this thread: http://www.excelforum.com/showthread...hreadid=389320

  #2   Report Post  
KL
 
Posts: n/a
Default

Hi ozcank,

Try this:

=SUMPRODUCT((C4:C19="A")*(B4:B19=2)*B4:B19)

Regards,
KL


"ozcank" wrote in
message ...

Hi All

Ok, what I'm trying to do is a variation of the sumif function. I have
a list of stores, which are categorised and have an associated value
with them. I am trying to sum these values by category but i want to
ignore vlaue below a certain threshold. Ie

Store Value Category
1 5 A
2 7 C
3 2 A
4 6 D
5 9 A
6 1 D
7 4 D

I want to be able to write a sumif function to give me total of values
by each category but ignore any values less than 2f for example.
In effect, I'm trying to add an 'AND' condition to
'SUMIF(B4:B19,E4,A4:A19)'.

Does ths make sense? Does anyone have any ideas?

Many many thanks in advance

Oz


--
ozcank


------------------------------------------------------------------------
ozcank's Profile:
http://www.excelforum.com/member.php...fo&userid=5328
View this thread: http://www.excelforum.com/showthread...hreadid=389320



  #3   Report Post  
aristotle
 
Posts: n/a
Default

Not sure I understand the 2f bit?

"ozcank" wrote:


Hi All

Ok, what I'm trying to do is a variation of the sumif function. I have
a list of stores, which are categorised and have an associated value
with them. I am trying to sum these values by category but i want to
ignore vlaue below a certain threshold. Ie

Store Value Category
1 5 A
2 7 C
3 2 A
4 6 D
5 9 A
6 1 D
7 4 D

I want to be able to write a sumif function to give me total of values
by each category but ignore any values less than 2f for example.
In effect, I'm trying to add an 'AND' condition to
'SUMIF(B4:B19,E4,A4:A19)'.

Does ths make sense? Does anyone have any ideas?

Many many thanks in advance

Oz


--
ozcank


------------------------------------------------------------------------
ozcank's Profile: http://www.excelforum.com/member.php...fo&userid=5328
View this thread: http://www.excelforum.com/showthread...hreadid=389320


  #4   Report Post  
Gordon
 
Posts: n/a
Default

"aristotle" wrote in message
...
Not sure I understand the 2f bit?


I think that was a typo!


  #5   Report Post  
ozcank
 
Posts: n/a
Default


sorry typoe error, the 2f should just be 2. i'm trying add any values
greater than 2 for the ocrresponding rows.


--
ozcank


------------------------------------------------------------------------
ozcank's Profile: http://www.excelforum.com/member.php...fo&userid=5328
View this thread: http://www.excelforum.com/showthread...hreadid=389320



  #6   Report Post  
ozcank
 
Posts: n/a
Default


thanks KL, your suggestion worked a treat.

cheers

Oz


--
ozcank


------------------------------------------------------------------------
ozcank's Profile: http://www.excelforum.com/member.php...fo&userid=5328
View this thread: http://www.excelforum.com/showthread...hreadid=389320

  #7   Report Post  
KL
 
Posts: n/a
Default

No prob, thank for the feedback.

KL


"ozcank" wrote in
message ...

thanks KL, your suggestion worked a treat.

cheers

Oz


--
ozcank


------------------------------------------------------------------------
ozcank's Profile:
http://www.excelforum.com/member.php...fo&userid=5328
View this thread: http://www.excelforum.com/showthread...hreadid=389320



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
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
Can SUMIF function include AND function ShaneS Excel Worksheet Functions 1 May 17th 05 03:24 AM
Dynamic sumif function Jimbola Excel Worksheet Functions 5 May 4th 05 01:10 AM
SUMIF function yak10 Excel Worksheet Functions 0 February 12th 05 05:12 PM
help with "criterea" in the sumif function [email protected] Excel Worksheet Functions 3 December 17th 04 06:27 PM


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