#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default combining columns

line 1- 3000 has part number in column A and application information in
column B and price in column C. In column a1-a3000 i have multiple part
numbers EXAMPLE: AC7001
in column D1-D30 i have a product code. EXAMPLE: column D1 is 1A0 and D2 is
1A4 going all the way down to D30.

What i am trying to do is create 30 lines with the all the data in line 1
with the different appended product codes from D1 -D3

Example
AC7001-1A0 application info price info
AC7001-1A4 application info price info

so every part number in column A has to be paired with every product code
from column D so there will actually be 30 lines with AC7001 each line having
the different product code attached. need to keep all data from line 1
columns A,B,C together just adding the product code to end of part number in
A1.

any help would be appreciated
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default combining columns

Hi,

Here is a formula approach:

Assume your data starts on row 1 and it assumes you have 30 items in column D.

In F1 enter
=OFFSET(A$1,(ROW()-1)/30,0)&" - "&OFFSET(D$1,MOD(ROW(D1)-1,30),)
In G1 enter
=OFFSET(B$1,(ROW()-1)/30,0)
in H1 enter
=OFFSET(C$1,(ROW()-1)/30,0)

Copy all these formulas down as far as necessary 30*3000 rows

Select all the formulas and copy, then edit, paste special, values

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"jason2444" wrote:

line 1- 3000 has part number in column A and application information in
column B and price in column C. In column a1-a3000 i have multiple part
numbers EXAMPLE: AC7001
in column D1-D30 i have a product code. EXAMPLE: column D1 is 1A0 and D2 is
1A4 going all the way down to D30.

What i am trying to do is create 30 lines with the all the data in line 1
with the different appended product codes from D1 -D3

Example
AC7001-1A0 application info price info
AC7001-1A4 application info price info

so every part number in column A has to be paired with every product code
from column D so there will actually be 30 lines with AC7001 each line having
the different product code attached. need to keep all data from line 1
columns A,B,C together just adding the product code to end of part number in
A1.

any help would be appreciated

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default combining columns



"Shane Devenshire" wrote:

Hi,

Here is a formula approach:

Assume your data starts on row 1 and it assumes you have 30 items in column D.

In F1 enter
=OFFSET(A$1,(ROW()-1)/30,0)&" - "&OFFSET(D$1,MOD(ROW(D1)-1,30),)
In G1 enter
=OFFSET(B$1,(ROW()-1)/30,0)
in H1 enter
=OFFSET(C$1,(ROW()-1)/30,0)

Copy all these formulas down as far as necessary 30*3000 rows

Select all the formulas and copy, then edit, paste special, values

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"jason2444" wrote:

line 1- 3000 has part number in column A and application information in
column B and price in column C. In column a1-a3000 i have multiple part
numbers EXAMPLE: AC7001
in column D1-D30 i have a product code. EXAMPLE: column D1 is 1A0 and D2 is
1A4 going all the way down to D30.

What i am trying to do is create 30 lines with the all the data in line 1
with the different appended product codes from D1 -D3

Example
AC7001-1A0 application info price info
AC7001-1A4 application info price info

so every part number in column A has to be paired with every product code
from column D so there will actually be 30 lines with AC7001 each line having
the different product code attached. need to keep all data from line 1
columns A,B,C together just adding the product code to end of part number in
A1.

any help would be appreciated

I created a before and after example in excel with some sample parts as what
i am trying to accomplish is difficult to explain. with your vast knowledge
would you mind if i email you this before and after for you to look and and
edit your formula accordingly?
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default combining columns

Shane
i created a before and after sample of what i am trying to accomplish would
you mind if i email this to you to look at and adjust you formula
accordingly. As i am pretty new to this and it looks like you have vast
knowledge on the subject.


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
Combining Text from 2 Columns into 1 then Deleting the 2 Columns sleepindogg Excel Worksheet Functions 5 September 19th 08 12:36 AM
Combining columns????? rhcpcf Excel Worksheet Functions 1 January 15th 08 08:03 PM
Combining columns jezzica85 Excel Discussion (Misc queries) 2 March 11th 06 12:22 PM
Combining Columns Petri M Excel Discussion (Misc queries) 2 November 30th 05 01:41 PM
Combining columns? sus Excel Worksheet Functions 1 November 18th 05 08:13 PM


All times are GMT +1. The time now is 05:15 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"