+ Reply to Thread
Results 1 to 3 of 3

If a cell contains a certain text then put a specified text in another cell? New Q & A

  1. #1
    Registered User
    Join Date
    02-22-2012
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2007
    Posts
    13

    If a cell contains a certain text then put a specified text in another cell? New Q & A

    I would like to start by referencing this thread, it's where I started:
    http://www.excelforum.com/excel-form...ther-cell.html
    Please see attached Spreadsheet

    Basically, I need to display 1 if the base is “TEXT” before the underscore is present. Unless the underscore is followed by only a specific word/letter combo.
    I know you may be saying why don’t I program each one individually. Well the formula seems to ignore the next –if(isnumber and reverts back to the first one programmed, therefore giving us a 1 result.
    Additionally, sometimes a new source is added that should reflect result of 1 that I may be unaware of, so if it is added it will show up and correctly display 1. Someone might add TEXT_INMYCAR that is supposed to show up as a 1, I want the rule that will catch it because of the base of “TEXT”. That is why I don’t want to program each source type individually, the only time I would is if a category of other than 1 needs to display.

    In my “5 BLOCK” example
    Any time a 5 is displayed after TEXT_ base then it is still categorized as a 1
    It needs to ignore the first command to categorize it as 1 if the base is “TEXT”

    TEXT_5 BLOCK
    TEXT_5 TIME
    TEXT_5 What What!

    In the attached example, TEXTS should display 20, but the TEXT is being captured and a 1 is displaying.

    I can’t change the source name or desired categories.

    Thank you,
    Price

    Excel Example_if isnumber.xls
    Thank you for the assistance!

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: If a cell contains a certain text then put a specified text in another cell? New Q & A

    Try this......

    Please Login or Register  to view this content.
    and copy down.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    02-22-2012
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: If a cell contains a certain text then put a specified text in another cell? New Q & A

    That seems to be doing the trick, must have been too tired and worn out to think about rearranging the IFs.
    Wondering if this is just a creative workaround or if there is an actual formula that completes the requests.

    Thanks for the response, going to apply this to my work,
    Price

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 01-06-2014, 05:33 AM
  2. Replies: 7
    Last Post: 01-04-2014, 10:11 PM
  3. Formula to identify part of a text in cell from range of cells & insert adjacent cell text
    By Novicebutnotforlong in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-19-2013, 02:11 AM
  4. Search cell for multiple text , return comma separated text in separate cell if found
    By dangerdoug in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-01-2013, 01:52 PM
  5. Replies: 2
    Last Post: 11-29-2012, 11:27 AM

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