+ Reply to Thread
Results 1 to 7 of 7

Sum in accordance to another cell

  1. #1
    Forum Contributor gilbert's Avatar
    Join Date
    01-08-2004
    Location
    Asia
    MS-Off Ver
    2007
    Posts
    117

    Sum in accordance to another cell

    \1

    From the above diagram, can anyone help me with a formula for Accumulated cell in Last Year? Basically, this auto sum has to correspondence with the figures entered into This Year cells (ie. if 2 cells have figures, the Accumulated cells in Last Year will sum up 2 cells only and so forth)

    Please help.

    P/S : If you difficulties in viewing the above picture... here is a text format

    Jan Feb Mac Apr May Jun Accumulated Total
    Last yr 100 130 150 250 500 120 380 1250
    This yr 200 150 300 650 650
    Last edited by gilbert; 07-06-2010 at 05:49 AM. Reason: Problem Solved! Thanks to forum contributors
    Thank you in advance,
    Gilbert

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Sum in accordance to another cell

    Here:

    (in other words please upload .xls example workbook. Make sure you remove sensible data)
    Attached Images Attached Images

  3. #3
    Valued Forum Contributor Rahul Nagar's Avatar
    Join Date
    09-18-2008
    Location
    nasik
    MS-Off Ver
    Excel 2003
    Posts
    465

    Re: Sum in accordance to another cell

    Hi,

    The Image is too small to understand.

    Please attach a sample file.
    __________________
    Regards
    Rahul Nagar
    Founder of www.myshortcutkeys.com.


    If you get the answer of your questions then please click EDIT in your original post then click on GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody! ....
    Also
    If you are satisfied by any members response to your problem please consider using the scales icon top right of thier post to show your appreciation.

  4. #4
    Forum Contributor gilbert's Avatar
    Join Date
    01-08-2004
    Location
    Asia
    MS-Off Ver
    2007
    Posts
    117

    Re: Sum in accordance to another cell

    Please see the attachment.
    Attached Files Attached Files

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Sum in accordance to another cell

    Maybe this?

    =SUMIF($B$6:$M$6;"<>"&"";$B$5:$M$5)+SUM($B$6:$M$6)

    (replace ; with , if needed like this)

    =SUMIF($B$6:$M$6,"<>"&"",$B$5:$M$5)+SUM($B$6:$M$6)

  6. #6
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,005

    Re: Sum in accordance to another cell

    Try this
    N5
    Please Login or Register  to view this content.
    HTH,
    windknife

  7. #7
    Forum Contributor gilbert's Avatar
    Join Date
    01-08-2004
    Location
    Asia
    MS-Off Ver
    2007
    Posts
    117

    Re: Sum in accordance to another cell

    Alright... thanks for the help zbor and windknife.

    The formula "=SUMIF($B$6:$M$6;"<>"&"";$B$5:$M$5)" works fine!

+ 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