+ Reply to Thread
Results 1 to 9 of 9

Formula result (using F9) is different than what is displayed in the cell

Hybrid View

  1. #1
    Registered User
    Join Date
    06-20-2016
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    8

    Question Formula result (using F9) is different than what is displayed in the cell

    Hi All,

    I've had a very frustrating few hours trying to make a table populate dynamically based on the value of a particular cell. The formula is quite complicated as it references 2 other sheets and I have spent hours going through it section by section in different cells using the F9 function in the formula bar and I'm certain that it is correct because when I highlight the entire formula in the formula bar and press F9 I get the correct result every time, in every cell.

    In the first row of cells containing the formula I get results (all correct, or all incorrect, depending on the value of the reference), then all the following rows give a #NUM! error.

    I would just keep working at debugging it but I'm stumped because the formula is working correctly, it is just displaying incorrectly in the cells.

    This is on Excel 2007. Has anyone experienced anything like this before?

    My explanation is a bit rambling as it's hard to describe in text when you can't see the spreadsheet so if I can clarify anything please let me know.

    Thanks for your time!
    Last edited by Curandero3224; 06-20-2016 at 06:42 AM.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Formula result (using F9) is different than what is displayed in the cell

    Very difficult to diagnose without seeing the workbook.
    Any chance you could post a desensitized version?

    BSB

  3. #3
    Registered User
    Join Date
    06-20-2016
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Formula result (using F9) is different than what is displayed in the cell

    Hey, thanks for reply BadlySpelledBuoy.

    I've created a version where the specific names and job details have been removed and I've attached it here. It will take some explanation.

    The spreadsheet is for keeping track of the location of staff members to assist with job scheduling. There is a "Data Entry" tab that takes the details of the staff members, the table containing team members, locations and groups is relevant, the other is not.

    There is also a "Planning Tab" where the details of the all the jobs go. A staff member gets assigned to each job.

    The "Task Monitoring" contains the table where I'm having the problem. I want to be able to select a staff member "group" from the drop down menu (just above the table) and have the details of the jobs that staff members in that group are assigned to display dynamically on this table. The troublesome formula is on the first few rows and first 7 columns of this table. You'll see the #NUM! errors but when you select one of those cells and F9 the formula it will display a result.

    The two tabs "Hidden" and "HiddenWkly" contain references for the calculations, it should be clear what they're referencing when reading the formula. There is only 1 column on "HiddenWkly" that is being used in the calculcation, you'll see it.

    I'm sorry to say that this spreadsheet was not created from scratch. I'm altering an existing one that was for a different purpose, so there is a lot of junk around. If I can help to explain anything further please let me know.

    I can understand if this is tedious to go through, if I can make it easier any way or if what I've submitted is too messy please let me know.

    Thank you kindly.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Formula result (using F9) is different than what is displayed in the cell

    Have you tried using the evaluation tool to see which part of the whole formula fails?

    Alt m v

    Without seeing the workbook, or, at minimum the formula, we have nothing to go on that will help us identify the cause.

  5. #5
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Formula result (using F9) is different than what is displayed in the cell

    You have array formulas not confirmed as array formulas.

    Select B17

    Press f2

    Hold down Shift and Ctrl together, then press Enter while you're holding them.

    Use the fill handle to copy the formula down the table.

    Repeat with the other columns.

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Formula result (using F9) is different than what is displayed in the cell

    The problem is these are array formulas but have not been confirmed properly. You need to press Ctrl, Shift & Enter to confirm them rather than just Enter.

    You will know if it's been done properly because they will be surrounded by curly braces { }.

    See attached.

    BSB
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    06-20-2016
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Formula result (using F9) is different than what is displayed in the cell

    Thanks BSB, that's exactly what I was missing. I'm still new to the more advanced aspects of Excel. I can go to bed happily now.

    Thanks as well to the others who took the time to reply.

    Kind regards.

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,430

    Re: Formula result (using F9) is different than what is displayed in the cell

    Enter formulas with Ctrl+Shift+Enter

    ... copy (drag) down
    Last edited by JohnTopley; 06-20-2016 at 08:02 AM.

  9. #9
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Formula result (using F9) is different than what is displayed in the cell

    Glad we could help

    BSB

+ 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. Replies: 0
    Last Post: 01-10-2014, 04:45 PM
  2. Formula displayed but not the result.
    By EDDY GOULD in forum Excel General
    Replies: 1
    Last Post: 02-10-2011, 07:38 PM
  3. Formula displayed in cell rather than result
    By watchouse in forum Excel General
    Replies: 2
    Last Post: 06-17-2010, 05:45 AM
  4. Replies: 6
    Last Post: 01-06-2009, 03:26 PM
  5. [SOLVED] VLOOKUP FORMULA IS DISPLAYED AS THE RESULT
    By tony in forum Excel General
    Replies: 1
    Last Post: 08-01-2006, 12:39 AM
  6. [SOLVED] Formula partial result displayed in cell
    By Danny in forum Excel General
    Replies: 1
    Last Post: 01-14-2006, 09:48 PM
  7. formula result not displayed
    By Darby in forum Excel General
    Replies: 3
    Last Post: 09-30-2005, 01:05 PM
  8. Formula is displayed, not result
    By Michael Wright via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-15-2005, 07: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