+ Reply to Thread
Results 1 to 5 of 5

What format should I set to obtain values like "12.45" or "45.21"?

  1. #1
    Registered User
    Join Date
    03-09-2021
    Location
    Sibiu, Romania
    MS-Off Ver
    2013
    Posts
    18

    What format should I set to obtain values like "12.45" or "45.21"?

    Hello,



    How you are suggesting me to set the format to be able to fill in values in InputBox like "12.45", basically "number number dot number number".

    Should it be set AsString or AsDouble?

    And the range format how should look like?



    Thank you in advance!

    Undeclared cross-post to be found here:

    https://www.mrexcel.com/board/thread...45-21.1164441/
    Last edited by Glenn Kennedy; 03-10-2021 at 07:57 AM.

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

    Re: What format should I set to obtain values like "12.45" or "45.21"?

    Welcome (back) to the forum.

    Thanks for your question. However, we have just found out that you have posted the same question elsewhere.... and haven't told us. Feel free to cross-post on other sites...

    But. Every forum has its rules. Please see Forum Rule #3 about cross-posting. So.

    Do not keep it a secret. We all are willing to give you our time, freely. However, some of us get very annoyed if we waste our time developing a solution for you, when you already have a nice solution elsewhere. All we ask is that you show us some respect and tell us:

    1) if you have cross-posted, and

    2) the URL of the cross posts.

    That way, those of us who don't want to waste their time can quickly check to see if you're already happy with another solution.

    (Note: since you are new here, on THIS occasion, I have added it for you.)
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: What format should I set to obtain values like "12.45" or "45.21"?

    One way

    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    03-09-2021
    Location
    Sibiu, Romania
    MS-Off Ver
    2013
    Posts
    18

    Re: What format should I set to obtain values like "12.45" or "45.21"?

    Hello,

    Please accept my apologies!
    I understood now the rule!

    Thank you!

  5. #5
    Registered User
    Join Date
    03-09-2021
    Location
    Sibiu, Romania
    MS-Off Ver
    2013
    Posts
    18

    Re: What format should I set to obtain values like "12.45" or "45.21"?

    Hello Richard,

    I integrated your solution, it works perfect as can be seen below
    Please Login or Register  to view this content.
    Last edited by Gabriel1979; 03-10-2021 at 08:42 AM.

+ 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] Brief formula to convert time values to "shift1", "shift2", "shift3".
    By darekpawel in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 04-11-2019, 07:05 AM
  2. Replies: 5
    Last Post: 02-05-2019, 12:03 AM
  3. Replies: 2
    Last Post: 07-13-2018, 11:52 PM
  4. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  5. Date format of just "st" "nd" "rd" and "th" with text included
    By notrandom in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-10-2013, 05:45 PM
  6. Replies: 0
    Last Post: 01-09-2013, 06:52 PM
  7. Replies: 3
    Last Post: 02-16-2011, 02:55 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