I will try to explain what I am looking for.
I use Excel to import data files every day. These files are always broken up into the same columns, but with updated daily values.
I want to know if Access can refresh this data, and use my formulas to insert specific values into a default "Order"
I have two spreadsheet files that I go between.
OrderForm1.xls
I have default spreadsheets, per category, that are blank order forms.
Ex:
An order form will have a cell with a SKU, and an empty cell beside it where I can write in how much of that SKU I need.
For sake of argument,
CELL C5 is '4450'
CELL D5 would be blank, and I need to enter an amount
CELL E5 would have an order quantity (ex. '10')
If I need to order 50 pieces of 4450, CELL D5 needs to have '5' entered into it. (5 units of 10 = 50 total pieces)
etc.. C6, D6, E6 may be different, but all relating to the SKU in column C, and the order quantity in column E
- My Order forms are all in excel format, and do not change. The data in the (C)SKU and (E)ORDER QTY columns remain the same. I only ever change the amount in the D column.
Report1.xls
These daily reports are what I refresh data into daily to produce different values.
In these,
COLUMN B always reflects a SKU
COLUMN Y is always the amount that I need to order of the particular SKU from that same ROW.
ex.
B2 is SKU '4450'
Y2 is '50'
B45 is '4450'
Y45 is '67'
B78 is '4450'
Y78 is '23'
Result
This is what I want to accomplish.
Everytime '4450' is found on Report1.xls , I want to take the Y value, and divide it by the value in E5 on OrderForm1.xls
and enter the result in D5 on OrderForm1.xls
My hope is to run a program that will enter these results into OrderForm1.xls
Three different sheets, since '4450' appeared 3 times in Report1.xls
Sheet 1 - '5' in cell D5 (50 needed, divided by 10[value in E5] = 5)
Sheet 2 - '7' in cell D5 (67 needed, divided by 10[value in E5] = 7 [rounded up to nearest number])
Sheet 3 - '3' in cell D5 (23 needed, divided by 10[value in E5] = 3 [rounded up to nearest number])
Bookmarks