+ Reply to Thread
Results 1 to 3 of 3

how to calculate sum on certain condition

Hybrid View

vaibhavjain how to calculate sum on... 04-28-2011, 07:08 AM
nawas Re: how to calculate sum on... 04-28-2011, 07:45 AM
Cutter Re: how to calculate sum on... 04-28-2011, 07:45 AM
  1. #1
    Registered User
    Join Date
    04-28-2011
    Location
    Noida, India
    MS-Off Ver
    Excel 2003
    Posts
    1

    how to calculate sum on certain condition

    I am trying to work on a report in office and i am stuck.

    The requirement is as shown below.

    A B C D E F
    150 0 10 10 10 180
    0 180 10 10 10 210
    180 0 10 10 10 210
    0 190 10 10 10 220
    200 0 10 10 10 230


    Note : In A & B columns, if there is a value in one then the second will always be zero.
    Column F denotes the sum of A to E

    The requirement is:

    I want the total Sum of only those values which have zero in coulmn A. i.e. the result should come as (210+220)

    Please help me out with this.
    Last edited by vaibhavjain; 04-28-2011 at 08:42 AM.

  2. #2
    Forum Contributor
    Join Date
    05-04-2009
    Location
    ME
    MS-Off Ver
    Excel 2003,2007
    Posts
    157

    Re: how to calculate sum on certain condition

    Hi Vaibhavjan,

    Hope this will work for you.. in cell F1 apply this formula =IF(A1=0,SUM(A1:E1),0)

    Thanks

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: how to calculate sum on certain condition

    Use

    =SUMIF(A:A,0,F:F)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1