Formula / Macro Help for Populating data and pulling in data

crewe2004

New Member
Joined
Oct 2, 2015
Messages
4
Hi

Im new to Excel Forums so please be gentle with me
smile.gif


I need some help

I have some research that i have been doing for work and have just been informed by the developers that they need the data in a certain format. For example i have researched the price of a beer like Budweiser from 6 supermarkets. I have put the SKU ''Budweiser'' in Cell A2 and have have put the web links to this product from the supermarkets in cells B2, C2, D2, E2, F2 and E2.

The developers need the research to go in all the same column. I.e. Cells A1 to A6 would be say ''Budweiser'' but the web links need to go in B1 to B6. I would then have to put the same for ''Heineken'' in cells A7 to A12 and have its corresponding web links in cells B7 to B12. This order would be the same for all the products. I.e. another 6 cells in Column A & B for another product

I need to do this for about 1,300 different products.

I only know the basics of Excel, so please any help would be really appreciated!!

If required i can attach an example, incase im not explaining it very well
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Thanks for such a prompt reply. That worked!!

Last bit of help needed please :)

At the minute it lines up with A1 to A6 ''Budweiser'' and A7 to A12 ''Heineken''. Basically every 6 cells a different product.

I have just been told it needs to display the following for cells A1 to A6:[TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]

[TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]SKU_A
[TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]SKU_A
[TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]SKU_A
[TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]SKU_A
[TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]SKU_A
[TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]SKU_A[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

[/TD]
[/TR]
</tbody>[/TABLE]

with the same for cells A7 to A12 but with ''SKU_B'' and it changing every 6 cells with a different letter.

Is there a formula or macro that can do this automatically for me for all 1,300 products with it changing the corresponding letter after each 6 cells?

Hope that makes sense

Thanks
Tom
 
Upvote 0

Excel 2010
A
1SKU_A
2SKU_A
3SKU_A
4SKU_A
5SKU_A
6SKU_A
7SKU_B
8SKU_B
9SKU_B
10SKU_B
11SKU_B
12SKU_B
13SKU_C
14SKU_C
15SKU_C
16SKU_C
17SKU_C
18SKU_C
19SKU_D
20SKU_D
21SKU_D
22SKU_D
23SKU_D
24SKU_D
Sheet8
Cell Formulas
RangeFormula
A1="SKU_"&MID("ABCDEF",INT(ROW(A6)/6),1)



Wait that won't work, does it go ABCDEF then repeat ABCDEF, etc or are there additional letters?
 
Last edited:
Upvote 0
Thanks for prompt reply

There will be additinal letters. So will be:

ABCDEFG.... all the way to Z.

When it gets to Z, i need it to do double AA, BB, CC

If that makes sense!
 
Upvote 0
Ok thats actually easier:


Excel 2010
A
1SKU_A
2SKU_A
3SKU_A
4SKU_A
5SKU_A
6SKU_A
7SKU_B
8SKU_B
9SKU_B
10SKU_B
11SKU_B
12SKU_B
13SKU_C
14SKU_C
15SKU_C
16SKU_C
17SKU_C
18SKU_C
19SKU_D
20SKU_D
21SKU_D
22SKU_D
23SKU_D
24SKU_D
Sheet8
Cell Formulas
RangeFormula
A1="SKU_"&SUBSTITUTE(ADDRESS(1,INT(ROW(A6)/6),4),1,"")


Wait double letters, not AA, AB, AC but AA,BB,CC,DD...........AAA,BBB,CCC?
 
Last edited:
Upvote 0
Thank you so much!

Nope your way was correct

Your a legend. I know where im going if i need help in the future :)
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,265
Members
452,627
Latest member
KitkatToby

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