Help needed to to concatenate two cells having decimal two places with if condition. (worksheet attached)
Help needed to to concatenate two cells having decimal two places with if condition. (worksheet attached)
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
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).
Do you mean like this:
Formula:=TEXT(A2,"#,##0.00;[Red]-#,##0.00")&"/"&B2
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
works perfect!!. thanks so much for your effort..
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks