Transpose from one column to an array

JeffGrant

Well-known Member
Joined
Apr 7, 2021
Messages
558
Office Version
  1. 365
Platform
  1. Windows
Hi All,

When I copy from a web database and paste to a single column in excel, I get data that appears as if in the first column. No drama.
For an explanation, I have added in a row.
If I use the index formula, in this case it relies upon the rows repeating every 12 rows to create a 2D array. No Problem.
The problem is that some times there is a row count of 13 and others a row count of 11, so the 2D array gets messed up.
I am looking for suggestion on how to handle this so that all the data ends up where it should in the same array column.
Because there is a login/password required for this database, the PQ functions cannot get passed the login screen.
I cannot control the number of rows for the copy function and the web database owner will not provide an export function, meaning that I have to handle this within Excel.
All suggestions are graciously recieved.

Row Count=INDEX($A$2:$A$521,(ROWS($1:1)-1)*12+COLUMNS(A:$A))
Name: Christine Foster
12​
Company: Donuts on Wheels
Email: donutsonwheels20@gmail.com
Phone: 61417774616
Delivery to: 4130 QLD
Requirements: I have a Hot donut business and was thinking I needed something more. Thought a bench top one would be good
Product: IceTeam - Soft Serve Ice Cream, Frozen Yoghurt | G1
Would consider different brands: Yes
Where this will be used: Commercial
Quantity: 1
Needed in: Next few months
Date: 28 March 2022
Name: Nick Powell
13​
Company: Oma’s Catering
Email: nickpow@bigpond.com
Phone: 0427020345
Delivery to: 3000 VIC
Requirements: Ice cream van display freezer
Product: Tecfrigo - Ice Cream & Gelato Display | Microgel
Would consider different brands: Yes
Where this will be used: Hospitality
Quantity: 1
Needed in: Next few months
Date: 18 March 2022
Name: Nick Powell
12​
Company: Oma’s Catering
Email: nickpow@bigpond.com
Phone: 0427020345
Delivery to: 3000 VIC
Requirements: [This buyer has indicated they are open to different suppliers and brands]
I am looking fora display freezer to go into front bench of new ice cream van
Product Category: Gelato & Ice Cream Display
Where this will be used: Hospitality
Quantity: 2
Needed in: Next few weeks
Date: 18 March 2022
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Book2
ABCDEFGHIJKLMNOPQRSTUVWXY
1Row_index
2Name: Christine Foster2Name: Christine FosterCompany: Donuts on WheelsEmail: donutsonwheels20@gmail.comPhone: 61417774616Delivery to: 4130 QLDRequirements: I have a Hot donut business and was thinking I needed something more. Thought a bench top one would be goodProduct: IceTeam - Soft Serve Ice Cream, Frozen Yoghurt | G1Would consider different brands: YesWhere this will be used: CommercialQuantity: 1Needed in: Next few monthsDate: 28 March 2022         
3Company: Donuts on Wheels14Name: Nick PowellCompany: Oma’s CateringEmail: nickpow@bigpond.comPhone: 0427020345Delivery to: 3000 VICRequirements: Ice cream van display freezerProduct: Tecfrigo - Ice Cream & Gelato Display | MicrogelWould consider different brands: YesWhere this will be used: HospitalityQuantity: 1Needed in: Next few monthsDate: 18 March 2022         
4Email: donutsonwheels20@gmail.com26Name: Nick PowellCompany: Oma’s CateringEmail: nickpow@bigpond.comPhone: 0427020345Delivery to: 3000 VICRequirements: [This buyer has indicated they are open to different suppliers and brands]I am looking fora display freezer to go into front bench of new ice cream vanProduct Category: Gelato & Ice Cream DisplayWhere this will be used: HospitalityQuantity: 2Needed in: Next few weeks          
5Phone: 61417774616                      
6Delivery to: 4130 QLD                      
7Requirements: I have a Hot donut business and was thinking I needed something more. Thought a bench top one would be good                      
8Product: IceTeam - Soft Serve Ice Cream, Frozen Yoghurt | G1                      
9Would consider different brands: Yes                      
10Where this will be used: Commercial                      
11Quantity: 1                      
12Needed in: Next few months                      
13Date: 28 March 2022                      
14Name: Nick Powell
15Company: Oma’s Catering
16Email: nickpow@bigpond.com
17Phone: 0427020345
18Delivery to: 3000 VIC
19Requirements: Ice cream van display freezer
20Product: Tecfrigo - Ice Cream & Gelato Display | Microgel
21Would consider different brands: Yes
22Where this will be used: Hospitality
23Quantity: 1
24Needed in: Next few months
25Date: 18 March 2022
26Name: Nick Powell
27Company: Oma’s Catering
28Email: nickpow@bigpond.com
29Phone: 0427020345
30Delivery to: 3000 VIC
31Requirements: [This buyer has indicated they are open to different suppliers and brands]
32I am looking fora display freezer to go into front bench of new ice cream van
33Product Category: Gelato & Ice Cream Display
34Where this will be used: Hospitality
35Quantity: 2
36Needed in: Next few weeks
37Date: 18 March 2022
Sheet1
Cell Formulas
RangeFormula
D2:D13D2=IFERROR(AGGREGATE(15,6,ROW($A$2:$A$37)/ISNUMBER(SEARCH("Name*",$A$2:$A$37)),ROWS($1:1)),"")
E2:Y13E2=IFERROR(INDEX($A:$A,IF(OR($D2+COLUMNS($A:A)-1>=$D3,$D2+COLUMNS($A:A)-1>=LOOKUP("ZZZ",$A$2:$A$998,ROW($A$2:$A$998))),"",$D2+COLUMNS($A:A)-1)),"")
 
Upvote 0
Solution
Thanks Bebo. I did also come with a solution, just it is definitly not as effecient as yours. Thanks again.
 
Upvote 0

Forum statistics

Threads
1,224,814
Messages
6,181,126
Members
453,021
Latest member
Justyna P

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