Trasform DB's data

Maurizio

Well-known Member
Joined
Oct 15, 2002
Messages
691
Office Version
  1. 2007
Platform
  1. Windows
Hi all,
with Access 2000 how can I trasform DB's data like sample:
db.xls
ABCDEF
1CODICEDDTDESCRIZPGRNKG
2121VITELLONS22933,1INI
31211619M-132410
412177S20END
5121SOTTOFESADIMANZOSV89INI
6121A034480END
7172CODEDIVITELLONS10,5INI
81722412M-17110
91722412M-88920
101721626M-112530END
11
12CODICEDDTDESCRIZNOTE_RAGGRKG
13121VITELLONS21619M-1324/77S2933,1
14121SOTTOFESADIMANZOSVA0344889
15172CODEDIVITELLONS2412M-171/2412M-889/1626M-112510,5
DBase


Tia.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Hi Maurizio:

I see your data laid out in two arrangements ...

in cells A1:E10 and cells A12:E15. Which arrangement are you trying to convert to the other -- just to be sure!
 
Upvote 0
I'd like to convert data cells A1:E10 like data cells A12:E15.
(temp Column "F" shows different groups: A value > 0 shows INI Group, and last value = 0 shows END Group).
 
Upvote 0
If the data already is in Access, you could try this:

1. Build a query to show the data in the column layout that you want.
2. Turn this into a Make-Table query to create a new table from the data. You will need to create an appropriate primary key for this new table, if you want to use it for creating / appending further records.
3. Once you hae the new table, use this one -- you can archive the original tables (export them to a new database which you could call Archive). That way, if you ever need the original data, you still have it.

HTH

Denis
 
Upvote 0
I don't think that you will be able to do this with queries but will have to loop through the records with code to concatenate the records together.

Peter
 
Upvote 0

Forum statistics

Threads
1,221,558
Messages
6,160,484
Members
451,651
Latest member
Penapensil

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top