+ Reply to Thread
Results 1 to 7 of 7

How to Concatenate two cell with decimals

  1. #1
    Registered User
    Join Date
    04-04-2013
    Location
    India
    MS-Off Ver
    Excel 2019
    Posts
    95

    How to Concatenate two cell with decimals

    Help needed to to concatenate two cells having decimal two places with if condition. (worksheet attached)
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    01-04-2013
    Location
    Newcastle, England
    MS-Off Ver
    Excel 2010
    Posts
    66

    Re: How to Concatenate two cell with decimals

    hi

    paste this in c2 and drag down

    =IF(SUMPRODUCT(((A2)-INT(A2)>0)*(1))=0,CONCATENATE(A2,".00/",B2),CONCATENATE(A2,"0/",B2,""))

    I think this is what you are trying to do

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,485

    Re: How to Concatenate two cell with decimals

    Do you mean like this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    04-04-2013
    Location
    India
    MS-Off Ver
    Excel 2019
    Posts
    95

    Re: How to Concatenate two cell with decimals

    hi matklt,

    thanks for you reply.. but for row no. 5, 9, 10, 12, i want the result with two decimal places (e.g., 0.75/SCH45S).

  5. #5
    Registered User
    Join Date
    04-04-2013
    Location
    India
    MS-Off Ver
    Excel 2019
    Posts
    95

    Re: How to Concatenate two cell with decimals

    works perfect!!. thanks so much for your effort..

  6. #6
    Registered User
    Join Date
    04-04-2013
    Location
    India
    MS-Off Ver
    Excel 2019
    Posts
    95

    Re: How to Concatenate two cell with decimals

    Quote Originally Posted by TMS View Post
    Do you mean like this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS

    works perfect!!. thanks so much for your effort..

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,485

    Re: How to Concatenate two cell with decimals

    You're welcome. Thanks for the rep.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. Replies: 5
    Last Post: 08-28-2014, 06:01 PM
  2. Fixied Decimals with CONCATENATE
    By TimmyK in forum Excel General
    Replies: 2
    Last Post: 06-11-2009, 11:40 AM
  3. Cell format (decimals)
    By CarlosAndres in forum Excel General
    Replies: 2
    Last Post: 09-19-2007, 09:24 AM
  4. CONCATENATE with decimals, convert to fractions
    By rberger909 in forum Excel General
    Replies: 5
    Last Post: 12-05-2006, 11:33 PM
  5. Cell format decimals
    By Ramthebuffs in forum Excel General
    Replies: 4
    Last Post: 11-01-2005, 04:03 PM

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