+ Reply to Thread
Results 1 to 5 of 5

Resolved >>> IFTEXT usage?

  1. #1
    Registered User
    Join Date
    10-23-2007
    Posts
    3

    Resolved >>> IFTEXT usage?

    Hello,

    I have a sheet of addresses and have a column that indicates if I have shipped them something. I would like to populate the "shipped" column with an item name, then have excel pull the address onto a separate sheet if that column contains specific text. I tried the following formula:

    =IF(ISTEXT(SEARCH("*CD",Sheet1!X2)),Sheet1!A2)

    It currently is only returning FALSE even though X2 contains the word "CD". Is there a way to have Excel return a cell's data instead of a TRUE/FALSE?

    Any help would be greatly appreciated, and please let me know if I need to provide additional details.

    Thanks!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    See Help for SEARCH. It returns either a number or an error (#VALUE!), not text. You also don't need the wildcard character.

  3. #3
    Registered User
    Join Date
    10-23-2007
    Posts
    3
    How would I get it to return the data in a cell rather than TRUE/FALSE?

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by RicardoQueso
    How would I get it to return the data in a cell rather than TRUE/FALSE?
    You probably want:

    =IF(ISNUMBER(SEARCH("CD",Sheet1!X2)),Sheet1!A2, "Not Found")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  5. #5
    Registered User
    Join Date
    10-23-2007
    Posts
    3
    NBVC, you are a hero, that worked perfectly! You've saved me at least of couple of hours of cutting and pasting today, thanks so much!

+ 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