Database search and manipulation

lockarde

Board Regular
Joined
Oct 23, 2016
Messages
77
Good morning all,

I've hit a bit of a road block with some reporting and database automation and I was hoping one of you could help! I have a databse of product that I'm using to call certain data. For ease of reading the report I'd like to insert rows that have the summary of the product, then move on to the next product. Right now it's all manual, inserting rows, summing the cells above. For example:

SKUProduct Name1st qtr2nd qtr3rd qtr4th qtrSKUProduct Name1st qtr2nd qtr3rd qtr4th qtr
1234567891011Aloha T-Shirt (small, red)3132791234567891011Aloha T-Shirt (small, red)313279
1234567891012Aloha T-Shirt (medium, red)3132791234567891012Aloha T-Shirt (medium, red)313279
1234567891013Aloha T-Shirt (Large, red)3132791234567891013Aloha T-Shirt (Large, red)313279
1234567891014Aloha T-Shirt (Xlarge, red)3132791234567891014Aloha T-Shirt (Xlarge, red)313279
1234567891015Aloha T-Shirt (XXL, red)3132791234567891015Aloha T-Shirt (XXL, red)313279
1110987654312Rain Jacket (small, red)313279Aloha T-ShirtTotal156513545
1110987654313Rain Jacket (medium, red)313279To This ->
1110987654314Rain Jacket (Large, red)3132791110987654312Rain Jacket (small, red)313279
1110987654315Rain Jacket (Xlarge, red)3132791110987654313Rain Jacket (medium, red)313279
1110987654316Rain Jacket (XXL, red)3132791110987654314Rain Jacket (Large, red)313279
1110987654315Rain Jacket (Xlarge, red)313279
1110987654316Rain Jacket (XXL, red)313279
Rain JacketTotal156513545

<tbody>
</tbody>

I'm thinking it might be easiest to just have a set number of rows, regardless of the number of products, there might be empty rows, but it'd be easy to just "copy the SKUs here, every 15 ros, insert name, sum rows here". Normally this wouldn't be an issue, but the extra text (size,color) that is included in the product name column throws me off with a search and copy.

I appreciate any insight you guys might have!

lockarde
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,214,782
Messages
6,121,532
Members
449,037
Latest member
tmmotairi

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