+ Reply to Thread
Results 1 to 6 of 6

Need help for a Formula

  1. #1
    Registered User
    Join Date
    05-17-2017
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    1

    Need help for a Formula

    Hi, I need help with a complicated formula, and do not mind doing it in a few separated steps if needs to.

    I need to perform the following;

    IF "value is in the form of 0.xx, ROUND UP to the nearest 0.1 decimal place", ELSE "ROUND to the nearest 1.00"
    Then convert to TEXT.

    Anyone can help?

    Thanks.

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Need help for a Formula

    Hi Vince- Could you give a few examples? Not sure what "0.xx" means EXACTLY. Show input and expected output.
    Does 1 = "1" or "1.0" or "1.00"?
    Last edited by leelnich; 05-17-2017 at 12:26 AM.

  3. #3
    Forum Contributor
    Join Date
    04-06-2016
    Location
    Singapore
    MS-Off Ver
    MS Office 365 & 2010
    Posts
    698

    Re: Need help for a Formula

    No digit

    =TEXTJOIN(0,TRUE, ROUNDDOWN($A$2,0))

    for One Digit Text

    =TEXTJOIN(1,TRUE, ROUNDDOWN($A$2,1))

    For Two Digit Text

    =TEXTJOIN(2,TRUE, ROUNDDOWN($A$2,2))

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Need help for a Formula

    Vince, welcome to the forum

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem - not what you think the answer might be. (think google search terms?). Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the address bar)

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (note: this change is not optional )
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Need help for a Formula

    Quote Originally Posted by rajeshn_in View Post
    No digit

    =TEXTJOIN(0,TRUE, ROUNDDOWN($A$2,0))

    for One Digit Text

    =TEXTJOIN(1,TRUE, ROUNDDOWN($A$2,1))

    For Two Digit Text

    =TEXTJOIN(2,TRUE, ROUNDDOWN($A$2,2))
    Dont think TEXTJOIN is available in 2010 (I have 2016 desktop and I dont have it either)

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Need help for a Formula

    TEXTJOIN is only currently available in the Office 365 subscription version.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  2. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  3. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

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