#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
FF FF is offline
external usenet poster
 
Posts: 5
Default dsum or sumif?

I would like to sum the if the column have 390, 710, 720 & G, should be dsum
or sumif? Also, i have been used sumif, it's seem too long, pls. advise any
quickly methods? Pls. see the following details:

Class No. of Request
1 5
155 2
391 1
200 4
715 2
720 3
AS 1
D 1
DE 2


The total for the Class (390, 71, 720 & D*) should be 4. Thanks!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default dsum or sumif?

Array function ( use Ctrl + Shift + Enter )

=SUM(IF(A2:A10={390,710,720,"g"},B2:B10))


On Jan 29, 11:46*am, ff wrote:
I would like to sum the if the column have 390, 710, 720 & G, should be dsum
or sumif? *Also, i have been used sumif, it's seem too long, pls. advise any
quickly methods? *Pls. see the following details:

Class * No. of Request
1 * * * 5
155 * * 2
391 * * 1
200 * * 4
715 * * 2
720 * * 3
AS * * *1
D * * * 1
DE * * *2

The total for the Class (390, 71, 720 & D*) should be 4. *Thanks!!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default dsum or sumif?

You can use SUMPRODUCT

=SUMPRODUCT((A2:A10={390,710,720,"G"})*(B2:B10))


--
__________________________________
HTH

Bob

"ff" wrote in message
...
I would like to sum the if the column have 390, 710, 720 & G, should be
dsum
or sumif? Also, i have been used sumif, it's seem too long, pls. advise
any
quickly methods? Pls. see the following details:

Class No. of Request
1 5
155 2
391 1
200 4
715 2
720 3
AS 1
D 1
DE 2


The total for the Class (390, 71, 720 & D*) should be 4. 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
Dsum or SumIf [email protected] Excel Worksheet Functions 4 November 18th 06 12:28 AM
Dsum or Sumif Help!!! Hervinder Excel Worksheet Functions 3 August 17th 06 04:17 PM
I've tried DSUM, SUMIF.... Jeff Excel Discussion (Misc queries) 2 September 26th 05 09:53 AM
DSUM vs SUMIF Martin Excel Worksheet Functions 7 March 2nd 05 02:55 PM
formulas SUMIF & DSUM cvgairport Excel Discussion (Misc queries) 1 January 3rd 05 05:53 PM


All times are GMT +1. The time now is 05:13 PM.

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"