Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 510
Default Data Extraction Nightmare- Please help!

Hi

Following is valid, when data structure remains always same, i.e. you have 5
data rows in every entry, separated wit a single empty row, matter number is
always in column A below header, and all other entries in column B, right to
according header. When the structure isn't fixed, then you have to write a
procedure to transfer data.
And I assumed, that source data start from row 1 - otherwise you have to
edit formulas. - and that source data are on sheet Sheet1 (probably you have
to edit the sheet name in formuals)

On a new sheet, enter headers into row 1 (A1:D1)
A2=IF(OFFSET(Sheet1!$A$1;6*(ROW()-2)+1,0)="","",OFFSET(Sheet1!$A$1,6*(ROW()-2)+1,0))
B2=IF($A2="","",OFFSET(Sheet1!$A$1,6*(ROW()-2)+2,1))
C2=IF($A2="","",OFFSET(Sheet1!$A$1,6*(ROW()-2)+3,1))
D2=IF($A2="","",OFFSET(Sheet1!$A$1,6*(ROW()-2)+4,1))

Select A2:D2, and copy down for as much rows as you need.
Copy the range with new table, and overwrite it using PasteSpecial.Values

--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )



"Tami" wrote in message
...
Hi there- Sorry, my example was incorrect.

What I have is:

Matter No.
IN001
Brand Merchandise
Agent Block Partners Inc.
Atty Maria Jones

Matter No.
IN002
Brand Marketing
Agent BCI LLP
Attorney Tracey Lord

What I need is:

Matter No. Brand Agent
Attorney
IN001 Merchandise Block Partners Inc. Maria Jones
IN002 Marketing BCI LLP Tracey
Lord

I can get a list of matter numbers to run in a column. Is there a
function
that I can create (possibly Vlookup) that will compare the actual matter
no.
and the column heading (ex: Brand in the column and Brand in the row)? I
have 6000 records that are all messed up and am looking for the quickest
way
to recreate the entire table.

Thanks so much for your help!



"JoeSpareBedroom" wrote:

"Arvi Laanemets" wrote in message
...
Hi

Why a single row? You can have as much rows and columns, as you like
(and
probably you computer can handle). You only have to be sure the
destination range isn't intersecting with source range. The best idea
will
be to transpose the table into new empty sheet.



I believe he means that each RECORD should end up on one row, not all
records on one row.





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
look up and data extraction RS Excel Worksheet Functions 0 March 14th 08 02:36 PM
Data Extraction Saxman[_2_] Excel Discussion (Misc queries) 7 July 21st 07 08:04 PM
data extraction TUNGANA KURMA RAJU Excel Discussion (Misc queries) 10 February 27th 06 12:25 PM
data extraction Usul New Users to Excel 1 February 16th 06 04:04 AM
Data Extraction Chicken Man Setting up and Configuration of Excel 1 February 24th 05 03:13 AM


All times are GMT +1. The time now is 06:05 PM.

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

About Us

"It's about Microsoft Excel"