Solved

excel formula

Posted on 2014-09-05
5
135 Views
Last Modified: 2014-09-05
I am using this formula that works fine until it can't find wjat it is looking for

=IF(R34="Match","",VLOOKUP(LEFT(D34,4),MatchData!L:S,8,))

but if it can't find it returns #N/A

I have tried to add ISERROR but can't get it to work.

Please help instead of #N/A I want it to say Not Found

Thanks
0
Comment
Question by:Jagwarman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 37

Accepted Solution

by:
Neil Russell earned 500 total points
ID: 40305828
=IFERROR(IF(R34="Match","",VLOOKUP(LEFT(D34,4),MatchData!L:S,8,)),"Not Found")
0
 
LVL 1

Expert Comment

by:rwniceing
ID: 40305881
=IF(R34="Match","",IF(ISERROR(VLOOKUP(LEFT(D34,4),MatchData!L:S1,8,TRUE)),"NOT FOUND",VLOOKUP(LEFT(D34,4),MatchData!L:S1,8,TRUE)))

You can try this, you need to specifiy exact match with TRUE
0
 
LVL 23

Expert Comment

by:Danny Child
ID: 40305882
=IF(R34="Match","",VLOOKUP(VALUE(LEFT(D34,4)),MatchData!L:S,8,FALSE))

I think you need the VALUE command to properly extract a numeric to satisfy the VLOOKUP.
0
 
LVL 23

Expert Comment

by:Danny Child
ID: 40305888
by the way, it's much easier for us to work on an example sheet (with no confidential data on it, of course) if you can attach them...
0
 

Author Comment

by:Jagwarman
ID: 40305889
many thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Tricky shapes formula part 2 4 21
Compare data between two sheets in Excel 6 33
Copy entire column 6 25
Excel Pivot Table question 5 15
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question