+ Reply to Thread
Results 1 to 7 of 7

How to Highlight Rows which Matched SUMIF ?

  1. #1
    Registered User
    Join Date
    06-26-2022
    Location
    Canada
    MS-Off Ver
    2016
    Posts
    3

    Question How to Highlight Rows which Matched SUMIF ?

    I'm using the following SUMIF formulas within two different cells ...

    =SUMIF(B2:B118,"*E-PAYMENT*",D2:D118)
    =SUMIF(B2:B118,"*USSD*",D2:D118)

    I would like to single click the formula cell to then highlight the Rows (or Cells) which matched the condition.

    Thank you for saving me time.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: How to Highlight Rows which Matched SUMIF ?

    HI and welcome to the forum

    I think you'll find in order to accomplish that you'll need to use VBA.
    If that's an option for you then attach a sample workbook (densensitize any personal data) and we can help with code from there.

    BSB

  3. #3
    Registered User
    Join Date
    06-26-2022
    Location
    Canada
    MS-Off Ver
    2016
    Posts
    3

    Re: How to Highlight Rows which Matched SUMIF ?

    Quote Originally Posted by BadlySpelledBuoy View Post
    HI and welcome to the forum

    I think you'll find in order to accomplish that you'll need to use VBA.
    If that's an option for you then attach a sample workbook (densensitize any personal data) and we can help with code from there.

    BSB
    I would very much appreciate that. I've attached a sample workbook.
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,002

    Re: How to Highlight Rows which Matched SUMIF ?

    YOU can use Cionditional formatting using something like this:

    =ISNUMBER(SEARCH("E-Payment",$B1))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: How to Highlight Rows which Matched SUMIF ?

    See attached for my VBA approach to it. Well this is one way, there will me many different ways of doing the same:
    Please Login or Register  to view this content.
    BSB
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    06-26-2022
    Location
    Canada
    MS-Off Ver
    2016
    Posts
    3

    Re: How to Highlight Rows which Matched SUMIF ?

    Excellent stuff. Very good to have 2 different approaches.

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,002

    Re: How to Highlight Rows which Matched SUMIF ?

    You're welcome. BSB's is, of course, closer to your exact requirement.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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. Replies: 7
    Last Post: 02-13-2022, 05:02 PM
  2. [SOLVED] Using SUMIF to keep a running total based on there being matched data in three columns.
    By randall78 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-17-2021, 01:36 PM
  3. [SOLVED] 2 columns of 2 different sheets if Not matched it will highlight
    By AaruJaan in forum Excel General
    Replies: 12
    Last Post: 01-04-2019, 05:45 PM
  4. How to highlight cell which is not matched from another sheet
    By Liju144 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-17-2017, 01:10 PM
  5. [SOLVED] How to highlight matched name in two column?
    By Indra Rai in forum Excel General
    Replies: 3
    Last Post: 10-20-2016, 03:50 AM
  6. [SOLVED] Highlight matched values
    By fatalcore in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-11-2013, 01:41 PM
  7. Highlight matched data in different worksheets
    By ndikondayesu in forum Excel General
    Replies: 3
    Last Post: 12-13-2006, 12:49 PM

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