#1   Report Post  
Posted to microsoft.public.excel.misc
Raj Raj is offline
external usenet poster
 
Posts: 130
Default Regarding SUMIF

Hi

I have a issue using SUMIF statement my Data is distributed as below

Status Priority Ageing
Closed P1 2
resolved P1 1
Closed P2 3
Closed P2 4

The Data is distributed like this in more than 3000 cells. Now i want a data
like this

priority Total ageing
P1 3
P2 7

If the status is closed and resolved only we have count that for Total
Ageing if the status is other than both above we should not consider. Can
anyone help me to resolve this isuue.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default Regarding SUMIF

Hello Raj,

You can use SUMPRODUCT

Assuming your base data is in columns A, B and C then with your
priorities, P1, P2 etc. listed in E2 down use this formula in F2
copied down

=SUMPRODUCT((A$2:A$100="Closed")+(A$2:A$100="Resol ved"),--(B$2:B
$100=E2),C$2:C$100)

adjust ranges as necessary...
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default Regarding SUMIF

Assuming row 1 has the labels "Status", "Priority", "aging", and the status
data in in A2:A4000
And that P1 and P2 for results are in D1 and D2
=SUMPRODUCT((($A2:$A$4000="Closed")+($A$2:$A$4000= "Resolved"))*($B$2:$B$4000=D1)*($C$2:$C$4000))
Happy New Year
--
Bernard Liengme
Microsoft Excel MVP
people.stfx.ca/bliengme
email address: remove uppercase characters

"Raj" wrote in message
...
Hi

I have a issue using SUMIF statement my Data is distributed as below

Status Priority Ageing
Closed P1 2
resolved P1 1
Closed P2 3
Closed P2 4

The Data is distributed like this in more than 3000 cells. Now i want a
data
like this

priority Total ageing
P1 3
P2 7

If the status is closed and resolved only we have count that for Total
Ageing if the status is other than both above we should not consider. Can
anyone help me to resolve this isuue.


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
Sumif Mirko Excel Worksheet Functions 0 August 8th 07 09:18 PM
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


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