You will have to SHOW me in the file Don Guillett Microsoft Excel Developer SalesAid Software dguille...@gmail.com
From: SG Sent: Tuesday, July 17, 2012 4:54 AM To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ Re: Error Cleaning Hi Don, My question is that after running the macro why data from column A to C is repeating & then the data from column A to E comes consolidated below it which actually i want.Sorry for asking so much questions.But till the time it's not clear to me....I'm not able to implement it. On Monday, July 16, 2012 9:03:57 PM UTC+5:30, Don Guillett wrote: You might try expanding column C to find out that that is NOT true................................................ Don Guillett Microsoft Excel Developer SalesAid Software dguille...@gmail.com From: SG Sent: Monday, July 16, 2012 10:26 AM To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ Re: Error Cleaning Yes, if you see..from row 12 to row 40, the data is blank..can it be possible after running the macro...it would consolidated without such blanks in the data?? On Monday, July 16, 2012 8:31:55 PM UTC+5:30, Don Guillett wrote: Don Guillett Microsoft Excel Developer SalesAid Software dguille...@gmail.com From: SG Sent: Monday, July 16, 2012 9:30 AM To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ Re: Error Cleaning Hi Don, It's working perfectly.but one more problem is this i have shown only 3 columns in my sample file but in real ...i have atleast 23 columns & last column is the Error column on which this macro will work...now this macro is consolidating the data at the end.Please have a look.For instance, i have increased the column no to 5. On Monday, July 16, 2012 7:32:46 PM UTC+5:30, Don Guillett wrote: I wrote it to continue what you had already done. The TTC could be incorporated. Option explicit forces use of dim Look in vba help index for resize Don Guillett Microsoft Excel Developer SalesAid Software dguille...@gmail.com From: SG Sent: Monday, July 16, 2012 8:49 AM To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ Re: Error Cleaning Hi Don, Thanks for the help. I haven't run the macro.I'm a begineer to the macro.Can you please explain the "option Explicit" & use of "resize" & would i run this macro after text to column splitting? uillett wrote: Should do it Option Explicit Sub getlists() Dim lr As Long Dim i As Long Dim dr As Long Dim btc As Range lr = Cells(Rows.Count, 1).End(xlUp).Row - 1 Set btc = Cells(2, 1).Resize(lr, 2) For i = 2 To lr + 1 dr = Cells(Rows.Count, 1).End(xlUp).Row + 1 btc.Copy Cells(dr, 1) Cells(2, i + 1).Resize(lr).Copy Cells(dr, "c") 'MsgBox i Next i Columns(3).SpecialCells(xlCellTypeBlanks).EntireRow.Delete End Sub ‘’’’’’’’’’’’’’ Don Guillett Microsoft Excel Developer SalesAid Software dguille...@gmail.com From: SG Sent: Monday, July 16, 2012 3:42 AM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ Re: Error Cleaning Sorry for Replying late.Yes, i choose delimit & choose comma for it.Problem is this that the data is in thousandsr rows & manually it takes so much time.i have attached a file & i hope it clears the doubts brfore cleaning the data & after cleaning the data. On Friday, July 13, 2012 5:33:35 PM UTC+5:30, SG wrote: Hi Experts, I need your help again.We extract the data from database & each user got some errors on different projects.I need to clean the error data to get the count of errors.For this,i do text to column on error column.Then, in each column after error column, i take the value one by one & copy paste the data below the original data.It's too time consuming as data may expand up to many columns & each column has irregular no. of errors description.I have tried to explain best & need a macro to make unique row of erros of all users.I have attached the excel file & a document in which i have tried to explain.Looking forward for your help. Thanks in advance. -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com -- -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com -- -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com