+ Reply to Thread
Results 1 to 14 of 14

Conditional Format

  1. #1
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723

    Conditional Format

    HI,

    this is the data i have in column d starting at rows 6 . this data could vary and could be 200 rows long

    RH SIDE SPLAYED
    LH SIDE 2100X718
    TOP /BOTTOM 1664X699
    TOP /BOTTOM 1764X699
    BACK BOARD 1982X882
    BACK 1982X832
    RH DIVIDER 1982X582
    SHELF 864X560
    SHELF
    SHELF 814X560
    PLINTH 1664X82 1=2
    PLINTH 1764X82 1=2

    the conditon i have at the minute is
    =not(iserror(search("splayed"),d6)))
    this will highlight red
    what i need to also do is that if there is no numbers at the end of the text
    also highlight red . see "shelf "as an exapmle

    thanks
    steve

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Try this,

    =ISNUMBER(RIGHT(A1,1)*1)=FALSE
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723
    Thanks,

    could you please advise on this one
    this is what i use on one conditional and it works great
    =and(isblank(e8),(a8>0))
    i have tried this on another worksheet using column d not e but it will not work because there is a formular in column d could you please modify it to suit

    thanks
    steve

  4. #4
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    EDIT: the forumla did not work, try this one:

    =and(NOT(ISNUMBER($d$8)),(a8>0))
    Last edited by BigBas; 02-28-2007 at 11:50 AM.

  5. #5
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723
    hi,

    please see attached file sheet 1 is where tha data is, sheet2 is the link sheet
    sheet 1 row 4 column "a" has "d" in it column d row 4 has no data in it

    sheet 2 column "d" row "4 " i needs to turn "red " as this indicates no size has been put in sheet 1

    sheet 2 is the document that is supplied to the shop floor

    thanks
    Attached Files Attached Files

  6. #6
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Delete the condition you have on D4, then change it to:-

    Condition 1 - Cell value is - less than or equal to - 0

    Now you could format the cell to RED, which is what you asked for and apply the same formatting to the remainder of the column with the PaintBrush icon, or you could format the font to WHITE so that the cell displays "blank" until it gets a value above 0, up to you?

  7. #7
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723
    the condition is not working correctly it is only looking at column d it needs i think to see if there is any data other than the formular in column "a" if not make the condition work


    steve
    Last edited by stevekirk; 03-01-2007 at 07:48 AM.

  8. #8
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    If you follow every step in my last post, it will work as requested

  9. #9
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723
    hi,

    i think i have done what you have told me but it is not highlighting just "d4"
    please see file attached

    thanks
    steve
    Attached Files Attached Files

  10. #10
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    If you want to apply the same formatting to any cell in any column, click on one of the RED cells, click the Painbrush icon and click on the range of cells in any column/or all columns you wish to apply the same formatting to. Does that work for you?

  11. #11
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723
    HI,

    no, I need the cell in column "d" to turn red only if there is nothing in it except the "0" yet there is something in column "a" other than the "0"

    steve

  12. #12
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by stevekirk
    HI,

    no, I need the cell in column "d" to turn red only if there is nothing in it except the "0" yet there is something in column "a" other than the "0"

    steve
    select column D (D1 as the active cell) and CF with formula

    =AND(A1<>0,D1=0)


    this disagrees with your first post, but appears correct for your last post.

    for your first post, you would need the formula

    =IF(AND(D1=0,LEN(A1)>1,ISNUMBER(VALUE(RIGHT(A1,1)))),1,0)

    (adjust to row 6 if you need to avoid rows 1 to 5)

    hth
    ---amended since you read!
    Last edited by Bryan Hessey; 03-01-2007 at 09:49 AM.
    Si fractum non sit, noli id reficere.

  13. #13
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723
    thanks bryan,
    works ok

    the first post was solved ok, because i was doing conditional formating the second question was asked.

    i should have used another post(sorry)

    steve

  14. #14
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by stevekirk
    thanks bryan,
    works ok

    the first post was solved ok, because i was doing conditional formating the second question was asked.

    i should have used another post(sorry)

    steve
    aaha - ok, it's almost Cinderella time, everything goes a little fuzzy, but good to see that you have a working solution.

    ---

    hi oldchippy

+ 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