+ Reply to Thread
Results 1 to 5 of 5

If the sum of a range is equal to or less than the sum

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    If the sum of a range is equal to or less than the sum

    I need help creating a formula for the following cell A4.

    If the sum of A1,A2 & A3 is 3 then A4 will show the sum of 1.

    If the sum of A1,A2 & A3 is less than 3 then A4 will show the sum of 0.

    Thanks for any help.

    Nick

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: If the sum of a range is equal to or less than the sum

    And what happens i the sum is >3 ?

  3. #3
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Re: If the sum of a range is equal to or less than the sum

    Quote Originally Posted by arthurbr View Post
    And what happens i the sum is >3 ?
    The sum can't be more than 3 as there will be a selection drop down for each cell not allowing more than a total of 1 per cell.

    Thanks TMShucks, that worked perfect.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,943

    Re: If the sum of a range is equal to or less than the sum

    =IF(SUM(A1:A3)=3,1,IF(SUM(A1:A3)<3,0,"not specified"))

    Regards

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: If the sum of a range is equal to or less than the sum

    If you have only 0's and 1's you can enter =a1*a2*a3

+ 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