+ Reply to Thread
Results 1 to 7 of 7

Formula works although evaluation shows #value

  1. #1
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,659

    Formula works although evaluation shows #value

    This is a curiosity as opposed to a problem. Researching the web for the solution to a way to count values of cells in different sheets I found a formula very similar (I did have to modify slightly) to:
    Please Login or Register  to view this content.
    The formula gives the expected results, however in the course of running a formula evaluation I found that at a certain point it triggers #value(s). I have two questions: 1) why does the formula trigger the #value(s) as the steps leading up seem fairly routine? 2) how does the formula overcome the #value(s) and give the correct answer?

    I have included the file so that you can see the behavior described above. It is possibly helpful to know that the function of the formula is to count the number of times that a cell contains the value of 0, 1 or 2 for a specific date in the three named sheets.
    Counting values in multiple tabs.xlsx

    Hope that everyone will have a good day.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula works although evaluation shows #value

    I don't see any #VALUE in your workbook


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  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: Formula works although evaluation shows #value

    Neither do I
    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
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Formula works although evaluation shows #value

    Evaluate.JPG
    I thing this is what OP is asking for
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula works although evaluation shows #value

    Because Evaluate cant able to show the Range Object inside the evaluation process when the passed Text String (Range String) is converted as real range by INDIRECT() function.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,659

    Re: Formula works although evaluation shows #value

    Thanks for looking, replying, and giving me an answer about the Range Object (I'll do a little checking on that subject).
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  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: Formula works although evaluation shows #value

    Good luck, and thanks for the feedback

+ 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. Cell shows (t16) formula bar shows (16)
    By syed mudassir in forum Excel General
    Replies: 3
    Last Post: 01-29-2015, 05:27 AM
  2. [SOLVED] Excel Border Line style works for the first time I run the code, later it shows some error
    By vidyaduttk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-14-2014, 05:41 AM
  3. [SOLVED] IF formula - evaluation shows it should work but...
    By Juliet in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-17-2006, 06:50 PM
  4. [SOLVED] cell shows 20. Formula shows 20. why not 540/27
    By William Horton in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 07:05 AM
  5. cell shows 20. Formula shows 20. why not 540/27
    By William Horton in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 06:05 AM
  6. [SOLVED] cell shows 20. Formula shows 20. why not 540/27
    By griswold in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  7. [SOLVED] cell shows 20. Formula shows 20. why not 540/27
    By griswold in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-12-2005, 01:05 PM

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