+ Reply to Thread
Results 1 to 12 of 12

Format Formula with Formatted Result

Hybrid View

  1. #1
    Registered User
    Join Date
    01-27-2012
    Location
    Ottawa, Canada
    MS-Off Ver
    Excel 2016, O365
    Posts
    97

    Format Formula with Formatted Result

    Hi All,

    I am using a old proprietary software that is very particular about formatting. Historically I have had to type out entries manually to create an invoice that is very time consuming so I am trying to concatenate the data points with a result of one cell with multiple lines to copy and paste into this software.

    Currently when I copy multiple cells into this software it formats as cells with borders which is NOT an option for the final result.

    Here is the is formula that i am i am using at the end of each line i hit alt enter to go to the next line:


    =CONCATENATE(B5,C5,E5,F5,H5)
    =CONCATENATE(B6,C6,E6,F6,H6)
    =CONCATENATE(B7,C7,E7,F7,H7)

    When i used only the top line of formula it works perfectly. When I add in line 2 and 3 the result I get is FALSE.

    The end result I am looking for is one cell that I can copy and paste into the proprietary software in the following format. Here is an example of the result I am expecting.

    85 widgets @ $1.00 = $85.00
    75 widgets @ $2.00 = $150.00
    50 widgets @ $4.00 = $200.00
    Am i not understanding the "alt - enter" usage properly? What am I missing? Other suggestions?

    Thanks Les

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

    Re: Format Formula with Formatted Result

    Alt+Enter is used to allow you to break up text in a cell into what would look like line breaks in that cell.
    https://searcherp.techtarget.com/ans...-a-single-cell
    what are you expecting it to do with that concatenate formula?
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    01-27-2012
    Location
    Ottawa, Canada
    MS-Off Ver
    Excel 2016, O365
    Posts
    97

    Re: Format Formula with Formatted Result

    I was hoping to combine many cell results into one cell and control the appearance of that cell so that instead of one giant line of text, i can move to the next line within a cell when I choose.

    So that:

    "Unit 1 sold 45 units totaling $145.00, "Unit 12 sold 55 units totaling $175.00
    Becomes:

    Unit 1 sold 45 units totaling $145.00
    Unit 2 sold 55 units totaling $175.00

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Format Formula with Formatted Result

    Try
    Enter in G5 and copy down
    Formula: copy to clipboard
    =(B5&" "&C5&" "&E5&" "&DOLLAR(F5)&" "&H5&" ")&DOLLAR(B5*F5)

    v B C D E F G
    4
    5 85 widgets @ 1 85 widgets @ $1.00 $85.00
    6 75 widgets @ 2 75 widgets @ $2.00 $150.00
    7 50 widgets @ 4 50 widgets @ $4.00 $200.00
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Registered User
    Join Date
    01-27-2012
    Location
    Ottawa, Canada
    MS-Off Ver
    Excel 2016, O365
    Posts
    97

    Re: Format Formula with Formatted Result

    I'm a bit confused. What is H5 referring to in your formula?

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

    Re: Format Formula with Formatted Result

    you can use the CHAR(10) in a formula to get it like that =CONCATENATE(B5,CHAR(10),C5,CHAR(10),E5,CHAR(10),F5,CHAR(10),H5)

    or where you want it to occur like =CONCATENATE(B5,CHAR(10),C5,E5,F5,CHAR(10),H5)
    for it to look the way you want you then have to use the wrap text feature on the home tab and it should work.

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Format Formula with Formatted Result

    Or if you want with the equal sign
    Formula: copy to clipboard
    =(B5&" "&C5&" "&E5&" "&F5&" "&" "&H5&"=  ")&"$"&B5*F5

    v B C D E F G
    4
    5 85 widgets @ 1 85 widgets @ 1 = $85
    6 75 widgets @ 2 75 widgets @ 2 = $150
    7 50 widgets @ 4 50 widgets @ 4 = $200
    Last edited by AlKey; 11-30-2018 at 04:00 PM.

  8. #8
    Registered User
    Join Date
    01-27-2012
    Location
    Ottawa, Canada
    MS-Off Ver
    Excel 2016, O365
    Posts
    97

    Re: Format Formula with Formatted Result

    Quote Originally Posted by AlKey View Post
    Or if you want with the equal sign
    Formula: copy to clipboard
    =(B5&" "&C5&" "&E5&" "&DOLLAR(F5)&" "&H5&" = ")&DOLLAR(B5*F5)

    v B C D E F G
    4
    5 85 widgets @ 1 85 widgets @ $1.00 = $85.00
    6 75 widgets @ 2 75 widgets @ $2.00 = $150.00
    7 50 widgets @ 4 50 widgets @ $4.00 = $200.00
    I'm a bit confused. What is H5 referring to in your formula?

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

    Re: Format Formula with Formatted Result

    which person is on track? What you wrote in post 3 and I answered in post 5 or what AlKey is giving you about how to get the formula to show what you have in your second box in post 1?
    we're sort of heading down two different tracks unless they are both your issues.
    And, I would say that the H5 in his formula is simply referring to the H5 in your first post - he probably didn't show it in his snapshot.

  10. #10
    Registered User
    Join Date
    01-27-2012
    Location
    Ottawa, Canada
    MS-Off Ver
    Excel 2016, O365
    Posts
    97

    Re: Format Formula with Formatted Result

    Quote Originally Posted by Sambo kid View Post
    which person is on track? What you wrote in post 3 and I answered in post 5 or what AlKey is giving you about how to get the formula to show what you have in your second box in post 1?
    we're sort of heading down two different tracks unless they are both your issues.
    And, I would say that the H5 in his formula is simply referring to the H5 in your first post - he probably didn't show it in his snapshot.
    Sorry. I had actually missed your reply. This is exactly what I needed.

    Thanks to you both!

  11. #11
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Format Formula with Formatted Result

    Sorry, the H5 was meant for =
    So, the final version
    Formula: copy to clipboard
    =(B5&" "&C5&" "&E5&" "&DOLLAR(F5)&" "&H5&" ")&DOLLAR(B5*F5)

    v B C D E F G H I
    4
    5 85 widgets @ 1 = 85 widgets @ $1.00 = $85.00
    6 75 widgets @ 2 = 75 widgets @ $2.00 = $150.00
    7 50 widgets @ 4 = 50 widgets @ $4.00 = $200.00

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

    Re: Format Formula with Formatted Result

    glad I could help AND thank you for the rep!

+ 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] Format painting formula to adjacent cell, and want the result to be in the original format
    By SF1eagles in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-03-2014, 10:49 AM
  2. [SOLVED] Userform textbox value result formatted for date
    By Sc0tt1e in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-29-2013, 03:28 PM
  3. [SOLVED] Conditionally format a formula result
    By wolfm in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-14-2013, 03:00 PM
  4. Excel 2007 - Negative result in cells formatted in [h]:mm
    By Trotamundos in forum Excel General
    Replies: 8
    Last Post: 01-07-2010, 07:34 AM
  5. Convert Formula result in Time Format
    By Chandrashekhar in forum Excel General
    Replies: 5
    Last Post: 08-22-2008, 02:32 AM
  6. Format only parts of a formula result?
    By sdubose99 in forum Excel General
    Replies: 1
    Last Post: 03-02-2006, 07:20 PM
  7. [SOLVED] reference the result of a formula in a text formatted cell
    By jpwinston in forum Excel General
    Replies: 1
    Last Post: 02-07-2005, 02: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