Solved

excel formula

Posted on 2014-09-05
5
127 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
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:DanCh99
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:DanCh99
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now