+ Reply to Thread
Results 1 to 7 of 7

Conditional Formatting Help needed

  1. #1
    Forum Contributor
    Join Date
    10-02-2023
    Location
    Singapore
    MS-Off Ver
    Microsoft 365
    Posts
    183

    Conditional Formatting Help needed

    Hi, i know how to do Conditional Formatting for Single Cell value = Specific text, however, i wan to do it for 2 Criteria. One Row and one column Criteria.

    However, i keep do not get the result. Not sure y. Anyone can help?
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,749

    Re: Conditional Formatting Help needed

    EDIT - simple way posted by @davsth , so ignore mine

    how about
    =SUMIFS(C2,$B2,$K$2,C$1,$K$1)

    i'm sure a simplier way is possible - just eludes me at the moment
    sumproduct() will work as well

    for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
    Conditional Formatting

    Highlight applicable range >>
    C2:I10 - Change, reduce or extend the rows to meet your data range of rows

    Home Tab >> Styles >> Conditional Formatting
    New Rule >> Use a formula to determine which cells to format
    Edit the Rule Description: Format values where this formula is true:
    =SUMIFS(C2,$B2,$K$2,C$1,$K$1)

    Format [Number, Font, Border, Fill]
    choose the format you would like to apply when the condition is true
    OK >> OK

    i suspect better ways to do this - I also tried sumproduct , which worked
    Attached Files Attached Files
    Last edited by etaf; 03-19-2024 at 07:30 AM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Conditional Formatting Help needed

    it would be simpler as a countifs, but pretty much the same logic
    =countifs($B2,$K$2,C$1,$K$1)

    or even
    =($B2=$K$2)*(C$1=$K$1)

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,749

    Re: Conditional Formatting Help needed

    @davsth
    =($B2=$K$2)*(C$1=$K$1)
    tried some of that type of thing - just had brain fade
    i'm sure a simpler way is possible - just eludes me at the moment
    I knew there was a much simpler way

    so ignore my post here

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Conditional Formatting Help needed

    This works.
    Select C2:I10. Formula for CF is
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Conditional Formatting Help needed

    Another formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    10-02-2023
    Location
    Singapore
    MS-Off Ver
    Microsoft 365
    Posts
    183

    Re: Conditional Formatting Help needed

    Hi to all the expert out there. Thanks for all the suggestion. So glad i manage to find a solution.

+ 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. Conditional formatting help needed.
    By AidyBege in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-22-2020, 04:12 PM
  2. [SOLVED] Conditional Formatting C&P Help needed!
    By mlennox2701 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-22-2017, 07:20 AM
  3. [SOLVED] Conditional Formatting Help Needed
    By CommanderCougs in forum Excel General
    Replies: 2
    Last Post: 06-10-2015, 04:08 PM
  4. [SOLVED] Conditional Formatting Help Needed Please
    By DallasArosco in forum Excel General
    Replies: 7
    Last Post: 01-15-2014, 02:33 PM
  5. [SOLVED] Conditional Formatting help needed
    By rajys in forum Excel General
    Replies: 4
    Last Post: 11-23-2012, 08:16 AM
  6. Conditional formatting needed for shape colour - is programming needed?
    By Farmboyuk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-14-2012, 07:27 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