+ Reply to Thread
Results 1 to 6 of 6

Highlight the cells that make up the sumif forumla

  1. #1
    Registered User
    Join Date
    12-05-2018
    Location
    Trinidad
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    3

    Highlight the cells that make up the sumif forumla

    Good Day All,

    I did a sum if formula with partial matching for a list of Shipment IDs and its costs. It returns the total cost of all the shipment IDs that match. Now I am trying to highlight or identify in any way those figures that have been used to get the results of the formula. This is to ensure that all shipments are accounted for and those that have not can be found.

    This is my formula used:

    =SUMIF($A$2:$A$12,"*"&A15&"*", $B$2:$B$12)

    Any help would be greatly appreciated.

    Thank you,
    Teri

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,068

    Re: Highlight the cells that make up the sumif forumla

    Select B2:B12 & use conditional formatting with this formula
    =ISNUMBER(SEARCH(A$15,A2))

  3. #3
    Registered User
    Join Date
    12-05-2018
    Location
    Trinidad
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    3

    Re: Highlight the cells that make up the sumif forumla

    Thank you so much.
    It works perfectly, but just for one of the sumifs.

    This is an example of the spreadsheet I'm using :
    Capture-excel.PNG

    I'm trying to highlight all cells which were used to get those results from the formula.
    I'm using sum if partial match for multiple shipments and getting the values of those.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,068

    Re: Highlight the cells that make up the sumif forumla

    You can nest the formula like
    =OR(ISNUMBER(SEARCH(A$15,A2)),ISNUMBER(SEARCH(A$16,A2)))
    for each value you want to check

  5. #5
    Registered User
    Join Date
    12-05-2018
    Location
    Trinidad
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    3

    Re: Highlight the cells that make up the sumif forumla

    Works great! Been searching how this can be done for almost a week!

    Thank you so much!

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,068

    Re: Highlight the cells that make up the sumif forumla

    Glad to help & thanks for the feedback

+ 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. how to make forumla that treat blank cells as a zero?
    By Bingsmart in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-06-2017, 11:58 AM
  2. Forumla help - sumif maybe?
    By holly1212 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-15-2015, 08:06 AM
  3. Make forumla lookup value rather than forumla
    By Jbraviator in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-09-2015, 01:00 PM
  4. Forumla error - SumIf
    By SharpL in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-10-2014, 09:40 AM
  5. [SOLVED] Forumla Help - SumIf/SumIfs??
    By jlo33 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-31-2013, 02:25 PM
  6. Countif Or sumif forumla
    By masond3 in forum Excel General
    Replies: 4
    Last Post: 07-06-2012, 08:00 AM
  7. [SOLVED] How do I make a check box highlight cells if true?
    By BrianXJ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-26-2006, 09:30 AM

Tags for this Thread

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