Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old February 21st 15, 09:16 AM
Junior Member
 
First recorded activity by ExcelBanter: Feb 2015
Posts: 1
Default Export Data on new Sheet with same Id of that column

First of all let me tell you all that i am totally new to Excel. I never used it before.. I am in a little trouble, so i need help of your guyz... Hope you guyz will help me.

My Problem is :

I have two columns "Sr.No" and "Previous Posting" as showing in the image 1 (Current Situation). Sr.No columns contains numbers in series and "Previous posting" contains all the posting details in the same column but in different rows..

Now i want to save all these posting details in a new sheet but not in a single column. Every posting detail should be in a new row with same Serial Number which belongs to that column, rather than all the posting record in a single column.

Results should be like as showing in image 2:

I hope you will understand my question and suggest me how to do this as i am totally new.
Attached Images
 

  #2   Report Post  
Old February 21st 15, 10:32 AM posted to microsoft.public.excel.newusers
external usenet poster
 
First recorded activity by ExcelBanter: Apr 2011
Posts: 3,536
Default Export Data on new Sheet with same Id of that column

Hi,

Am Sat, 21 Feb 2015 08:16:32 +0000 schrieb randhawa_125:

+-------------------------------------------------------------------+
|Filename: Untitled2.jpg |
|Download: http://www.excelbanter.com/attachment.php?attachmentid=1006|
+-------------------------------------------------------------------+


please upload a workbook instead of a picture


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
  #3   Report Post  
Old March 18th 16, 08:32 AM
Senior Member
 
First recorded activity by ExcelBanter: Aug 2010
Location: Philippines
Posts: 161
Default

Quote:
Originally Posted by randhawa_125 View Post
First of all let me tell you all that i am totally new to Excel. I never used it before.. I am in a little trouble, so i need help of your guyz... Hope you guyz will help me.

My Problem is :

I have two columns "Sr.No" and "Previous Posting" as showing in the image 1 (Current Situation). Sr.No columns contains numbers in series and "Previous posting" contains all the posting details in the same column but in different rows..

Now i want to save all these posting details in a new sheet but not in a single column. Every posting detail should be in a new row with same Serial Number which belongs to that column, rather than all the posting record in a single column.

Results should be like as showing in image 2:

I hope you will understand my question and suggest me how to do this as i am totally new.
Right click on the name of the worksheet then select view code and paste this:

Sub DuplicateValuesInColumnA()

Dim a, b As Long

Columns("A").Select
Selection.UnMerge
a = Range("M" & Rows.Count).End(xlUp).Row - 2
For b = 0 To a
If Range("A2").Offset(b, 0) < "" Then
Range("A2").Offset(b, 0) = Range("A2").Offset(b, 0)
Else: Range("A2").Offset(b, 0) = Range("A2").Offset(b - 1, 0)
End If
Next b

End Sub
__________________
Asobi Wa Owari Da


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help: Export specific data in a sheet in a new row sam Excel Programming 4 October 19th 09 09:08 PM
Export Data into another sheet Kenny Excel Discussion (Misc queries) 0 October 1st 07 09:47 AM
export sheet data for batch script john coon Excel Programming 0 March 4th 07 04:24 PM
export excel data to another sheet owl527[_19_] Excel Programming 3 January 10th 06 12:22 PM
can I export just the autofiltered data into own sheet? kst82276 Excel Discussion (Misc queries) 1 May 13th 05 03:24 PM


All times are GMT +1. The time now is 06:54 AM.

Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright 2004-2017 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017