ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   looup help (https://www.excelbanter.com/excel-programming/424420-looup-help.html)

Miree

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

Mike H

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


Miree

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



All times are GMT +1. The time now is 03:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com