+ Reply to Thread
Results 1 to 12 of 12

Respective supplier turn into red if condition met - Condition formating

  1. #1
    Registered User
    Join Date
    05-06-2021
    Location
    London
    MS-Off Ver
    10
    Posts
    24

    Respective supplier turn into red if condition met - Condition formating

    Hi

    Can someone help me please. I want respective supplier like BEW in column turn red if its sum reach to 60 as result. I have also attached the spreadsheet but not sure whether it is attached or not. so I have also copy and paste it below.

    Thanks

    Suppliers Amount
    bew 10
    edmundson 50
    plumbase 70
    cef 50
    bew 40
    edmundson 60
    tglynes 40
    plumbase 10
    bew 10


    Result
    bew 60

    Thanks
    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,748

    Re: Respective supplier turn into red if condition met - Condition formating

    do you want to highlight any supplier that reaches 60 and WHY 60

    Conditional formatting rule

    =SUMIF($G$8:$G$16,$G8,$H$8:$H$16)=60

    or are you after the supplier with the highest number

    I dont understand why its 60 or BEW ?
    Attached Files Attached Files
    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
    Registered User
    Join Date
    05-06-2021
    Location
    London
    MS-Off Ver
    10
    Posts
    24

    Re: Respective supplier turn into red if condition met - Condition formating

    Hi etaf, thanks Actually we have many suppliers and they have credit limit with us. I just want to create a column with all suppliers, purchase order and its amount. I want when the total of purchase orders of each supplier touch the credit limit it flag up by turning that particular supplier into red. So that we do not place any further order with them.

    Hope I answer your question.

  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,748

    Re: Respective supplier turn into red if condition met - Condition formating

    we have many suppliers and they have credit limit with us.
    where would that credit limit list be kept ?
    I have made a table of credit limit for each supplier in columns K&L
    and then looked up that value and set conditional formatting based on that value

    =SUMIF($G$8:$G$16,$G8,$H$8:$H$16)>=INDEX($L$8:$L$12,MATCH($G8,$K$8:$K$12,0))

    is that the sort of thing ?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-06-2021
    Location
    London
    MS-Off Ver
    10
    Posts
    24

    Re: Respective supplier turn into red if condition met - Condition formating

    Yes it is pretty much what I am after. But suppliers column have been restricted with dollar sign which I assume will not accommodate further lines. what I was trying that I will keep inputting the value until it flags up. but in this case I think further entries have been blocked because of dollar sign. Also would be really grateful if you can tell me step wise how can I manage that rule

    Thanks

  6. #6
    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,748

    Re: Respective supplier turn into red if condition met - Condition formating

    just change the ranges to fit your data

    The range summing , for example 10000 or more

    =SUMIF($G$8:$G$10000,$G8,$H$8:$H$10000)>=INDEX($L$8:$L$12,MATCH($G8,$K$8:$K$12,0))

    same for the credit limit range
    INDEX($L$8:$L$100,MATCH($G8,$K$8:$K$100,0))
    for say upto row 100 or more

    let say you want to goto 100,000 rows adding together and you have 1000 rows of reference
    and that data actually starts in row 2 in your real data

    =SUMIF($G$2:$G$100000,$G2,$H$2:$H$100000)>=INDEX($L$8:$L$12,MATCH($G8,$K$8:$K$12,0))
    and the reference maybe starting at row 2 on a different sheet
    =SUMIF($G$2:$G$100000,$G2,$H$2:$H$100000)>=INDEX(Sheet2!$L$2:$L$100,MATCH($G2,sheet2!$K$2:$K$100,0))

  7. #7
    Registered User
    Join Date
    05-06-2021
    Location
    London
    MS-Off Ver
    10
    Posts
    24

    Re: Respective supplier turn into red if condition met - Condition formating

    Hi etaf, thanks apology couldn't reply you last night as I got sleep. Can you please tell me how did you conjoined the conditional formatting " Rules (applied in order shown) =SUMIF($G$8:$G$16,$G8,$H$8:$H$16)>=INDEX($L$8:$L$12,MATCH($G8,$K$8:$K$12,0)) with applies to (=$G$8:$H$16)

    Thanks

  8. #8
    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,748

    Re: Respective supplier turn into red if condition met - Condition formating

    Can you please tell me how did you conjoined the conditional formatting " Rules (applied in order shown)
    sorry not sure what you mean.
    I saw a rule already applied , so assumed you know how to add to conditional formatting

    This part sums up the spend by company name
    =SUMIF($G$8:$G$16,$G8,$H$8:$H$16)

    >=

    This looks up the company name to see how much is credit limit
    INDEX($L$8:$L$12,MATCH($G8,$K$8:$K$12,0))

    Then it tests to see if the sum is greater or equal to the credit limit

    so you get a true or false

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

    Highlight applicable range >>
    G8:H100 - 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:
    =SUMIF($G$8:$G$16,$G8,$H$8:$H$16)>=INDEX($L$8:$L$12,MATCH($G8,$K$8:$K$12,0))

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

  9. #9
    Registered User
    Join Date
    05-06-2021
    Location
    London
    MS-Off Ver
    10
    Posts
    24

    Re: Respective supplier turn into red if condition met - Condition formating

    Thanks etaf, done. I am new on this forum so do not know how can I leave remarks. What shall I do? Appreciated your help.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,856

    Re: Respective supplier turn into red if condition met - Condition formating

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

    Administrative Note:

    Members will tailor the solutions they offer to the version of Office (Excel) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  11. #11
    Registered User
    Join Date
    05-06-2021
    Location
    London
    MS-Off Ver
    10
    Posts
    24

    Re: Respective supplier turn into red if condition met - Condition formating

    Many Thanks very helpful forum and very talented individuals sitting here.

  12. #12
    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,748

    Re: Respective supplier turn into red if condition met - Condition formating

    you are welcome

+ 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] Turn On custom Alerts when Spreadsheet Opens, based off a condition
    By lougs7 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-20-2018, 12:06 PM
  2. How to turn cell blank if SUMIF, COUNTIF condition not met
    By ash2017 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-19-2017, 12:07 AM
  3. Condition formating
    By virencm in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-30-2014, 08:42 PM
  4. [SOLVED] Turn one column into three if a condition is met
    By luke.guthrie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-16-2013, 02:09 PM
  5. Condition Formating
    By Hlowmaster in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2010, 04:31 PM
  6. [SOLVED] condition formating I think
    By Dreamstar_1961 in forum Excel General
    Replies: 3
    Last Post: 05-05-2006, 12:35 PM
  7. [SOLVED] condition formating
    By chiuinggum in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-01-2006, 08:00 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