+ Reply to Thread
Results 1 to 4 of 4

Condtional Formatting Help

  1. #1
    Registered User
    Join Date
    11-20-2015
    Location
    Cheshire, England
    MS-Off Ver
    2013
    Posts
    11

    Condtional Formatting Help

    Hi,

    I have posted about this previously but it seems to have been forgotten about. So i am bringing my query forward in a new post.

    I have a sheet Basic Summary Sheet.xlsx which uses the index and match formulas with the end prospect of conditionally formatting (highlighting red) which values are elevated.

    If you look at the second tab 'Formatting' you can see my data which is in the range h7:u13.
    This will be pasted in from another data source and so the values are variable.

    Then what happens is each of these values are compared to the corresponding value in the range C7:E13.

    For example take 'K11' the value pasted is '1.08'
    This should be compared to the value '440' - because it is on row 11 and the corresponding header on row 5 (cell k5) is '6%'.

    With the help of some other ExcelForum gods i have created a tab 'values' which displays the correct comparison for each cell in the range h7:u13. This seems to work.

    However my problem arises when i try and apply this to conditional formatting. You shall see that in tab 'Formatting' Using the formula '=N11>=INDEX(Screening_TableF,,MATCH(INDEX(SOM_BracketF,,COLUMN()-7)+0,Screening_HeaderF,0))' Only appears to work for the top row (row 7). You can see i have tried to apply this to cell N11, but this is not working properly.
    Obviously i want this to work for each individual cell in the range E7 : U13
    I don't fully understand the formula so any help to resolve this would be greatly appreciated.

    Regards,
    Dan Gates

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Condtional Formatting Help

    To begin with, you can simplify the formua you use in Values table from this...
    =INDEX(Screening_Table,,MATCH(INDEX(SOM_Bracket,,COLUMN()-7)+0,Screening_Header,0))
    to this...
    =INDEX(Screening_Table,ROWS($7:7),MATCH(--H$5,Screening_Header,0))

    Then, you need to adjust the "Applies To" range to cover the whole table in Formatting...
    =$H$7:$U$13

    Let me know if that was what you wanted?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    11-20-2015
    Location
    Cheshire, England
    MS-Off Ver
    2013
    Posts
    11

    Re: Condtional Formatting Help

    Yeah, this is just how i wanted it to function.
    Can you explain why the array of the match function needs to be '--H$5' and does not work by using the array $h$7:$u$13 ?

    Many Thanks,

    Dan

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Condtional Formatting Help

    You have text in row 5, it just looks like a number. The -- (double negative) converts the numeric text string back to a number.
    You have '6% inthat cell, which, to excel, might just as well be "6 percent", but your table actually has 0.06, so it cannot find what you want

    You could probably do it the other way, and remove the "" from the formula in the headings

+ 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. [SOLVED] Condtional Formatting
    By rizmomin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-20-2015, 01:24 PM
  2. VBA Condtional formatting help
    By sammy99 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-06-2013, 04:00 AM
  3. Condtional formatting
    By tinkerbelle in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2013, 09:26 AM
  4. [SOLVED] VBA or Condtional Formatting
    By persais in forum Excel General
    Replies: 9
    Last Post: 08-16-2012, 12:01 PM
  5. Condtional Formatting
    By univerco in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-11-2011, 05:43 PM
  6. Condtional formatting
    By gandolff in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-09-2009, 08:58 PM
  7. condtional formatting help
    By diesel20056 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-17-2006, 11:16 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