transfering data from one book to another, uptating automatically, combining data

aaacccc

New Member
Joined
Jul 11, 2013
Messages
19
I have two seperate files in excel and I need to keep both. One contains sheets that records the individual sales of each employee for all the time working in the company, the other one includes all the sales of the company (includes all employees) for each month, it has a tab for each month.

What I want to do is find a way that I will only have to input this information only once and it will update the other book automatically. Is this possible since it is in different excel books?

the common entries would be the date and the name of the employee, so maybe each time that a certain employee appears in the company book it will update each employees tab. I also do not know how to make sure that it will go to the specific month tab given the date. for example if the entry date is between 5/01/2013 and 5/31/2013 then it goes automatically to the may tab.


I do not know which would be easier to enter the data in the employees sheet and then have the company's overall sales sheet update automatically or the other way around.

any help, or links to other sources will be appreciated, thanks!
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
hey.. it's seems we can do what u trying... but little confused about sheets and it's Tab

two seperate files in excel

1st one is :- individual sales of each employee
Question : it has any Tab .?

2nd one is :sales of the company (includes all employees)
this sheet has Tab like..(jan, Feb, Mar ......Dec)

And Don't worry about below part
for example if the entry date is between 5/01/2013 and 5/31/2013 then it goes automatically to the may tab.
 
Upvote 0
yes MUKESHY12390, the first file has many tabs, one for each employee contining information about their individual sells

the other file has the overall sells of the company and also has several tabs, one for each month. each month has all the information for all sells made by all employes during that month
 
Upvote 0
thank you mukeshy12390, for your help, I am trying to figure out what you have sent me, how do you make the code run though?
 
Upvote 0
so this is what the columns for each month tab looks like
Dateemployeeproductserial numberclientcompanysales amount


<tbody>
</tbody>


and for each employee:


Dateemployeeproductserial numberclientcompanysales amount
5/18/2013MrB
5/20/2013MrB
5/25/2013MrB
5/25/2013MrB
5/26/2013MrB
6/26/2013MrB
6/29/2013MrB
7/18/2013MrB
7/18/2013MrB
7/18/2013MrB
7/18/2013MrB
7/18/2013MrB
7/18/2013MrB
7/18/2013MrB
7/20/2013MrB
6/20/3012MrB

<colgroup><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>

<colgroup><col span="8"></colgroup><tbody>
</tbody>

I want all the rows from MrB's sheet that belong to the month of may (5/#/2013) to copy into the May tab for the whole company
 
Upvote 0
I really do not know how to run it, and I do not understand how codes work, so both books have the same code? where f i run the code from?
 
Upvote 0
hey aaacccc , I am trying to tell you ,same thing what you asking.


Your words .... "I want all the rows from MrB's sheet that belong to the month of may (5/#/2013) to copy into the May tab for the whole company"

Download File : Company_workbook.xlsm (38.4 KB)
Employees_sheet.xlsx (16.0 KB)

What you need to do Just Change One Line in CVR Marco i.e path (Employees sheet Path )
CVR() Marco available in Company_workbook.xlsm.

Company_workbook.xlsm sheet has two Macros
1)test
2)CVR

You Need to run only CVR Macros...:)

Click Here ....transfering data
 
Upvote 0

Forum statistics

Threads
1,215,223
Messages
6,123,711
Members
449,118
Latest member
MichealRed

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