+ Reply to Thread
Results 1 to 8 of 8

Specific Text formatting, moving decimal but not matching. See sample

  1. #1
    Registered User
    Join Date
    03-11-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    5

    Specific Text formatting, moving decimal but not matching. See sample

    I have another rookie question for all you experts. My last question was answered within 3 minutes...lol

    I have a number with 7-8 decimal places (16.04952756) rounded up to 2 decimal places (16.05) but still shows a red highlight because it doesn't match a different cell of 16.05????

    Please see sample for a more detailed explanation/question.

    Thank You
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,853

    Re: Specific Text formatting, moving decimal but not matching. See sample

    Your number is not rounded to 2 decimal places, only the number displayed is rounded. If you use this formula to truly round the number, it turns green:

    =ROUND(16.04952756,2)
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,426

    Re: Specific Text formatting, moving decimal but not matching. See sample

    IF I follow you correctly.


    1. delete ALL conditional formatting.

    2. repace with

    =AND(H22<>"",ROUND(H22,2)>=F22)

    and

    =AND(H22<>"",ROUND(H22,2)<F22)

    and format the range (here applied to H22 to H36).
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Registered User
    Join Date
    03-11-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    5

    Re: Specific Text formatting, moving decimal but not matching. See sample

    6String Jazzer,
    The issue with this solution is that I don't have access to the file that is rounding up the numbers. Only to my personal file, which is what I posted the example of. Yes the actual number that the owner of the other file posts is 7-8 decimals long then he/she moves the decimal to the .2 position is what I get automatically to my file. So it looks like the below solution from Glenn Kennedy is what I need to do.
    Thank you though for your answer.
    Last edited by Hiway; 03-29-2021 at 11:47 AM. Reason: adding name

  5. #5
    Registered User
    Join Date
    03-11-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    5

    Re: Specific Text formatting, moving decimal but not matching. See sample

    Glenn Kennedy
    That's a lot of pig Latin for this amateur!! lol But if this is the solution, what you're saying is that I need to remove the specific text and go with conditional for all the sizes, no matter which ones, 16, 17, 18.... ect
    Last edited by Hiway; 03-29-2021 at 11:53 AM. Reason: spelling

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,426

    Re: Specific Text formatting, moving decimal but not matching. See sample

    I've never heard the phrase "pig latin" before... but...

    Yes. You're then comparing ROUNDED cell values and checking for equality with the value in F.



    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,853

    Re: Specific Text formatting, moving decimal but not matching. See sample

    Quote Originally Posted by Glenn Kennedy View Post
    I've never heard the phrase "pig latin" before...
    Pig Latin is a fake "secret code" language used by kids for fun. I thought it was known in all English-speaking countries. For words beginning with a consonant (or consonant group) you move the consonant to the end of the word and add "ay". For words beginning with a vowel you add "ay" (or "yay" or "hay" or "way" depending on local dialect) at the end. It sounds hilarious and is quite easy to get the knack of it.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,426

    Re: Specific Text formatting, moving decimal but not matching. See sample

    Oh.... I do know that... and used it myself Igpay Atinlay.... back in the day... actually back in the decade before the day. I NEVER knew it had a name...

    There y'are now... another day, another fact!!

+ 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. Taking rows containing specific text and moving to specific tab.
    By X82 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 04-11-2016, 11:53 AM
  2. [SOLVED] Moving specific matching row data to a colum and deleting the row
    By luP in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-01-2016, 05:10 PM
  3. [SOLVED] Formatting Text Box to Percent from Decimal
    By esaban in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-22-2014, 04:49 PM
  4. [SOLVED] Need assistance moving code from sample doc to actual doc
    By catt33 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-08-2012, 06:33 PM
  5. [SOLVED] Moving and Matching Text
    By JakeMann in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-19-2012, 09:51 AM
  6. moving specific text within a cell
    By Rnash in forum Excel General
    Replies: 4
    Last Post: 07-08-2010, 09:31 AM
  7. Moving text into specific columns
    By oliver79 in forum Excel General
    Replies: 8
    Last Post: 05-27-2010, 01:37 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