• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Put similar data/content from three cells to one cell

tango

Member
I have three columns (b1,c1,d1) with similar data/text and would like to know a formula that would result as example below. I must combine/put (b1,c1,d1) content into one cell (a1).

A1 B1 C1 D1
Kuwait Kuwait n/a Kuwait
France n/a France n/a
Saudi Arabia n/a n/a Saudi Arabia

Thank you in advance.
 
Hi,
I understand you want to ignore n/a and copy only country name.
If yes, then put this formula in A1 Cell
=concatenate(if(B2<>"N/A",B2,if(C2<>"N/A",C2,if(D2<>"N/A",D2,""))))
 
Somehow not able to edit the above one..since i am on cell phone..however, ignore the above one..
Trim(Substitute(b1&" "&c1&" "&d1,"n/a",""))
Put this in a1 and drag it down.
If otherwise share the sample file with required ouput
 
Last edited by a moderator:
Back
Top