+ Reply to Thread
Results 1 to 6 of 6

Addition Issue

  1. #1
    Registered User
    Join Date
    07-19-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    5

    Addition Issue

    Hi again, hope someone will be able to help me because i don't know if what i'm about to ask will make sense.

    I have a table with many nested if statements and they in turn display values. i made a plain and simple =sum(i17:146) hoping that it would add up those values but instead it just shows a 0 value
    What am i doing incorrectly? No one was able to help me with my last post i'm hoping this one can be solved....

    Thanx in advance for any assistance.

  2. #2
    Forum Contributor
    Join Date
    08-22-2011
    Location
    Texas, United States
    MS-Off Ver
    Excel 2007 and 2010
    Posts
    516

    Re: Addition Issue

    there needs to be a letter in front of your second number in your sum formula. i.e. =sum(i17:i146)
    Regards,
    amotto

    If I helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Registered User
    Join Date
    07-19-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Addition Issue

    Hi, yes that was a mistake on my part. the formula is correct in my sheet. the nested if statement looks as follows: =IF(AND(L17="25mm",B17>2400),"4",IF(AND(L17="25mm",B17>1900),"4",IF(AND(L17="25mm",B17>1400),"4",IF(AND(L17="25mm",B17>1100),"4",IF(AND(L17="25mm",B17>900),"4",IF(AND(L17="25mm",B17>601),"2",IF(AND(L17="25mm",B17>0),"2",IF(AND(L17="50mm",B17>2400),"4",IF(AND(L17="50mm",B17>1500),"4",IF(AND(L17="50mm",B17>900),"4",IF(AND(L17="50mm",B17>700),"2",IF(AND(L17="50mm",B17>0),"2",""))))))))))))

    so in each cell it will return a value.

    the formula in c49: =SUM(i17:i49)

    but this returns a 0 value

    thanx for the speedy response

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Addition Issue

    "4" is not a value (number) it is text

    Take the quotes out of the 4s,
    ie
    =IF(AND(L17="25mm",B17>2400),4...
    etc
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  5. #5
    Registered User
    Join Date
    07-19-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Addition Issue

    Thanx alot. i wouldve been tearing hair out for such a simple thing as removing "" :P Really appreciate it.

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Addition Issue

    @ SL3VIN

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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