+ Reply to Thread
Results 1 to 6 of 6

Formula to take cell values in two separate cells and merge into one cell with / in betwee

  1. #1
    Registered User
    Join Date
    09-03-2013
    Location
    Elgin, IL
    MS-Off Ver
    Excel 2010
    Posts
    90

    Formula to take cell values in two separate cells and merge into one cell with / in betwee

    I'm looking for a formula that will take the value in Cell A1 and A2 and insert it into Cell B1 in the following format:

    A1 Value / A2 Value.

    A1 and A2 cells contain a dollar value.

    Example:

    A1 contains: $300.00
    A2 contains: $400.00

    I need a formula in Cell B1 that will return: $300.00 / $400.00

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Formula to take cell values in two separate cells and merge into one cell with / in be

    use text()

    =TEXT(A1,"$0.00")&" / "&TEXT(A2,"$0.00")
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    09-03-2013
    Location
    Elgin, IL
    MS-Off Ver
    Excel 2010
    Posts
    90

    Re: Formula to take cell values in two separate cells and merge into one cell with / in be

    Thank you. This did it for me. I needed to slightly modify the formula to provide the comma for those values that were greater than 1,000, but once I figured out how to do that, we're in business! Thank you again.

    Be Well,
    bwm

  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: Formula to take cell values in two separate cells and merge into one cell with / in be

    To add comma use this modified formula

    =TEXT(A1,"$#,0.00")&" / "&TEXT(A2,"$#,0.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
    09-03-2013
    Location
    Elgin, IL
    MS-Off Ver
    Excel 2010
    Posts
    90

    Re: Formula to take cell values in two separate cells and merge into one cell with / in be

    Thank you! That works even better than the modification I made to the formula!!

  6. #6
    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: Formula to take cell values in two separate cells and merge into one cell with / in be

    You're welcome and thank you for the feedback! Please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools-> Mark thread as Solved).

+ 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. If cell values equal, then merge cells
    By TonyforVBA in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-01-2013, 01:19 AM
  2. [SOLVED] Separate values from a cell to individual cells
    By adilson.perez in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-07-2012, 03:11 PM
  3. Replies: 2
    Last Post: 01-09-2012, 02:36 PM
  4. [SOLVED] How do I merge cells without losing cell values?
    By Sean in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-20-2006, 08:35 PM
  5. How can I use values in two separate cells to select a new cell?
    By nassetr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-21-2005, 05:05 AM

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