|
I have a table with multiple rows of the same data across monthsfrom 2 or 3 months, up to 24, it varies.
ranging
I need to collapse this into a single row of data to insert into a table.Here's an example of the data,
MON Units YR QTR MON Units, etc...
Plant ITMID YR QTR MON Units
CON 00001-0010 2007 Q02 06 1
CON 00001-0010 2007 Q03 07 1
CON 00001-0010 2007 Q03 08 1
CON 00001-0010 2007 Q03 09 1
CON 00001-0010 2007 Q04 10 1
CON 00189-M003 2007 Q02 06 3
CON 00189-M003 2007 Q03 07 3
CON 00189-M003 2007 Q03 08 3
CON 00189-M003 2007 Q03 09 3
Desired output
Plant ITMID YR QTR MON Units YR QTR
CON 00001-0010 2007 Q02 06 1 2007 Q03 071 2007
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.