=iferror(if(b13="",or(c13="","",if(b13<>""=b13,if(c13<>"",c13,mconcat(b13:c13,";"))))),"")
=iferror(if(b13="",or(c13="","",if(b13<>""=b13,if(c13<>"",c13,mconcat(b13:c13,";"))))),"")
1. you have an un-needed "" in the formula (see reed highlight)
2. your 2nd if() statement is wrong (green highlight)
3. unless you have an add-in or are using 2010, 2007 has no mconcat()
apart from that, without seeing the data that you formula is referencing, its hard to say why you are getting a FALSE answer. fix the above 1st and let me know is that solves your problem?
=iferror(if(b13="",or(c13="","",if(b13<>""=b13,if(c13<>"",c13,mconcat(b13:c13,";"))))),"")
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Is this what you want instead?
=IF(B13<>"",IF(C13="",B13,CONCATENATE(B13&";"&C13)),IF(C13="","",C13))
I downloaded the add-in for the MCONCAT and other functions. It works. I removed the ,"" and still get the same FALSE result. The data that the formula is referencing is just text (although that text is derived from a VLOOKUP). The result in B13 is "Teeofftimes UK" and the result in C13 is "". The result should show "Teeofftimes UK" instead is shows FALSE.
Thanks!
Try this formula
=B13&IF(COUNTA(B13,C13)=2,";","")&C13
Audere est facere
Thank you but that doesn't solve the issue. What I am trying to do is to eliminate the separator ";" in all cases except where there are values in both B13 and C13. This is returning the same result as if I would use MCONCAT(B13:C13,";")
b13 c13 d13
;
Teeofftimes UK Onlineteetimes Teeofftimes UK;Onlineteetimes
Teeofftimes UK Teeofftimes UK;
upload a sample workbook please
Can you use this?
=IF(B13<>"",IF(C13="",B13,MCONCAT(B13:C13,";")),IF(C13="","",C13))
You are genius![solved]
@ golfpromal
Welcome to the forum.
Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
Thanks.
Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks