+ Reply to Thread
Results 1 to 3 of 3

Odd "IF" formula result

  1. #1
    Forum Contributor
    Join Date
    08-10-2009
    Location
    nottingham
    MS-Off Ver
    Excel 2010
    Posts
    110

    Odd "IF" formula result

    Hi,

    I've got this code that is suppose to view a cell on another sheet and return a value in another cell dependent on the result:

    Please Login or Register  to view this content.
    Works fine except one point. The value in "Scorecard!39" is conditioned to be a number running to one decimel point. Therefore it should read as "CBT_81.1" for example.

    Its instead showing as "_81.18181818181"

    Is there something I've missed?

    Thanks

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Odd "IF" formula result

    Formulas cannot read and display another cell's format.
    Try something like this:
    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Contributor
    Join Date
    08-10-2009
    Location
    nottingham
    MS-Off Ver
    Excel 2010
    Posts
    110

    Re: Odd "IF" formula result

    Quote Originally Posted by Ron Coderre View Post
    Formulas cannot read and display another cell's format.
    Try something like this:
    Please Login or Register  to view this content.
    Is that something you can work with?
    works perfectly - thanks Ron

+ 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. Why is my Formula result = "True" rather than "False"
    By Mike Burns in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-05-2012, 10:14 AM
  2. Replies: 9
    Last Post: 09-05-2012, 10:23 AM
  3. compare two excel sheets using macros and display the result in "true" or "false"
    By gayunana01 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-09-2012, 07:21 AM
  4. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  5. Recognize "formulas "result" as "typed data", through and through.
    By gandolff in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-13-2009, 01:30 PM
  6. Replies: 10
    Last Post: 06-10-2008, 10:05 AM
  7. If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ...
    By Maria J-son in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2006, 08:25 AM
  8. Replies: 0
    Last Post: 02-08-2005, 11: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