+ Reply to Thread
Results 1 to 9 of 9

Multiple condition formula

  1. #1
    Registered User
    Join Date
    08-19-2016
    Location
    Pembs, UK
    MS-Off Ver
    10
    Posts
    3

    Multiple condition formula

    Hi, can anyone here help me?... I'm trying to apply multiple conditions to a formula and have attached a screen shot for reference.

    Capture.JPG

    The spreadsheet displays scores from a surf contest... The first thing I want to do is highlight the top 2 scores in a range eg. D8 to O8. In this particular range the second highest score appears twice and therefore 3 cells are highlighted... I'd like to highlight a max of 2 cells in that range and only count the duplicate score which appeared first in the row. However if the top score is duplicated, then both and only those cells need to highlighted. see row 32.

    Another thing I'd like to do is with reference to row 34... If "INT" is present in a row the only the top 1 score is to be highlighted.

    Lastly... I cell B6 I'd like to display the average of only the green coloured cells in the range D7 to O9.

    Any help would be hugely appreciated.

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

    Re: Multiple condition formula

    Please attach a sample workbook. Make sure there is enough data to demonstrate your need. Make sure your desired results are shown, mock them up manually if necessary. Remember to remove ALL confidential information first!!!

    However, nothing on this Forum works quite as well as you might expect. The attachment icon doesn't work!! (Helpful, isn't it!!). Instead, just before you submit your post, click on GO ADVANCED (near the bottom) and then scroll down to Manage Attachments to open the upload window. The relevant instructions are at the top of that screen.
    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

  3. #3
    Registered User
    Join Date
    08-19-2016
    Location
    Pembs, UK
    MS-Off Ver
    10
    Posts
    3

    Re: Multiple condition formula

    Hi Glenn, Thanks for responding. I'll have a go at attaching the sample.
    Attached Files Attached Files

  4. #4
    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. 2407 (Windows 11 23H2 64-bit)
    Posts
    82,886

    Re: Multiple condition formula

    Is this a formatting question or about how to get the results in columns P and Q?
    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.

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,856

    Re: Multiple condition formula

    You can get the total in P7 using this formula:

    =LARGE(D7:O7,1)+LARGE(D7:O7,2)*(COUNTIF(D7:O7,"int")=0)

    Copy down as required.

    Hope this helps.

    Pete

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,856

    Re: Multiple condition formula

    You can get the average in B6 using this formula:

    =SUM(P7:P9)/(6-COUNTIF(D7:L9,"int"))

    Copy into B11 etc.

    Hope this helps.

    Pete

  7. #7
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Multiple condition formula

    Hi
    You can format with conditional formatting from D7 to O14 using this formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    See the file
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    08-19-2016
    Location
    Pembs, UK
    MS-Off Ver
    10
    Posts
    3

    Smile Re: Multiple condition formula

    Wow!

    Thanks so much to all of you for your help... My spreadsheet is performing how I want it to now.

    Thanks again.

  9. #9
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,856

    Re: Multiple condition formula

    You're welcome, and thanks for the rep.

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

    Pete

+ 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. help with multiple condition formula
    By pembr0ke in forum Excel General
    Replies: 1
    Last Post: 02-17-2016, 11:25 AM
  2. [SOLVED] Multiple condition formula
    By visshukaka in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-06-2014, 06:21 PM
  3. [SOLVED] Multiple condition formula?
    By ciapul12 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 04-18-2014, 04:31 PM
  4. [SOLVED] Need help with a multiple formula condition
    By cenicero in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-20-2013, 09:01 AM
  5. Multiple condition formula
    By Cjax in forum Excel General
    Replies: 11
    Last Post: 07-28-2009, 10:36 AM
  6. Multiple condition IF formula
    By pcarpilot in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-17-2006, 11:07 PM
  7. [SOLVED] Multiple Condition Formula
    By prolixity in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-12-2005, 09:06 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