Automatic add lines from differend tabs to 1 tab

Shivex

New Member
Joined
Mar 31, 2016
Messages
30
I work in a bar and we need to do stock take every now and then.
i have differend tabs for different catagorie's of drinks; soda's, whiskey, rum, gin, etc. that has different colums as; Product name, Price per bottle, Value of total counted stock EX Tax, Inc Tax etc.
now on Tab1 i would like to have a list of al the product names from the different tabs, but so that when i add or remove a product from one of the Catagorie tabs it also add/remove's it from my counting tab (Tab1).

and the posibility to hit ENTER in on of my catagorie tabs that it adds a new line with the formula's that is used in the line above it.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Hi Shivex,
with VBA that would be possible. You'd need to have a macro in every sheet that does that with the Worksheet_Change(ByVal Target As Range) event. If you're new to VBA, these are some good courses to get you started: Excel-Pratique EN and Excel VBA Programming - a free course for complete beginners
An alternative would be to set up your data in the sheets in Tables (in excel menu: Insert->Table) and use formulas on the first page to pull the data in, but that might be a dash complicated to set up.
Cheers,
Koen
 
Upvote 0

Forum statistics

Threads
1,214,611
Messages
6,120,513
Members
448,967
Latest member
screechyboy79

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