+ Reply to Thread
Results 1 to 5 of 5

If formula with one criteria

  1. #1
    Registered User
    Join Date
    08-16-2022
    Location
    Bucharest, Romania
    MS-Off Ver
    2013
    Posts
    39

    If formula with one criteria

    Hi guys



    I have a column with order IDs, these are repeating at product level, so if I have 5 products in an order - I have 5 lines.
    I need to highlight the orders that have ONLY products from a specific category.

    I could really use your help guys, and thank you in advance,

    Pls check the attachment.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: If formula with one criteria

    Try this,
    F4=IF(SUMPRODUCT($B$4:$B$12*($A$4:$A$12=E4)*($B$4:$B$12<>888))=0,"yes","no"), copy down.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,217

    Re: If formula with one criteria

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copied down.

    Or better
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by TMS; 10-21-2022 at 03:53 AM.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    08-16-2022
    Location
    Bucharest, Romania
    MS-Off Ver
    2013
    Posts
    39

    Re: If formula with one criteria

    Thanks so much for your help!!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,539

    Re: If formula with one criteria

    If that takes care of your original question, please choose 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 (* Add Reputation) 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.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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: 1
    Last Post: 04-09-2021, 11:09 AM
  2. Replies: 9
    Last Post: 10-02-2019, 12:08 PM
  3. [SOLVED] COUNTIFS formula to count for 2 criteria inside one criteria area
    By signekolind in forum Excel General
    Replies: 4
    Last Post: 08-07-2019, 04:39 AM
  4. Replies: 2
    Last Post: 11-21-2018, 02:36 PM
  5. Replies: 4
    Last Post: 04-14-2017, 05:14 PM
  6. Replies: 7
    Last Post: 07-07-2014, 09:48 AM
  7. Replies: 1
    Last Post: 05-16-2011, 05: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