#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 90
Default looup help

I have the following formula

=IF(F4="","",LOOKUP(F4,Instructions!$L:$L,Instruct ions!$M:$M))

But it returns the M column value matched to the closed L column value how
can i get it to return exact values only
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default looup help

Hi,

You could do this

=IF(F4="","",VLOOKUP(F4,Instructions!L:M,2,FALSE))

It will now only return an exact match but if it doesn't dind one it returns
#N/A.

If that's a problem then post back.

Mike

"Miree" wrote:

I have the following formula

=IF(F4="","",LOOKUP(F4,Instructions!$L:$L,Instruct ions!$M:$M))

But it returns the M column value matched to the closed L column value how
can i get it to return exact values only

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 90
Default looup help

this worked great is there a way to get it to return a message rather than N/A?

"Mike H" wrote:

Hi,

You could do this

=IF(F4="","",VLOOKUP(F4,Instructions!L:M,2,FALSE))

It will now only return an exact match but if it doesn't dind one it returns
#N/A.

If that's a problem then post back.

Mike

"Miree" wrote:

I have the following formula

=IF(F4="","",LOOKUP(F4,Instructions!$L:$L,Instruct ions!$M:$M))

But it returns the M column value matched to the closed L column value how
can i get it to return exact values only

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
Looup Value and Return a Range pthutchison Excel Worksheet Functions 1 February 15th 08 06:46 PM


All times are GMT +1. The time now is 06:25 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"