+ Reply to Thread
Results 1 to 4 of 4

Cell currently being evaluated contains a constant.

  1. #1
    Registered User
    Join Date
    03-24-2017
    Location
    Kentucky
    MS-Off Ver
    2010
    Posts
    3

    Cell currently being evaluated contains a constant.

    I have a document with over 1000 fractions and I am trying to convert them to mm. The fractions look like they are in subscript but I can't change them. I have tried formatting the cells to "fractions" but that doesn't work either. When I click "Evaluate Formula", I see "Cell currently being evaluated contains a constant". How do I easily change these fractions to something I can convert to mm??

    HELP!
    1.jpg

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,474

    Re: Cell currently being evaluated contains a constant.

    Difficult to say from a picture. What exactly is stored in A1? Is it a text string consisting of the character "3" and the character "⅝" (unicode character number 215D)?

    Thoughts on fixing it:

    1) How did this get entered? My first thought would be to revisit the data entry step and see if I could get the data to enter correctly at the data entry step. An entry of 3 5/8 should be automatically recognized by Excel as a mixed number. The cell value should automatically be converted to 3.625 and the cell format (assuming the cell has no other format other than General) should automatically be formatted as fraction ? ??/?? or similar. If some other behavior is in effect (maybe autocorrect is being extra "helpful" and automatically substituting the ⅝ character whenever you type 5/8), then I would try to fix that behavior.

    2) If you decide that you must fix this after data entry, then I would probably use some kind of lookup table + lookup function. Enter the fraction characters into a table with the corresponding value for each (⅝ -- 0.625). Then use text functions to extract the two parts of the number, lookup the fraction, and return the corresponding value. Something like =LEFT(A1,1)+VLOOKUP(RIGHT(A1,1),lookup_table,2,FALSE)
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    03-24-2017
    Location
    Kentucky
    MS-Off Ver
    2010
    Posts
    3

    Re: Cell currently being evaluated contains a constant.

    I have no experience with macro or codes The data was entered by someone else YEARS ago and i have no idea how they entered it. It's obviously not entered as "3 5/8" because the calculation isn't working. What does "lookup table + lookup function" mean? I'm very sorry.. I need step by step instructions

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,474

    Re: Cell currently being evaluated contains a constant.

    Probably the easiest place to start understanding lookup functions is with the VLOOKUP() function: https://support.office.com/en-us/art...8-93a18ad188a1
    I would expect your lookup table to look something like:
    Please Login or Register  to view this content.
    You will probably need to pull up a good unicode list (from the Windows Character Map application or someplace like this: https://en.wikipedia.org/wiki/Number_Forms ) and go through your so you know all of the fraction characters that you need to deal with. From there, a LEFT() +RIGHT() function like I show should work (assuming all text strings are two characters long and the first character is the whole number part and the second character is the fraction character. you probably need to go through your data enough so you know all of the combinations that you need to account for.

    The data was entered by someone else YEARS ago and i have no idea how they entered it.
    I know it would be tedious, but it might be easier and faster to simply type over the old entries. It will probably depend on how quickly you can learn these text manipulation and lookup functions.

+ 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. the cell currently being evaluated contains a constant
    By Terressa in forum Excel General
    Replies: 1
    Last Post: 08-07-2015, 06:34 AM
  2. Cell Being Evaluated Contains a Constant
    By Rcketfan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-27-2007, 02:41 PM
  3. [SOLVED] the cell currently being evaluated contains a constant
    By Barrie Wells in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 02:05 AM
  4. the cell currently being evaluated contains a constant
    By Barrie Wells in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 01:05 AM
  5. the cell currently being evaluated contains a constant
    By Barrie Wells in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2005, 11:05 PM
  6. [SOLVED] the cell currently being evaluated contains a constant
    By Barrie Wells in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2005, 10:05 PM
  7. the cell currently being evaluated contains a constant
    By Barrie Wells in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-02-2005, 08:05 AM

Tags for this Thread

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