+ Reply to Thread
Results 1 to 2 of 2

Adding selected cells

  1. #1
    Registered User
    Join Date
    01-29-2006
    Posts
    12

    Adding selected cells

    If i have a list of numbers say in cells c1 to c10 and i have a sum to add these all together and display the answer in c11. I want to be able to only allow the cells (c1 to c10) which have been allowed to be part of the sum by entering a figure in d1 to d10 i.e if c2 contains £20 it cannot be added until d2 has a figure in it. Any help would be great.

  2. #2
    Trevor Shuttleworth
    Guest

    Re: Adding selected cells

    Use SUMIF

    For example,

    =SUMIF(D1:D10,"<>",C1:C10)

    Regards

    Trevor


    "alanled" <[email protected]> wrote in
    message news:[email protected]...
    >
    > If i have a list of numbers say in cells c1 to c10 and i have a sum to
    > add these all together and display the answer in c11. I want to be able
    > to only allow the cells (c1 to c10) which have been allowed to be part
    > of the sum by entering a figure in d1 to d10 i.e if c2 contains £20 it
    > cannot be added until d2 has a figure in it. Any help would be great.
    >
    >
    > --
    > alanled
    > ------------------------------------------------------------------------
    > alanled's Profile:
    > http://www.excelforum.com/member.php...o&userid=30949
    > View this thread: http://www.excelforum.com/showthread...hreadid=508780
    >




+ 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