• 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.

Extract Unique Values From Row

AV114

Member
Hey, I Want To Extract One Value From The Row and Result should be like below
1​
2​
3​
4​
5​
6​
7​
8​
9​
10​
Result
ImmediatelyImmediately100 Days75 Days100 Days45 Days60 DaysOn DeliveryOn Delivery45 DaysImmediately,100 Days,75 Days,45 Days,60 Days,On Delivery
 
You should post a little example instead of pictures.
If the above numbers are the columns A->L then try this formula in column L
Code:
=B1& ","&C1&","&D1&","&F1&","&G1&","&H1
 
How about
Code:
Function AV_114(Rng As Range) As String
   Dim Cl As Range, x
   With CreateObject("scripting.dictionary")
      For Each Cl In Rng
         If Cl.Value <> "" Then .Item(Cl.Value) = Empty
      Next Cl
      AV_114 = Join(.Keys, ", ")
   End With
End Function
Used like
=AV_114(A2:J2)
 
Hi:

If you are using any of the latest versions of excel you can achieve this easily using power query.

Thanks
 
Back
Top