LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4
Default Compare and Update elements from Sheet1 with Sheet2

Hi Bernard,

Thanks for the reply! I ended up using Index and Match instead of
Vlookup since I needed to return the value of another cell. At the end
of it all my formula looks like this:

=IF(ISNA(MATCH( <item_searching_for , <column_looked_in ,
0)),"",INDEX( <sheet_looked_in ,MATCH(<item_searching_for ,
<column_looked_in ,0),8))

In English: Find for item in a column of Sheet1 in a column of Sheet2
(Match function returns a row #). If it returns an error, then it's
not found and return a blank. If it returns a row #, then give me cell
contents at the intersection of that row # and a constant column.

=IF(ISNA(MATCH('IS Inv'!J2,Temp!K:K,0)),"",INDEX(Temp!
$1:$65536,MATCH('IS Inv'!J2,Temp!K:K,0),8))


This appears very complicated and I'm sure it can be broken down into
an easier and shorter formula, but it works for me! I hope this helps
anyone else who is doing a similar process.

Thanks again Bernard, for pointing me in the right direction.
Joel
 
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
how do copy "sheet1!A1+1 in sheet2 to sheet 3 and get "sheet2!A1+ Dany Excel Discussion (Misc queries) 5 April 16th 07 03:27 AM
[=Sheet1!A1] - if i use Column A1 ('Sheet1') / A2 ('Sheet2') Lawrence C H Tan Excel Worksheet Functions 0 January 19th 07 08:29 PM
How to reference C5, D5, E5 from sheet2 in A1, A2, A3 of sheet1? Mark Excel Worksheet Functions 1 October 11th 06 09:46 AM
merging sheet1 to sheet2 RyanFC Excel Worksheet Functions 3 August 22nd 05 08:55 PM
Moving from 1 row sheet1 to sheet2 tomc112 Excel Worksheet Functions 5 November 24th 04 09:46 PM


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