Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Finding matching cells between two workborks and updating cell con

Hi,

I have two workbooks, I would like to replace information in the first
workbook with information from the second book by searching for a reference
and then replacing information.
Workbooks contain following info -
Operation number - EA100, Operation time 0.30.
I want to find the operation number and then replace the operation time with
the latest time from the second work book.

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Finding matching cells between two workborks and updating cell con

Assume source Ops Nos & Ops Times are
runnning in A2 and B2 down in Sheet1 in Book1.xls

With Book1.xls open simultaneously,
In Book2.xls, in Sheet1,
Assuming Ops Nos running in A2 down
place in B2:
=INDEX([Book1]Sheet1!$B:$B,MATCH(A3,[Book1]Sheet1!$A:$A,0))
Copy down

Perhaps better with an error trap to return blanks: "" instead of ugly
#N/As, you could use instead in B2:
=IF(ISNA(MATCH(A3,[Book1]Sheet1!$A:$A,0)),"",INDEX([Book1]Sheet1!$B:$B,MATCH(A3,[Book1]Sheet1!$A:$A,0)))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"tukky142" wrote:
Hi,

I have two workbooks, I would like to replace information in the first
workbook with information from the second book by searching for a reference
and then replacing information.
Workbooks contain following info -
Operation number - EA100, Operation time 0.30.
I want to find the operation number and then replace the operation time with
the latest time from the second work book.

Thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Finding matching cells between two workborks and updating cell

Sorry, correction for consistency with formulas suggested earlier which were
for B3 instead of B2:

In Book2.xls, in Sheet1,
Assuming Ops Nos running in A2 down
place in B2:


A2, B2 in the lines above should read as A3, B3
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
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
Finding matching cell data SRL Excel Worksheet Functions 1 February 24th 06 02:48 PM
Finding Matching (ContraSide) Transactions carl Excel Worksheet Functions 2 December 12th 05 06:57 PM
Finding One Value, Matching Three Criteria cattle mgr Excel Discussion (Misc queries) 2 August 29th 05 08:32 PM
finding matching cells in worksheets Marcin Wolku Excel Worksheet Functions 1 August 25th 05 04:46 PM
Finding the cell reference of a matching search value ndrewitt Excel Worksheet Functions 0 April 13th 05 01:43 AM


All times are GMT +1. The time now is 05:49 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"