LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
Student
 
Posts: n/a
Default Lookup function and compare

Hello All,
I am merging two work sheets

the first sheet contains 80 rows and the second sheet contains 194 rows and
some of these rows are duplicated in sheet 2.

I am using Lookup to determine if the 80 rows from sheet 1 exist in sheet 2.
So far the lookup function works fine.
However, if a row in sheet 1 is missing in sheet 2 i get the next larger
value and i don't want that.
when I further resarched it I found the following note about lookup function.

"If LOOKUP can't find the lookup_value, it matches the largest value in
lookup_vector that is less than or equal to lookup_value. "

1)I need help with the following:
is there any other function that i can use to return 0 if the value in sheet
1 is not found in sheet2
2)How can I accomidate the duplicate values in sheet2 ...I do want these
values to be duplicated in my results too

thank you in advance
 
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
Excel - need a function to compare lists JerryMatson Excel Worksheet Functions 1 November 24th 05 04:09 PM
Limiting the range of a lookup function Dorn Excel Worksheet Functions 5 November 8th 05 01:59 AM
An in between lookup function Duncan Help Excel Worksheet Functions 2 January 11th 05 07:47 PM
Compare side by side function Greg Excel Worksheet Functions 1 January 7th 05 05:13 PM
Lookup Function Ademar Excel Worksheet Functions 7 November 8th 04 11:50 PM


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