+ Reply to Thread
Results 1 to 9 of 9

Apply Number formatting to If Function within Concatenate - Office 2007

  1. #1
    Registered User
    Join Date
    01-18-2016
    Location
    Wilkes-Barre, PA
    MS-Off Ver
    Office 2007
    Posts
    3

    Question Apply Number formatting to If Function within Concatenate - Office 2007

    I'm trying to create an easy to use pricing spreadsheet for my employees, yet the process is anything but! For one line I have a Concatenate formula as follows:

    ="Easy-Pay total - 1st app $"&(IF(C2<=65.95,29.95,(C2*0.5)))&", remainder $"&C3&"/app, cc charged after each visit"

    For that If function there, If a price were say, $74.95, how would I write it so that 50% of that price (false value) said 37.48 instead of 37.475? Thanks!!!

    (Want everything to look good for customers when it's sent.)

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Apply Number formatting to If Function within Concatenate - Office 2007

    I would put text([your if formula],##.##) in your formula.

    EDIT: and if you want a $ add that to the $##.##
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    01-18-2016
    Location
    Wilkes-Barre, PA
    MS-Off Ver
    Office 2007
    Posts
    3

    Re: Apply Number formatting to If Function within Concatenate - Office 2007

    Maybe I'm not doing it right, but still nothing. I keep getting an error.

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Apply Number formatting to If Function within Concatenate - Office 2007

    Sorry, I was trying it using my iPad and memory, here is what I'd do...
    ="Easy-Pay total - 1st app $"&(text(IF(C2<=65.95,29.95,(C2*0.5))),"$00.00")&", remainder $"&C3&"/app, cc charged after each visit"
    that is a better way to do it.

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Apply Number formatting to If Function within Concatenate - Office 2007

    there, where you need use FIXED() function. E.g. ="Easy-Pay total - 1st app $"&(IF(C2<=65.95,29.95,(C2*0.5)))&", remainder $"&FIXED(C3)&"/app, cc charged after each visit"
    or
    ="Easy-Pay total - 1st app $"&FIXED(IF(C2<=65.95,29.95,(C2*0.5)))&", remainder $"&C3&"/app, cc charged after each visit"

    with no parameter it will be always 2 decimals

    Applies To: Excel 2016, Excel 2010, Excel Starter, Excel 2013, Excel Online, Excel 2016 for Mac, Excel for Mac 2011, Excel 2007
    Last edited by sandy666; 01-18-2016 at 08:21 PM.

  6. #6
    Registered User
    Join Date
    01-18-2016
    Location
    Wilkes-Barre, PA
    MS-Off Ver
    Office 2007
    Posts
    3

    Re: Apply Number formatting to If Function within Concatenate - Office 2007

    In the world of excel, you sir, are a God among men - Thank You!!

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Apply Number formatting to If Function within Concatenate - Office 2007

    If probem resolved - mark thread as solved. Thank you

  8. #8
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Apply Number formatting to If Function within Concatenate - Office 2007

    I assume your complement is for sandy666's interesting approach but if it's for me I'll have to tell my wife I got a promotion. Thank you for the rep!

  9. #9
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Apply Number formatting to If Function within Concatenate - Office 2007

    @Sambo kid
    I assume it was for both of us

+ 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] Apply formatting if a number repeats in one of the three cells following this number
    By ×_× in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-02-2015, 10:57 AM
  2. Replies: 3
    Last Post: 04-30-2011, 11:46 PM
  3. make old macro function to work in office 2007
    By moh7652004 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-11-2010, 12:37 PM
  4. File name in cell function error (Office 2007)
    By Kostaja in forum Excel General
    Replies: 2
    Last Post: 10-13-2009, 08:52 AM
  5. Conditional formatting as in office 2007
    By elibenyaacov in forum Excel General
    Replies: 6
    Last Post: 08-29-2008, 12:18 PM
  6. Apply Formatting to List/Table in Excel 2007
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 11-19-2007, 12:28 PM
  7. [SOLVED] MSNStockquote function is not working in Office 2007 beta
    By Grazen in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-29-2006, 10:50 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