Adding to an array/database in excel

rocketman70443

New Member
Joined
Dec 11, 2010
Messages
37
http://www.mrexcel.com/forum/showthread.php?t=552168

This post is a result of the above posting in the Access forum. I decdied for now to attack the source data before being imported into the database.

I have a spreadsheet that has the category sales for each customer. If a customer didn't buy from a category, the record doesn't exist. There is no zero, no null, there simply isn't a line that has the customer name & that category.

What I want to do is add that line in.

To keep it simple, my sales sheet columns are:
A: Customer ID
B: Category
C: Category Sales

The category array goes from a1:b22, in a spreadsheet called CATID.xls. But I can move it into the workbook with the sales data, or even onto the same sheet, if needed.

Is there anyway I can do this?
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,224,517
Messages
6,179,234
Members
452,898
Latest member
Capolavoro009

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