+ Reply to Thread
Results 1 to 3 of 3

sumif off of a single cell range

  1. #1
    Forum Contributor
    Join Date
    07-31-2009
    Location
    Lincoln, USA
    MS-Off Ver
    Excel 2007 and excel 2010
    Posts
    142

    sumif off of a single cell range

    This one is probably easy to do.

    Basicly i have row of numbers. I want the numbers to give me a sum total if a cell that is not in the row contains an "x"

    Row of number from A1:A5 each cell has the number 1 in the cell

    if there is a x in cell A2 i would like to get the sum of the numbers in A1:A5 in cell A3.


    was trying =SUMIF(A2,"x",A1:E1) this is the formula in cell A3

    I am expecting the result of 5, this formula returns the value of 1 since there is only 1 x in cell A2.

    Thoughts?
    Thanks
    Last edited by fireguy7; 11-25-2009 at 03:20 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: sumif off of a single cell range

    How about

    =If(A2="x",Sum(A1:E1),0)

    or

    =SUM(IF(A2="x",A1:E1,0))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    07-31-2009
    Location
    Lincoln, USA
    MS-Off Ver
    Excel 2007 and excel 2010
    Posts
    142

    Re: sumif off of a single cell range

    That works! Thanks again

+ 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