+ Reply to Thread
Results 1 to 8 of 8

IF(ISTEXT nested statement - Please Help

  1. #1
    Registered User
    Join Date
    06-30-2011
    Location
    Union, NJ
    MS-Off Ver
    Excel 2007 / 2010
    Posts
    20

    IF(ISTEXT nested statement - Please Help

    Hi everyone,

    I have creaqted the IF(ISTEXT nested statement below, but when I use it I get one value in return. Can you please check what I am doing wrong? Here is the statemet:

    =IF(ISTEXT(SEARCH("Transporter",L2)),"Validation Request",IF(ISTEXT(SEARCH("DVA",L2)),"Entitlement Request",IF(ISTEXT(SEARCH("Screen Saver Lockdown",L2)),"Exception Request",IF(ISTEXT(SEARCH("MF Account Creation via NGP",L2)),"Entitlement Request",IF(ISTEXT(SEARCH("Guest - WiFi Bulk",L2)),"Exception Request",IF(ISTEXT(SEARCH("QIP",L2)),"Entitlement Request",IF(ISTEXT(SEARCH("ITSec-PSO Privileged Entitlements",L2)),"Entitlement Request",IF(ISTEXT(SEARCH("UnixOps-PA",L2)),"PA Request",IF(ISTEXT(SEARCH("Guest Wireless Sponsor Req",L2)),"PA Request",IF(ISTEXT(SEARCH("Windows PA",L2)),"PA Request",IF(ISTEXT(SEARCH("BatchID Req",L2)),"Entitlement Request",IF(ISTEXT(SEARCH("Discovery Data Access Req",L2)),"Entitlement Request",IF(ISTEXT(SEARCH("EMP Generated MF Entitlements",L2)),"Entitlement Request",IF(ISTEXT(SEARCH("PA Req",L2)),"PA Request",IF(ISTEXT(SEARCH("Ref Tbl Update via NGP",L2)),"Entitlement Request",IF(ISTEXT(SEARCH("TSS MF-User Acct Maintenance",L2)),"Entitlement Request",IF(ISTEXT(SEARCH("WebSite Access",L2)),"Exception Request",IF(ISTEXT(SEARCH("Validation Task",L2)),"Validation Request","Generic"))))))))))))))))))

    The results is always Generic.

  2. #2
    Forum Contributor day92's Avatar
    Join Date
    04-20-2010
    Location
    Los Angeles
    MS-Off Ver
    Excel 360
    Posts
    600

    Re: IF(ISTEXT nested statement - Please Help

    Why not upload the spreadsheet?

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: IF(ISTEXT nested statement - Please Help

    well straight off you have too many if's for excel 2003
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    06-30-2011
    Location
    Union, NJ
    MS-Off Ver
    Excel 2007 / 2010
    Posts
    20

    Re: IF(ISTEXT nested statement - Please Help

    I cannot upload the file, for security reasons.
    This is on Excel 2007

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: IF(ISTEXT nested statement - Please Help

    Search returns a number. Try ISNUMBER instead
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  6. #6
    Registered User
    Join Date
    06-30-2011
    Location
    Union, NJ
    MS-Off Ver
    Excel 2007 / 2010
    Posts
    20

    Re: IF(ISTEXT nested statement - Please Help

    Thanks, it worked...

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: IF(ISTEXT nested statement - Please Help

    i'd do it this way
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    06-30-2011
    Location
    Union, NJ
    MS-Off Ver
    Excel 2007 / 2010
    Posts
    20

    Re: IF(ISTEXT nested statement - Please Help

    Thanks this works too!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1