+ Reply to Thread
Results 1 to 4 of 4

IF THEN or Conditional Formatting question help request

Hybrid View

  1. #1
    Registered User
    Join Date
    07-25-2012
    Location
    Ashburn, VA, USA
    MS-Off Ver
    Excel 2010 Starter
    Posts
    8

    IF THEN or Conditional Formatting question help request

    IF THEN or Conditional Formatting question

    I am using excel 2010 starter. I have a column that has alpha numeric characters.

    1500-[D]-CK-Brz_PLN..................E0809
    1500-[D]-CK-Brz_PLN..................E0810
    1500-[D]-CK-Brz_PLN..................E0811
    1500-[D]-CK-Bur_PLN..................E0812

    need to create a formula or something so that I can do the ff

    assuming that the column above is Column A....and rows/cells above are
    1a,2a,3a,4a, etc...

    I want that
    1. if cell 1a contains 1500 within the first assume 30 characters with in cell 1b...display 1500
    2. if cell 1a contains "D" within [] which is part of the cell display Duvet in 1c
    if cell 1a contains Brz within the first assume 30 characters display Bronze in 1d


    basically finding a way /formula that does

    if [cell contains xyx but does not contain y] within the first X character, print [phrase/value] in cell #...value.

    Thanks.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: IF THEN or Conditional Formatting question help request

    Based on your descriptions, try these in B1:D1

    =IF(ISNUMBER(SEARCH(1500,LEFT(A1,30))),1500,"")

    =IF(ISNUMBER(SEARCH("[D]",A1)),"Duvet","")

    =IF(ISNUMBER(SEARCH("Brz",LEFT(A1,30))),"Bronze","")

    copied down
    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.

  3. #3
    Registered User
    Join Date
    07-25-2012
    Location
    Ashburn, VA, USA
    MS-Off Ver
    Excel 2010 Starter
    Posts
    8

    Re: IF THEN or Conditional Formatting question help request

    Worked perfectly. Thanks so much !!!
    Last edited by Cutter; 07-25-2012 at 09:26 PM. Reason: Removed whole post quote

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: IF THEN or Conditional Formatting question help request

    @ ac14461

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

+ 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