+ Reply to Thread
Results 1 to 8 of 8

Cell is not showing the formulated result.

  1. #1
    Registered User
    Join Date
    01-07-2016
    Location
    Alaska
    MS-Off Ver
    365
    Posts
    5

    Question Cell is not showing the formulated result.

    I am trying to make a cell show 1 value higher than the lowest value of all 8 surrounding cells.


    I am using the MIN formula for cell B2:

    Please Login or Register  to view this content.

    looks like this:

    XffSc2L.png


    Obviously I would have issues placing this formula in A1, but when using this formula in a 3x3 array (autofilling and copying show the same), at cell C3 I see this:

    IHOjyxZ.png


    I would expect C3 to be 2 since it is surrounded by 1's. But here is the weird part... When I click on the function button I see this:

    ahrbWyi.png


    And it gets even weirdier! If I click OK, I see this!!

    m3KUwaF.png



    How do I get it to show the result, which is 2 and not 0 or even 1?


    EDIT: Added the spreadsheet. I apologize for not including it to begin with. Also, I have iterations allowed in the options, so it works just fine now. Thanks so much!
    Attached Files Attached Files
    Last edited by chris_asdf; 01-07-2016 at 04:52 PM. Reason: Adding attachment

  2. #2
    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
    44,680

    Re: Cell is not showing the formulated result.

    You ask for the minimum of 8 cells containing 0 and 1, so you get 0 ... and then you add 1 to it. So you get 1. What,s wrong with that?
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Cell is not showing the formulated result.

    Hi, welcome to the forum

    Please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    Also, not all members can upload picture files (Company firewalls and stuff) - and, depending on what browser is being used, some pics dont even show up on the forum

    Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.

    (cant see your pics so this is a wild guess, but if you are using MIN and you have a bunch of numbers, including 0, then 0 will always be the min?)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    01-07-2016
    Location
    Alaska
    MS-Off Ver
    365
    Posts
    5

    Re: Cell is not showing the formulated result.

    Will do. I apologize for that. I should have known better.

    Also, someone on Reddit/ExcelHelp solved it for me. I'll show that too.

    It was a circular reference. I went into the error checking options, you can allow iterations for circular references. Checked that and I was good to go.

  5. #5
    Registered User
    Join Date
    01-07-2016
    Location
    Alaska
    MS-Off Ver
    365
    Posts
    5

    Re: Cell is not showing the formulated result.

    Quote Originally Posted by TMS View Post
    You ask for the minimum of 8 cells containing 0 and 1, so you get 0 ... and then you add 1 to it. So you get 1. What,s wrong with that?
    Nothing normally, but then the cell in the center looking at all the 1's should show a 2.

  6. #6
    Registered User
    Join Date
    01-07-2016
    Location
    Alaska
    MS-Off Ver
    365
    Posts
    5

    Re: Cell is not showing the formulated result.

    Quote Originally Posted by FDibbins View Post
    Hi, welcome to the forum

    Please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    Also, not all members can upload picture files (Company firewalls and stuff) - and, depending on what browser is being used, some pics dont even show up on the forum

    Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.

    (cant see your pics so this is a wild guess, but if you are using MIN and you have a bunch of numbers, including 0, then 0 will always be the min?)
    Yeah, so I made an array of ZERO's, and then edited some of the cells in the center to look at the surrounding cells, take the min value, then add 1 to it. That's all. Sort of like the mine count in minesweeper. I'm just playing around and have never hit a circular reference before. But now I know, haha

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Cell is not showing the formulated result.

    Quote Originally Posted by chris_asdf View Post
    It was a circular reference. I went into the error checking options, you can allow iterations for circular references. Checked that and I was good to go.
    Circ refs are normally to be avoided, we only use them deliberately for very specific situations - they can cause all sorts of unexpected errors to crop up
    Last edited by FDibbins; 01-07-2016 at 05:19 PM.

  8. #8
    Registered User
    Join Date
    01-07-2016
    Location
    Alaska
    MS-Off Ver
    365
    Posts
    5

    Re: Cell is not showing the formulated result.

    Quote Originally Posted by FDibbins View Post
    Circ refs are normally to be avoided, we only use them deliberately for very specific situations - they can cause all sorts of unexpected errors to crop up
    absolutely, and I can see why, I wonder how the values would change over varying the iterations allowed?
    Last edited by FDibbins; 01-07-2016 at 05:19 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Messagebox showing the result of a paricular cell.
    By omega0010 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 12-27-2012, 09:20 AM
  2. Showing button based on cell result -
    By gpeterson82 in forum Excel General
    Replies: 1
    Last Post: 08-31-2010, 01:25 PM
  3. Replies: 15
    Last Post: 03-08-2007, 04:59 PM
  4. Replies: 1
    Last Post: 08-07-2006, 04:55 PM
  5. Formula Showing In A Cell Instead of Proper Result
    By DanK in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-04-2006, 02:46 AM
  6. [SOLVED] formula in cell not showing result
    By Leolin in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-18-2005, 02:06 PM
  7. [SOLVED] Formula result not showing in cell
    By Leolin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-17-2005, 02:06 AM

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