VBA code-Assistance Sought

Latlonchy

New Member
Joined
Dec 3, 2024
Messages
2
Office Version
  1. 2007
Platform
  1. Windows
I am not an expert in excel but am just passionate about excel. I am very eager to explore and learn more.

Here is my question. Can someone assist with a VBA code or any other effective way of getting the task done.
TASK
I want to create an automated single row inventory tracker with the following columns:
Column A: Date, Column B: Inventory items in a drop down list, Column C: Opening inventory balance, Column D: Units purchased, Column E: Units sold, Column F: Closing inventory balance.
I want a formula or code which automatically retrieves the closing balance and captures it as an opening balance for the next day. I want this to always happen when the date changes. The formula should always work for every inventory item selected from the drop down list. Please note, I don't have problems with setting automatic date formula. When the opening balance has been captured, I want excel to visit some sheets on the same workbook and delete some specified columns. I also don't have problems with setting up the drop down list. May you please help. Thank you
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
I would probably keep all the data in a Table on a sheet.
A - Date
B - Item Drop Down
C - Units Purchased
D - Units sold

then create a Pivot Table on a separate sheet.
Pivot table can have calculated fields to keep running inventory, starting inventory and daily closing inventory.
 
Upvote 0
I would probably keep all the data in a Table on a sheet.
A - Date
B - Item Drop Down
C - Units Purchased
D - Units sold

then create a Pivot Table on a separate sheet.
Pivot table can have calculated fields to keep running inventory, starting inventory and daily closing inventory.
Thanks for assisting, your advice is working pretty well.
 
Upvote 0

Forum statistics

Threads
1,224,541
Messages
6,179,418
Members
452,912
Latest member
alicemil

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