+ Reply to Thread
Results 1 to 10 of 10

Conditional Formatting help

  1. #1
    Forum Contributor
    Join Date
    11-11-2011
    Location
    London, England
    MS-Off Ver
    EXCEL 2013
    Posts
    324

    Conditional Formatting help

    HI GUYS and girls

    I need help with conditional formatting.



    there are 5 columns, within these 5 columns there will be two kinds of data. Either a number or -. (-) is meant to show n/a, but for reporting purposes I need it to remain (-)
    the columns in question is q –u
    I need the conditional formatting to searches across the multiple columns, and whatever the last number is within those 5 column highlight that particular cell but only highlight the cell if its higher than the average

    I have created averages for each column between q-u which is located in column ac- ad

    Also the conditional formatting, cant apply if the stage, column f is Opportunity lost or live transactions

    please find attached worksheet
    Attached Files Attached Files

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

    Re: Conditional Formatting help

    Does this formula for CF accomplish what you want for column Q?

    =AND(ISNUMBER(Q2),COUNT(R2:U2)=0,Q2>$AD$2)

    If so, each column needs to be different formula so adjust it for the other columns

    Column R would be:

    =AND(ISNUMBER(R2),COUNT(S2:U2)=0,R2>$AD$3)

    For column U you would just need:

    =AND(ISNUMBER(U2),U2>$AD$6)
    Last edited by Cutter; 07-08-2012 at 07:53 AM. Reason: Corrected formulas & added 3rd

  3. #3
    Forum Contributor
    Join Date
    11-11-2011
    Location
    London, England
    MS-Off Ver
    EXCEL 2013
    Posts
    324

    Re: Conditional Formatting help

    Sorry to be a pain cutter, can you apply it the worksheet ?
    I have found an old worksheet which i have just attached, where i applied cf, hopefully that will explain what i mean
    Attached Files Attached Files

  4. #4
    Forum Contributor vikas.bhandari's Avatar
    Join Date
    04-07-2006
    Location
    Delhi, India
    MS-Off Ver
    Office 2007 and 2010
    Posts
    303

    Re: Conditional Formatting help

    Let me know if you were not looking for the similar output.

    I have made a conditional formatting in the attached book which highlights the last value in Column Q to U in Blue color if the values are greater than the average calculated on right.

    Thanks,
    Vikas B
    Attached Files Attached Files
    Last edited by vikas.bhandari; 07-08-2012 at 08:00 AM. Reason: Updated CF Formula with Cutter's formula.

  5. #5
    Forum Contributor
    Join Date
    11-11-2011
    Location
    London, England
    MS-Off Ver
    EXCEL 2013
    Posts
    324

    Re: Conditional Formatting help

    Vikas , that is pretty much what i need, however if the stage is live transaction or opportunity lost, then the conditional formatting , shouldn’t be applied.

    Also instead of highlighting every cell which is higher than the average in ab, I needs to highlight the very last stage its at, but only if its higher than the average.

    so you should affectively only have highlighted cell per row, if its at one of the stages and higher than the average

    if its lower than the average nothing should be highlighted

  6. #6
    Forum Contributor vikas.bhandari's Avatar
    Join Date
    04-07-2006
    Location
    Delhi, India
    MS-Off Ver
    Office 2007 and 2010
    Posts
    303

    Re: Conditional Formatting help

    Here you go
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    11-11-2011
    Location
    London, England
    MS-Off Ver
    EXCEL 2013
    Posts
    324

    Re: Conditional Formatting help

    vikas, you clever man

    as my data set always grows, will the conditional formatting also grow ?

  8. #8
    Forum Contributor vikas.bhandari's Avatar
    Join Date
    04-07-2006
    Location
    Delhi, India
    MS-Off Ver
    Office 2007 and 2010
    Posts
    303

    Re: Conditional Formatting help

    You will need to copy any cell with formatting and paste the formatting to the new cells. It would do.

    Thanks!
    Vikas

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

    Re: Conditional Formatting help

    I may as well give you my version since it has different formulas:

    For example:

    Mine: =AND(F2<>"Live Transactions",F2<>"Opportunity Lost",COUNT(R2:U2)=0,1*Q2>$AD$2)

    Vikas: =AND(Q2>$AD$2,COUNT(R2:U2)=0,ISNUMBER(Q2),NOT(OR(F2="Opportunity Lost", F2="Live Transactions")))
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    11-11-2011
    Location
    London, England
    MS-Off Ver
    EXCEL 2013
    Posts
    324

    Re: Conditional Formatting help

    HI cutter, looking at your formula, it looks like you have referenced the column, so regardless of the ammount of data is in there, the formatting will always apply as your reference the stage column, which will never change, and also the averages, which will never change. is that correct ?

+ 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