#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default SUMIF

I am appliing 2 Codition to add data from excel worksheet howvere it dose
work and the result is Zero. Plaese help me throgh email.

{=SUM(IF((Status="APPROVED")*(Br_Code="219"),Amoun t,"-"))}
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default SUMIF

Please read/reply here in the newsgroup thread. Your array seems ok. Try
these amendments (a) replace "Amount" with "Amount+0". The "+0" bit will
coerce possibly text nums in "Amount" to real nums for correct summing. If
the above still doesn't cut it right, check the underlying data for this
matching condition: Br_Code="219". Is the 219 a text num? If its a real
number, remove the double quotes. Any joy? hit the YES below
--
Max
Singapore
---
"Fazli Wahid" wrote:
I am applying 2 Condition to add data from excel worksheet however it does
work and the result is Zero. Plaese help me throgh email.

{=SUM(IF((Status="APPROVED")*(Br_Code="219"),Amoun t,"-"))}

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default SUMIF

Hi,

You may also try this

=sumproduct((Status="APPROVED")*(Br_Code=219)*(Amo unt))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Fazli Wahid" <Fazli wrote in message
...
I am appliing 2 Codition to add data from excel worksheet howvere it dose
work and the result is Zero. Plaese help me throgh email.

{=SUM(IF((Status="APPROVED")*(Br_Code="219"),Amoun t,"-"))}


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 Graham Excel Worksheet Functions 3 March 31st 09 03:25 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 11:20 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"