Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Lookup a value from one column

Hi there,

I have a column A1:A91 that is full of serial numbers in a worksheet called
"Canadian Machine Watchlist" that i want to compare to another worksheets
serial numbers and return "Failed" or "OK". The second worksheet is called
"Replacements" and the range i want to look in is F4:F1000 to find matches to
the Canadian Machine Watchlist. I want to return the "Failed" if a match is
found and "OK" if no match is found, this should be listed in "Canadian
Machine Watchlist" column B.

Can anyone assist?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Lookup a value from one column

=IF(ISNUMBER(MATCH(A1,Replacements!F4:F100,0)),"OK ","Failed")

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Pinkykeiron" wrote in message
...
Hi there,

I have a column A1:A91 that is full of serial numbers in a worksheet
called
"Canadian Machine Watchlist" that i want to compare to another worksheets
serial numbers and return "Failed" or "OK". The second worksheet is called
"Replacements" and the range i want to look in is F4:F1000 to find matches
to
the Canadian Machine Watchlist. I want to return the "Failed" if a match
is
found and "OK" if no match is found, this should be listed in "Canadian
Machine Watchlist" column B.

Can anyone assist?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 515
Default Lookup a value from one column

=IF(ISERROR(VLOOKUP(A1,Replacements!$F$1:$F$227,1, 0)),"OK","Failed"), if the
two worksheets are in the same workbook/file.

--
Hth

Kassie Kasselman
Change xxx to hotmail


"Pinkykeiron" wrote:

Hi there,

I have a column A1:A91 that is full of serial numbers in a worksheet called
"Canadian Machine Watchlist" that i want to compare to another worksheets
serial numbers and return "Failed" or "OK". The second worksheet is called
"Replacements" and the range i want to look in is F4:F1000 to find matches to
the Canadian Machine Watchlist. I want to return the "Failed" if a match is
found and "OK" if no match is found, this should be listed in "Canadian
Machine Watchlist" column B.

Can anyone assist?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 515
Default Lookup a value from one column

Sorry , make that
=IF(ISERROR(VLOOKUP(A1,Replacements!$F$4:$F$1000,1 ,0)),"OK","Failed"), and
obviusly copy down to A91

--
Hth

Kassie Kasselman
Change xxx to hotmail


"Pinkykeiron" wrote:

Hi there,

I have a column A1:A91 that is full of serial numbers in a worksheet called
"Canadian Machine Watchlist" that i want to compare to another worksheets
serial numbers and return "Failed" or "OK". The second worksheet is called
"Replacements" and the range i want to look in is F4:F1000 to find matches to
the Canadian Machine Watchlist. I want to return the "Failed" if a match is
found and "OK" if no match is found, this should be listed in "Canadian
Machine Watchlist" column B.

Can anyone assist?

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
lookup text in one column, count in another column dmshurley Excel Worksheet Functions 1 August 17th 07 11:32 PM
LOOKUP COLUMN VALUE Samuel Excel Worksheet Functions 6 December 19th 06 05:27 PM
Lookup in one column, and return value from another column fdebelo Excel Worksheet Functions 2 January 8th 06 01:55 PM
two-column lookup z.entropic Excel Worksheet Functions 7 May 23rd 05 01:50 AM
Calculating totals in a column based on a lookup in another column Michael Wright via OfficeKB.com Excel Worksheet Functions 1 April 15th 05 09:52 AM


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