+ Reply to Thread
Results 1 to 6 of 6

SUMIF problem

Hybrid View

  1. #1
    Easydoesit
    Guest

    SUMIF problem

    I am getting a 0 as my result, consistently. I have three columns. If
    $A$n=$A$(n-1), I want to add the value in $C$(n-1) to $C$n. I incremented
    the SUMIF value by extending the formula from D1 all the way down.

    What might keep the function from working properly?



  2. #2
    Forum Contributor
    Join Date
    06-10-2004
    Location
    India
    Posts
    1,066
    post the formula you are using

    Mangesh

  3. #3
    Easydoesit
    Guest

    Re: SUMIF problem

    Sorry.

    =SUMIF(c2:c3,A3=A2,c2:c3)
    --Dave.

    "mangesh_yadav" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > post the formula you are using
    >
    > Mangesh
    >
    >
    > --
    > mangesh_yadav
    > ------------------------------------------------------------------------
    > mangesh_yadav's Profile:
    > http://www.excelforum.com/member.php...o&userid=10470
    > View this thread: http://www.excelforum.com/showthread...hreadid=379589
    >




  4. #4
    Barb R.
    Guest

    RE: SUMIF problem

    What exactly is your formula.

    "Easydoesit" wrote:

    > I am getting a 0 as my result, consistently. I have three columns. If
    > $A$n=$A$(n-1), I want to add the value in $C$(n-1) to $C$n. I incremented
    > the SUMIF value by extending the formula from D1 all the way down.
    >
    > What might keep the function from working properly?
    >
    >
    >


  5. #5
    bj
    Guest

    RE: SUMIF problem

    If I am reading you correctly,I dont think you want a sumif function
    put 0 or some other staring number in D1
    I think what you want in D2 is
    =D1+if(A2=A1,c2,0)
    and copy down

    another factor could be if either what looks like matches in Column A are
    not really matches
    for two cells which look identical A3 and A4?
    in a cell enter
    =A3=A4 if the answer is not true they are not identical

    additionally column C could be text rather than numeric
    if this is the case try

    =D1+if(A2=A1,value(trim(c2)),0)


    "Easydoesit" wrote:

    > I am getting a 0 as my result, consistently. I have three columns. If
    > $A$n=$A$(n-1), I want to add the value in $C$(n-1) to $C$n. I incremented
    > the SUMIF value by extending the formula from D1 all the way down.
    >
    > What might keep the function from working properly?
    >
    >
    >


  6. #6
    bj
    Guest

    RE: SUMIF problem

    If I am reading your posting correctky, I don't think you want Sumif
    Try entering either =C1 or 0 in D1
    and in D2 enter
    =if(A2=A1,D1+C2,D1)

    other things it could be is that even though the look the same A2 may not be
    the same as A3
    enter =A2=A3 (if they do look the same) if the answer is false. they really
    aren't
    Additionally column C may be text instead of numbers
    try
    =if(A2=A1,D1+value(trim(C2)),D1)

    "Easydoesit" wrote:

    > I am getting a 0 as my result, consistently. I have three columns. If
    > $A$n=$A$(n-1), I want to add the value in $C$(n-1) to $C$n. I incremented
    > the SUMIF value by extending the formula from D1 all the way down.
    >
    > What might keep the function from working properly?
    >
    >
    >


+ 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