+ Reply to Thread
Results 1 to 3 of 3

Nested IF Function Returning All Zero

  1. #1
    Registered User
    Join Date
    06-17-2011
    Location
    Huntsville, Ontario
    MS-Off Ver
    Excel 2003
    Posts
    12

    Question Nested IF Function Returning All Zero

    Hi Everyone, I have a nested IF function:
    Please Login or Register  to view this content.
    I am dragging this across a number of cells all formatted as "general" and I am getting nothing but "0". All of the cells referenced contain numbers.

    I was able to fix this earlier by deleting everything and re-writing the formula. That caused the first cell to give me a zero, but the cells that the formula was dragged to calculated correctly. Then I had to drag the formula over the original cell to get the zero to change to the proper value.

    Now even re-writing the formula does not help. It was working originally until I changed a couple of the numbers and added the $ which caused it to cease working.
    Very frustrating, any ideas?
    Thanks,

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

    Re: Nested IF Function Returning All Zero

    Does this work?

    =IF(D3+0<=D$243+0,1,IF(D3+0<=D$244+0,2,IF(D3+0<=D$246+0,4,IF(D3+0<=D$247+0,8,IF(D3+0<=D$248+0,16,32)))))

    If it does, then your values are actually text not numbers....
    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
    Registered User
    Join Date
    06-17-2011
    Location
    Huntsville, Ontario
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Nested IF Function Returning All Zero

    Hi,
    It turns out that the numbers the formula was referencing contained a circular reference. I fixed that and now it works.

+ 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