+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Valued Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    286

    Post conditional format formula modification

    Code:
    =AND(L1="NOT DYED", COUNTIF(DyeQueue,K1&"*")=0)
    dear friends above formula I'm using with conditional format & it's work fine..i need little modification in that formula.i need to check K1 cell first 6 characters with "DyeQueue" range,pls help me to do this.
    Last edited by johncena; 03-20-2010 at 09:47 AM.

  2. #2
    Forum Guru Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    5,139

    Re: conditional format formula modification

    Maybe

    =LEFT("DyeQueue",6)
    or
    =LEFT(K1,6)

    =AND(L1="NOT DYED", COUNTIF(DyeQueue,LEFT(K1,6))=0)

  3. #3
    Valued Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    286

    Post Re: conditional format formula modification

    thanks for your reply marcol.here i have attached my document.pls check it.i need conditional format formula for first sheet column "L"
    Attached Files Attached Files

  4. #4
    Forum Guru Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    5,139

    Re: conditional format formula modification

    I cannot verify the results are correct, only you can do this.

    Code:
    =AND(L1="NOT DYED", COUNTIF(DyeQueue,LEFT(K1,6)&"*")=0)
    does what I think you are asking

    I have amended a copy of your attachment
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    286

    Re: conditional format formula modification

    thanks marcol.my requirement is first sheet column "K" first 6 characters second sheet any columns not available & first sheet column "L" value " NOT DYED " then that cell should highlight.my formula doing this work very well,only the thing is my formula matching only cell values.not first 6 characters.

  6. #6
    Forum Guru Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    5,139

    Re: conditional format formula modification

    Hi johncena

    Code:
    =AND(L1="NOT DYED", COUNTIF(DyeQueue,LEFT(K1,6)&"*")=0)
    this means in words

    If L1="NOT DYED" and order number LEFT(K1,6)&"*", (match the first 6 characters only) is not found in named range "DyeQueue"

    then highlight L1 (yellow is your choice of colour)

    This is what I have done for you in the copy worksheet I posted previously.(Post #4)

  7. #7
    Valued Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    286

    Re: conditional format formula modification

    thanks a lot Marcol.it's work....

  8. #8
    Forum Guru Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    5,139

    Re: conditional format formula modification

    Hi johncena

    Glad to have been of some help.

    If this takes care of your needs, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody!
    Also
    If you are satisfied by any members response to your problem please consider using the scales icon top right of thier post to show your appreciation.

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.2.0