+ Reply to Thread
Results 1 to 3 of 3

How to insert decimal in 5 digit #s but not 3 digit #s

Hybrid View

  1. #1
    Registered User
    Join Date
    07-20-2022
    Location
    New York, USA
    MS-Off Ver
    Home & Student 2019
    Posts
    13

    How to insert decimal in 5 digit #s but not 3 digit #s

    I've done this before but can't recall now. I'm sure it's a simple solution. I'd appreciate any tips on the attached file. Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,324

    Re: How to insert decimal in 5 digit #s but not 3 digit #s

    =IF(LEN(A2)>=5,A2/100,IF(LEN(A2)=4,A2/10,A2))
    Try this formula
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Registered User
    Join Date
    04-13-2022
    Location
    Kristianstad, Sweden
    MS-Off Ver
    2007/2016
    Posts
    21

    Re: How to insert decimal in 5 digit #s but not 3 digit #s

    Is this simple solution answer to your question?

    All numbers greater than 5 digits are divided by 100 using this formula
    =IF(A2>9999,A2/100,A2)

    /LGS
    Attached Files Attached Files

+ 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. [SOLVED] Single digit and double digit numbers sequence within a cell
    By chintamani.avinash in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-03-2020, 02:39 PM
  2. [SOLVED] Extract 1, 2 or 3-digit Numbers from Text String but Ignore 4-Digit Dates
    By S_Rycroft in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-09-2020, 12:03 PM
  3. Replies: 6
    Last Post: 02-03-2019, 06:05 AM
  4. Bank Recon - How to convert 8 digit formatted check numbers to 6 digit
    By Quisp in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-21-2017, 09:55 PM
  5. insert decimal point after first digit
    By henrikgb in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 11-07-2014, 07:57 AM
  6. [SOLVED] LOTTERY FILTER#4, Find if 1 Digit Sum of 2 Digit or 3 Digit, Single Cell w/ dash
    By david gonzalez in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-08-2014, 12:57 AM
  7. Replies: 2
    Last Post: 06-17-2010, 08:36 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