Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Formula for automatically entering information from a master sheet

I'm really drawing a blank on this one!!

In my workbook I'm creating a worksheet for each employee. I would like to
input all information on a master sheet and have it automatically enter to
the correct employee worksheet.

MASTER has the following information: A1=Employee #, B1=Employee name,
A2=000, B2=Jane Doe.

TEMPLATE for Employee worksheet: B3=Employee #, C3=formula that will pull
from MASTER, B4=Employee name, C4=formula that will pull from MASTER
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Formula for automatically entering information from a master sheet

If I understand correctly, you want to pull Employee# and Employee Name from
the MASTER. If you have the Employee#, you can get the name using VLOOKUP.

But how do you know which Employee is on which w/sheet?

What are C3 and C4 "pulling" fom the MASTER?

"Victoria" wrote:

I'm really drawing a blank on this one!!

In my workbook I'm creating a worksheet for each employee. I would like to
input all information on a master sheet and have it automatically enter to
the correct employee worksheet.

MASTER has the following information: A1=Employee #, B1=Employee name,
A2=000, B2=Jane Doe.

TEMPLATE for Employee worksheet: B3=Employee #, C3=formula that will pull
from MASTER, B4=Employee name, C4=formula that will pull from MASTER

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Formula for automatically entering information from a master s

Thanks for replying!!

Each worksheet is named with the employees name.

I used TEMPLATE as an example for the name of a employee worksheet.

C3 and C4 are the cells I would like to put the formula in to pull employee
name and number from the MASTER worksheet.

Please help!!



"Toppers" wrote:

If I understand correctly, you want to pull Employee# and Employee Name from
the MASTER. If you have the Employee#, you can get the name using VLOOKUP.

But how do you know which Employee is on which w/sheet?

What are C3 and C4 "pulling" fom the MASTER?

"Victoria" wrote:

I'm really drawing a blank on this one!!

In my workbook I'm creating a worksheet for each employee. I would like to
input all information on a master sheet and have it automatically enter to
the correct employee worksheet.

MASTER has the following information: A1=Employee #, B1=Employee name,
A2=000, B2=Jane Doe.

TEMPLATE for Employee worksheet: B3=Employee #, C3=formula that will pull
from MASTER, B4=Employee name, C4=formula that will pull from MASTER

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Formula for automatically entering information from a master s

Try:

in C3:

=MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)

This will return the worksheet name BUT the w/book must have been saved.

in C4:

=INDEX(Master!A:A,MATCH(C3,Master!B:B,0))

Assumes C3 (worksheet name) is EXACTLY the same as name in MASTER

HTH

"Victoria" wrote:

Thanks for replying!!

Each worksheet is named with the employees name.

I used TEMPLATE as an example for the name of a employee worksheet.

C3 and C4 are the cells I would like to put the formula in to pull employee
name and number from the MASTER worksheet.

Please help!!



"Toppers" wrote:

If I understand correctly, you want to pull Employee# and Employee Name from
the MASTER. If you have the Employee#, you can get the name using VLOOKUP.

But how do you know which Employee is on which w/sheet?

What are C3 and C4 "pulling" fom the MASTER?

"Victoria" wrote:

I'm really drawing a blank on this one!!

In my workbook I'm creating a worksheet for each employee. I would like to
input all information on a master sheet and have it automatically enter to
the correct employee worksheet.

MASTER has the following information: A1=Employee #, B1=Employee name,
A2=000, B2=Jane Doe.

TEMPLATE for Employee worksheet: B3=Employee #, C3=formula that will pull
from MASTER, B4=Employee name, C4=formula that will pull from MASTER

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Formula for automatically entering information from a master s

When this calculates:
=MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)

It'll return the name of the activesheet--no matter what workbook you're in.

I'd use this:

=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
(A1 can be any cell on the worksheet with the formula--including that same
cell.)

Toppers wrote:

Try:

in C3:

=MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)

This will return the worksheet name BUT the w/book must have been saved.

in C4:

=INDEX(Master!A:A,MATCH(C3,Master!B:B,0))

Assumes C3 (worksheet name) is EXACTLY the same as name in MASTER

HTH

"Victoria" wrote:

Thanks for replying!!

Each worksheet is named with the employees name.

I used TEMPLATE as an example for the name of a employee worksheet.

C3 and C4 are the cells I would like to put the formula in to pull employee
name and number from the MASTER worksheet.

Please help!!



"Toppers" wrote:

If I understand correctly, you want to pull Employee# and Employee Name from
the MASTER. If you have the Employee#, you can get the name using VLOOKUP.

But how do you know which Employee is on which w/sheet?

What are C3 and C4 "pulling" fom the MASTER?

"Victoria" wrote:

I'm really drawing a blank on this one!!

In my workbook I'm creating a worksheet for each employee. I would like to
input all information on a master sheet and have it automatically enter to
the correct employee worksheet.

MASTER has the following information: A1=Employee #, B1=Employee name,
A2=000, B2=Jane Doe.

TEMPLATE for Employee worksheet: B3=Employee #, C3=formula that will pull
from MASTER, B4=Employee name, C4=formula that will pull from MASTER


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Formula for automatically entering information from a master s

Hi,

Thanks for helping me, but I think I need to explain myself better.

My workbook has a worksheet for each staff member to calculate budget (75 to
be exact). Instead of typing in everyone's employee # and name I created
another worksheet within the same workbook that list the names and numbers of
the staff members so it can be automatically entered to the correct staff
members worksheet.

On the first worksheet called "Employees", I entered all Employee #'s in
column A and Employee names in column B. I would like this information to
find the correct worksheet and have the information placed in the specified
cell.

So as an example I'm using "TEMPLATE" as the worksheet name for a staff
member. I would like the employee # to be placed in C3 and the employee name
to be placed in C4 automatically from the "Employees" worksheet I created
with everyone's name and number.

Hope I'm explaining it better! Thanks.

"Dave Peterson" wrote:

When this calculates:
=MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)

It'll return the name of the activesheet--no matter what workbook you're in.

I'd use this:

=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
(A1 can be any cell on the worksheet with the formula--including that same
cell.)

Toppers wrote:

Try:

in C3:

=MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)

This will return the worksheet name BUT the w/book must have been saved.

in C4:

=INDEX(Master!A:A,MATCH(C3,Master!B:B,0))

Assumes C3 (worksheet name) is EXACTLY the same as name in MASTER

HTH

"Victoria" wrote:

Thanks for replying!!

Each worksheet is named with the employees name.

I used TEMPLATE as an example for the name of a employee worksheet.

C3 and C4 are the cells I would like to put the formula in to pull employee
name and number from the MASTER worksheet.

Please help!!



"Toppers" wrote:

If I understand correctly, you want to pull Employee# and Employee Name from
the MASTER. If you have the Employee#, you can get the name using VLOOKUP.

But how do you know which Employee is on which w/sheet?

What are C3 and C4 "pulling" fom the MASTER?

"Victoria" wrote:

I'm really drawing a blank on this one!!

In my workbook I'm creating a worksheet for each employee. I would like to
input all information on a master sheet and have it automatically enter to
the correct employee worksheet.

MASTER has the following information: A1=Employee #, B1=Employee name,
A2=000, B2=Jane Doe.

TEMPLATE for Employee worksheet: B3=Employee #, C3=formula that will pull
from MASTER, B4=Employee name, C4=formula that will pull from MASTER


--

Dave Peterson

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Formula for automatically entering information from a master s

I wouldn't make this automatic. If you make a typo and the automatich routine
fires, then who knows what got updated and what needs to be fixed.

In fact, I would do my best to keep the data in one worksheet, then use
data|filter|autofilter to see the items that I want.

But if you need to have the data separated, I'd do at the end of all the data
input.

You may want to look at the way Ron de Bruin and Debra Dalgleish approached it:

Ron de Bruin's EasyFilter addin:
http://www.rondebruin.nl/easyfilter.htm

Code from Debra Dalgleish's site:
http://www.contextures.com/excelfiles.html

Create New Sheets from Filtered List -- uses an Advanced Filter to create
separate sheet of orders for each sales rep visible in a filtered list; macro
automates the filter. AdvFilterRepFiltered.xls 35 kb

Update Sheets from Master -- uses an Advanced Filter to send data from
Master sheet to individual worksheets -- replaces old data with current.
AdvFilterCity.xls 55 kb

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Victoria wrote:

Hi,

Thanks for helping me, but I think I need to explain myself better.

My workbook has a worksheet for each staff member to calculate budget (75 to
be exact). Instead of typing in everyone's employee # and name I created
another worksheet within the same workbook that list the names and numbers of
the staff members so it can be automatically entered to the correct staff
members worksheet.

On the first worksheet called "Employees", I entered all Employee #'s in
column A and Employee names in column B. I would like this information to
find the correct worksheet and have the information placed in the specified
cell.

So as an example I'm using "TEMPLATE" as the worksheet name for a staff
member. I would like the employee # to be placed in C3 and the employee name
to be placed in C4 automatically from the "Employees" worksheet I created
with everyone's name and number.

Hope I'm explaining it better! Thanks.

"Dave Peterson" wrote:

When this calculates:
=MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)

It'll return the name of the activesheet--no matter what workbook you're in.

I'd use this:

=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
(A1 can be any cell on the worksheet with the formula--including that same
cell.)

Toppers wrote:

Try:

in C3:

=MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)

This will return the worksheet name BUT the w/book must have been saved.

in C4:

=INDEX(Master!A:A,MATCH(C3,Master!B:B,0))

Assumes C3 (worksheet name) is EXACTLY the same as name in MASTER

HTH

"Victoria" wrote:

Thanks for replying!!

Each worksheet is named with the employees name.

I used TEMPLATE as an example for the name of a employee worksheet.

C3 and C4 are the cells I would like to put the formula in to pull employee
name and number from the MASTER worksheet.

Please help!!



"Toppers" wrote:

If I understand correctly, you want to pull Employee# and Employee Name from
the MASTER. If you have the Employee#, you can get the name using VLOOKUP.

But how do you know which Employee is on which w/sheet?

What are C3 and C4 "pulling" fom the MASTER?

"Victoria" wrote:

I'm really drawing a blank on this one!!

In my workbook I'm creating a worksheet for each employee. I would like to
input all information on a master sheet and have it automatically enter to
the correct employee worksheet.

MASTER has the following information: A1=Employee #, B1=Employee name,
A2=000, B2=Jane Doe.

TEMPLATE for Employee worksheet: B3=Employee #, C3=formula that will pull
from MASTER, B4=Employee name, C4=formula that will pull from MASTER


--

Dave Peterson


--

Dave Peterson
  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Formula for automatically entering information from a master s

Thank you so much for everyones input.

"Dave Peterson" wrote:

I wouldn't make this automatic. If you make a typo and the automatich routine
fires, then who knows what got updated and what needs to be fixed.

In fact, I would do my best to keep the data in one worksheet, then use
data|filter|autofilter to see the items that I want.

But if you need to have the data separated, I'd do at the end of all the data
input.

You may want to look at the way Ron de Bruin and Debra Dalgleish approached it:

Ron de Bruin's EasyFilter addin:
http://www.rondebruin.nl/easyfilter.htm

Code from Debra Dalgleish's site:
http://www.contextures.com/excelfiles.html

Create New Sheets from Filtered List -- uses an Advanced Filter to create
separate sheet of orders for each sales rep visible in a filtered list; macro
automates the filter. AdvFilterRepFiltered.xls 35 kb

Update Sheets from Master -- uses an Advanced Filter to send data from
Master sheet to individual worksheets -- replaces old data with current.
AdvFilterCity.xls 55 kb

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Victoria wrote:

Hi,

Thanks for helping me, but I think I need to explain myself better.

My workbook has a worksheet for each staff member to calculate budget (75 to
be exact). Instead of typing in everyone's employee # and name I created
another worksheet within the same workbook that list the names and numbers of
the staff members so it can be automatically entered to the correct staff
members worksheet.

On the first worksheet called "Employees", I entered all Employee #'s in
column A and Employee names in column B. I would like this information to
find the correct worksheet and have the information placed in the specified
cell.

So as an example I'm using "TEMPLATE" as the worksheet name for a staff
member. I would like the employee # to be placed in C3 and the employee name
to be placed in C4 automatically from the "Employees" worksheet I created
with everyone's name and number.

Hope I'm explaining it better! Thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically add records from a new sheet to master sheet [email protected] Excel Discussion (Misc queries) 1 January 2nd 07 08:24 PM
Extracting information from records to another sheet automatically Molly Excel Worksheet Functions 4 February 5th 06 10:43 AM
Extracting information from records to another sheet automatically Max Excel Worksheet Functions 0 February 4th 06 05:27 PM
Copying (Master) column to another sheet to automatically update LostInVirtualSpace Excel Worksheet Functions 0 September 19th 05 06:57 PM
Changing the Master Sheet Formula Markus Excel Discussion (Misc queries) 4 September 14th 05 02:36 PM


All times are GMT +1. The time now is 02:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"