Dear Raghavendra, Please use below code and see attached sheet...........
Sub consolidate() Dim i, j As Integer j = Sheet1.Range("B1000").End(xlUp).Row For i = 2 To j If i = 2 Then Sheet1.Range("D4").Value = Sheet1.Range("D4").Value & Sheet1.Range("B" & i).Value Else Sheet1.Range("D4").Value = Sheet1.Range("D4").Value & "," & Sheet1.Range("B" & i).Value End If Next End Sub On Thu, Aug 4, 2011 at 11:25 PM, Raghavendra <raghavendra....@gmail.com>wrote: > Hi,**** > > ** ** > > ** ** > > Can anyone advise me on VBA code to perform the task as mentioned in the > attachment?**** > > ** ** > > Regards,**** > > Raghavendra**** > > -- > > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > Like our page on facebook , Just follow below link > http://www.facebook.com/discussexcel > -- Thanks & regards, Noorain Ansari *http://noorain-ansari.blogspot.com/* <http://noorain-ansari.blogspot.com/> -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel
Consolidate Data(solved).xlsm
Description: Binary data