Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2004

Tip: Looking for answers? Try searching our database.

Re:  data manipulation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Damo1 - 10 Oct 2004 23:48 GMT
Hi All,

I currently have an excel file which I need to re-format.  The fil
contains 18 columns as follows :

Prefix    Number    Service Date   Given Name  Surname   DOB   Panels1
Panels2    Panels3    Panels4
Panels5    Panels6    Panels7    Panels8    Panels9    Panels10    R$$ item    Value

The problem I have relates to the 10 columns which contain informatio
related to "Panels".  The original Panel data was contained in on
column ie:

Service date              Panel
May 97                      xxx, xxx, xxx, xxx

I have separated this data by using "text to columns", however, if th
service date column actually had four related panels as detailed belo

Service date               Panel
May 97                       xxx,  xxx, xxx, xxx

How do I relate this data on a separate line so that it reads as th
following example instead ?.

Service date               Panel
May 97                       xxx  
May 97                       xxx
May 97                       xxx
May 97                       xxx

Any assistance you could provide would be appreciated.  If you requir
any further information please email me.

Thanks and regards,

Damo  :confused
Max - 11 Oct 2004 02:46 GMT
Perhaps something along these lines
might provide some ideas ..

Assuming this tabke is in Sheet1, cols A to R

> Prefix Number Service Date  Given Name  Surname   DOB
> Panels1 Panels2 Panels3 Panels4 Panels5 Panels6 Panels7
> Panels8 Panels9 Panels10 R$$ item Value

with col B = Service Date, cols F to O = Panels#1 to 10,
data from row2 down

Assume sample data is, for the said specific cols in row2:
In B2        : May-97
In F2:O2  : xxx1 xxx2 xxx3 ... xxx10

Try in a new Sheet2:

Put in A2: =Sheet1!$B$2

Put in B2:
=OFFSET(Sheet1!$B$1,MATCH(A2,Sheet1!B:B,0)-1,ROW(A4))

Select A2:B2, copy down to B11

For a cleaner look, suppress extraneous zeros
from display in Sheet2 via:
Tools > Options > View tab > Uncheck "Zero values" > OK

For the sample data, you should get in A2:B11

May-97 xxx1
May-97 xxx2
May-97 xxx3
May-97 xxx4
May-97 xxx5
May-97 xxx6
May-97 xxx7
May-97 xxx8
May-97 xxx9
May-97 xxx10

Signature

--
Rgds
Max
xl 97
---
Please respond in thread
xdemechanik <at>yahoo<dot>com
----

>
> Hi All,
[quoted text clipped - 40 lines]
> Damo1's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=15172
> View this thread: http://www.excelforum.com/showthread.php?threadid=268029
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.