Dear Anil, Thank you again for your efforts. It seems however that as I run the program, that in cases where there is less that 5 within a category, the transpose then erroneously pastes the figures. For example, if I were to move the last data set of 1,2,5 to the first and move all else below, the transpose no longer works as desired (it will paste 1,2,5 and then 1,2 of the following data set).
I'm not sure as to how to proceed as I have spent the last few hours trying to build a work around into the code you have provided to no avail. Would you happen to have an idea how to complete the solution? Apologies again. Alpesh On Friday, February 1, 2013 9:00:25 AM UTC-5, pesh wrote: > > Dear Anil, > > Please accept my apologies. I had made an error on my part in accidentally > having deleted a letter from the file you provided. As a matter of fact, > your solution works great. Thank you very much for all of your efforts on > this. I sincerely appreciate it. > > Best regards and wishing you a fine day. > Alpesh > > On Thursday, January 31, 2013 2:25:58 AM UTC-5, अनिल नारायण गवली wrote: >> >> Dear Alpeshah, >> >> Pl find attached Sheet for Your REf. is i sOK? >> >> >> Warm Regards, >> Gawli Anil >> >> On Thu, Jan 31, 2013 at 3:12 AM, Alpesh Shah <alpe...@gmail.com> wrote: >> >>> Dear Excel Masters, >>> >>> I have raw data that is in the following form: >>> >>> 1 name abc >>> 2 address 234 john lane >>> 3 company inc, co >>> 4 website http://website.com >>> 5 description company abc is abc >>> >>> What I would like to do is have this information look like this, where >>> the data is taken from rows and transposed into such columns: >>> >>> name| address | company| website |description >>> abc |243 john lane | inc, co | http://website.com | abc is abc >>> >>> The catch is that the pattern does not always go 1,2,3,4,5. Sometimes it >>> only goes 1,2,3 or 1,2,5. >>> >>> As there are 4000+ lines, I attempted to write a macro but if failed. I >>> was hoping that you may be able to help. >>> >>> I have attached a sample file. >>> >>> Thank you in advance. >>> Alpesh >>> >>> -- >>> Join official Facebook page of this forum @ >>> https://www.facebook.com/discussexcel >>> >>> FORUM RULES >>> >>> 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) Jobs posting is not allowed. >>> 6) Sharing copyrighted material and their links is not allowed. >>> >>> NOTE : Don't ever post confidential data in a workbook. Forum owners and >>> members are not responsible for any loss. >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "MS EXCEL AND VBA MACROS" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to excel-macros...@googlegroups.com. >>> To post to this group, send email to excel-...@googlegroups.com. >>> Visit this group at http://groups.google.com/group/excel-macros?hl=en. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> >> >> -- >> Thanks & Regards, >> Gawli Anil Narayan >> Software Developer, >> Abacus Software Services Pvt Ltd > > -- Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 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) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to excel-macros+unsubscr...@googlegroups.com. To post to this group, send email to excel-macros@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros?hl=en. For more options, visit https://groups.google.com/groups/opt_out.