Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Matching Cells on different worksheets

I have a master list of items that contain a date, time, and description, on
one sheet. I have 6 sub lists. I want to be able to match between the
list and the sublist and then put the date from the master list on the sub
list. How is this done?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 82
Default Matching Cells on different worksheets

Are your lists on the same sheet or different sheets? Do you ever add new
items to your master list? Is there a chance of duplicate values?

Your solution will require some VBA code. I suggest you start trying the
Find Method to match the values you are trying to compare, then use this to
determine the row containing the right date and then setting the target cell
value equal to the value you are looking for.

If you need some help withthe VBA, let me know.
--
HTH

JonR


"Tom D" wrote:

I have a master list of items that contain a date, time, and description, on
one sheet. I have 6 sub lists. I want to be able to match between the
list and the sublist and then put the date from the master list on the sub
list. How is this done?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Matching Cells on different worksheets

JonR,
The data is on different worksheets within the same workbook.

The only thing on the Master List that should change will be the cell that
has the date. Basically, I want to have the Sub-sheet go out and find a
match on the Master sheet, get the date for the match from the master sheet
and put it on the sub sheet.

"JonR" wrote:

Are your lists on the same sheet or different sheets? Do you ever add new
items to your master list? Is there a chance of duplicate values?

Your solution will require some VBA code. I suggest you start trying the
Find Method to match the values you are trying to compare, then use this to
determine the row containing the right date and then setting the target cell
value equal to the value you are looking for.

If you need some help withthe VBA, let me know.
--
HTH

JonR


"Tom D" wrote:

I have a master list of items that contain a date, time, and description, on
one sheet. I have 6 sub lists. I want to be able to match between the
list and the sublist and then put the date from the master list on the sub
list. How is this done?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 82
Default Matching Cells on different worksheets

Tom,

Try this (suprised I didnt' think of it before). I did thi on a workbook
with two sheets named 'Master' and 'Slave'.

Enter this formula into the cell on the 'slave' sheet that you want to look
up and display the date.

=VLOOKUP(A1,Master!A1:B10,2)

the value that you want to look up is in cell A1, the lookup range is
Master!A1:B10, and the target column (the one on the Master sheet with the
date) is column 2.

This is probably a lot easier than Visual Basic, and will run a lot quicker.

Hope this helps. It will cause you problems if you have duplicates in the
Master table.
--
HTH

JonR


"Tom D" wrote:

JonR,
The data is on different worksheets within the same workbook.

The only thing on the Master List that should change will be the cell that
has the date. Basically, I want to have the Sub-sheet go out and find a
match on the Master sheet, get the date for the match from the master sheet
and put it on the sub sheet.

"JonR" wrote:

Are your lists on the same sheet or different sheets? Do you ever add new
items to your master list? Is there a chance of duplicate values?

Your solution will require some VBA code. I suggest you start trying the
Find Method to match the values you are trying to compare, then use this to
determine the row containing the right date and then setting the target cell
value equal to the value you are looking for.

If you need some help withthe VBA, let me know.
--
HTH

JonR


"Tom D" wrote:

I have a master list of items that contain a date, time, and description, on
one sheet. I have 6 sub lists. I want to be able to match between the
list and the sublist and then put the date from the master list on the sub
list. How is this done?

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
matching two worksheets and return to different value dan Excel Worksheet Functions 2 October 23rd 06 11:18 PM
matching 2 worksheets together RayB Excel Discussion (Misc queries) 1 July 7th 06 08:07 PM
How do I compare data in two worksheets to find matching cells? Gary Excel Discussion (Misc queries) 4 March 2nd 06 09:04 PM
MATCHing through multiple worksheets [email protected] Excel Worksheet Functions 1 December 27th 05 08:31 PM
finding matching cells in worksheets Marcin Wolku Excel Worksheet Functions 1 August 25th 05 04:46 PM


All times are GMT +1. The time now is 09:08 AM.

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"