Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 129
Default Find Sum with Citeria

Dear All,

Kindly assist me with a table that i needed to count a sum with citeria

example:

John's: Day1 Day2 Total
Apples 50 100 150
Oranges 80 150 230
Papaya 100 50 150

Mark's
Oranges 150 50 200
Apples 100 50 150
Papaya 80 80 160

So on.........................

total Apples: 300
total Oranges: 430
total Papaya: 310

As there are hundreds of Names, i wonder whether there are a functions that
that "apples" as ref and count the total sum of it.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Find Sum with Citeria

one way:

=SUM(IF(A1:A100="Apples",D1:D100,0))

CTRL+SHIFT+ENTER this formula as this is an array-formula


On 14 Sty, 10:26, Will wrote:
Dear All,

Kindly assist me with a table that i needed to count a sum with citeria

example:

John's: * * * * * * * * * * * * *Day1 * * * * * * Day2 * * * * Total
* * * * * * * Apples * * * * * * * 50 * * * * * * *100 * * * * * *150
* * * * * * * Oranges * * * * * *80 * * * * * * * 150 * * * * * *230
* * * * * * * Papaya * * * * * * *100 * * * * * * 50 * * * * * * 150

Mark's * * * * * * * * *
* * * * * * * Oranges * * * * * *150 * * * * * * 50 * * * * * * 200
* * * * * * * Apples * * * * * * *100 * * * * * * *50 * * * * * * 150
* * * * * * * Papaya * * * * * * *80 * * * * * * * 80 * * * * * * 160

So on.........................

total Apples: * *300
total Oranges: *430
total Papaya: * *310

As there are hundreds of Names, i wonder whether there are a functions that
that "apples" as ref and count the total sum of it.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 117
Default Find Sum with Citeria

If the fruit list is in column B and the Total is in column E then something
like this would work

=SUMIF(B2:B500,"apples",E2:E500)


"Will" wrote:

Dear All,

Kindly assist me with a table that i needed to count a sum with citeria

example:

John's: Day1 Day2 Total
Apples 50 100 150
Oranges 80 150 230
Papaya 100 50 150

Mark's
Oranges 150 50 200
Apples 100 50 150
Papaya 80 80 160

So on.........................

total Apples: 300
total Oranges: 430
total Papaya: 310

As there are hundreds of Names, i wonder whether there are a functions that
that "apples" as ref and count the total sum of it.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Find Sum with Citeria

=SUMPRODUCT((B2:B200="Apples")*(C2:E200))

--
__________________________________
HTH

Bob

"Will" wrote in message
...
Dear All,

Kindly assist me with a table that i needed to count a sum with citeria

example:

John's: Day1 Day2 Total
Apples 50 100 150
Oranges 80 150 230
Papaya 100 50 150

Mark's
Oranges 150 50 200
Apples 100 50 150
Papaya 80 80 160

So on.........................

total Apples: 300
total Oranges: 430
total Papaya: 310

As there are hundreds of Names, i wonder whether there are a functions
that
that "apples" as ref and count the total sum of it.



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
Find First Non blank cell than find column header and return that value Silver Rose Excel Worksheet Functions 10 April 30th 07 05:56 PM
Count Cells Using Multiple Citeria kjguillermo Excel Discussion (Misc queries) 3 December 8th 06 11:44 PM
where to put results of find operation in find and replace functio DEP Excel Worksheet Functions 5 November 15th 06 07:52 PM
Despite data existing in Excel 2002 spreadsheet Find doesn't find AnnieB Excel Discussion (Misc queries) 1 June 16th 06 02:15 AM
'find' somtimes can't find numbers. I folowd the 'help' instructi. Yaron Excel Worksheet Functions 2 November 30th 05 05:46 PM


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