Return text vlookup

Posted on 2014-07-15
Last Modified: 2014-07-15

I have a formula

=VLOOKUP(AQ2,'[MappingTable.xlsm]GBM Mapping Table v4'!$A:$H,8,0)

Where the entry is blank the formula returns "0"

I would like it to return "No PCM SM found"

Can someone amend?

Question by:Seamus2626
    LVL 8

    Accepted Solution

    =IF(VLOOKUP(AQ2,'[MappingTable.xlsm]GBM Mapping Table v4'!$A:$H,8,0)=0,"No PCM SM Found",VLOOKUP(AQ2,'[MappingTable.xlsm]GBM Mapping Table v4'!$A:$H,8,0)

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    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!

    What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
    A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
    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 on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

    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

    8 Experts available now in Live!

    Get 1:1 Help Now