+ Reply to Thread
Results 1 to 4 of 4

Formula containing If / Roundup and Text functions, some give decimals, some dont ?!

  1. #1
    Forum Contributor
    Join Date
    03-15-2016
    Location
    Arnhem, The Netherlands
    MS-Off Ver
    2007
    Posts
    102

    Formula containing If / Roundup and Text functions, some give decimals, some dont ?!

    Hello people,

    I have been working on a terms and conditions in excel, so that the value's; euro's/dollars automatically change (multiply with exchange rate).
    Now as you can see i want the value's to come in between the text, which i have managed to do so, however in some formula's the numbers come out with decimals, and some don't. I don't really mind with or without but it has to be the same for all the conditions (allthough i prefer with 2 decimals).

    1st formula - with decimals (despite the roundup being set to round up with no decimals.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    2nd formula - Euro's 2 decimals, dollars none (note that the only difference is #,##00 / 0,##, i have tried making 0,## --> #,##00 but nothing changed)
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    3rd formula - Both work, without decimals
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If anyone can tell me what I am doing wrong, i would greatly appreciate that. I am very confused since the only formula that is set to show 0 decimals is showing decimals.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: Formula containing If / Roundup and Text functions, some give decimals, some dont ?!

    Try it with a format string of "0,00" if you want two decimal places, and with "0" if you don't want any.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    03-15-2016
    Location
    Arnhem, The Netherlands
    MS-Off Ver
    2007
    Posts
    102

    Re: Formula containing If / Roundup and Text functions, some give decimals, some dont ?!

    With format string you mean what i have as #,##00 / 0,## etc?

    I tried making that 0,00 but it doesn't seem to have any effect.

  4. #4
    Forum Contributor
    Join Date
    03-15-2016
    Location
    Arnhem, The Netherlands
    MS-Off Ver
    2007
    Posts
    102

    Re: Formula containing If / Roundup and Text functions, some give decimals, some dont ?!

    It took me some time, but i finally found the issue,
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I had to swap the &" per extra day." and the "0,##") part!

    Closed!

+ 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] Need to roundup decimals to return certain value
    By nmckever in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-23-2015, 12:15 PM
  2. Text formula formatting for decimals
    By jw01 in forum Excel General
    Replies: 6
    Last Post: 09-18-2014, 12:04 PM
  3. Roundup/Ceiling to 2 decimals using a whole #
    By bchalifoux in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-09-2011, 01:41 PM
  4. Replies: 7
    Last Post: 10-31-2010, 03:32 PM
  5. Paste formula only .....dont want text
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-07-2010, 03:22 PM
  6. Countif with decimals to give a percentage..HELP!!
    By mrhogan in forum Excel General
    Replies: 10
    Last Post: 11-20-2008, 04:24 AM
  7. IF & ROUNDUP functions
    By stevemel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-12-2007, 11:03 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