+ Reply to Thread
Results 1 to 7 of 7

Count only AD sets

  1. #1
    Forum Contributor
    Join Date
    08-06-2006
    Location
    Spain
    MS-Off Ver
    Excel 2010 32Bit
    Posts
    545

    Count only AD sets

    Using Excel 2010
    Hello,

    I need to count AD sets till they finds in any of the 2 upper and lower rows…, If there are number in both rows just highlight cell in colour red…, if both are blank result 0

    Please help.

    Regards,
    Moti
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2021
    Posts
    968

    Re: Count only AD sets

    In cell 'C72' try;
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Then pull across.

    You can also pull down, but need to adjust the range as the range is 2 rows.
    Conditional formatting to for red cells applied only to first 4 rows where I entered the formula for you.
    Attached Files Attached Files
    If your Question is answered; please mark it SOLVED. If you are happy with a member's solution, say 'Thanks' and click the 'Star' to Add Reputation.

  3. #3
    Forum Contributor
    Join Date
    08-06-2006
    Location
    Spain
    MS-Off Ver
    Excel 2010 32Bit
    Posts
    545

    Re: Count only AD sets

    @ORoos, formula does work but I have plenty of set more than 600+ so far will be difficult to apply formula for each set independently one by one. Any ways thank you for your help. Good Luck!

    I will wait if anyone suggests VBA solution for this.

    Kind Regards,
    Moti

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,798

    Re: Count only AD sets

    Please Login or Register  to view this content.

    Change the highlighted code as required.
    Attached Files Attached Files
    Last edited by JohnTopley; 04-08-2024 at 04:13 AM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  5. #5
    Forum Contributor
    Join Date
    08-06-2006
    Location
    Spain
    MS-Off Ver
    Excel 2010 32Bit
    Posts
    545

    Re: Count only AD sets

    @JohnTopley, this is an all-in-one solution also thank you for giving easy and flexible range changes choice.

    I appreciate your time to solve this problem. I wish you good day and good luck.

    Kind Regards,
    Moti

  6. #6
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2021
    Posts
    968

    Re: Count only AD sets

    Although John beat me to it, I post my solution anyway

    You can also adjust the start of the Rows to analyze, and the row where the results start.



    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    08-06-2006
    Location
    Spain
    MS-Off Ver
    Excel 2010 32Bit
    Posts
    545

    Re: Count only AD sets

    @ORoos, thank you for giving one more option. JT’s code is bit more flexible; I wish you good day and good luck.

    Kind Regards,
    Moti

+ 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] Count duplicate sets of 2 numbers
    By Gulya in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-08-2021, 01:31 AM
  2. [SOLVED] What function could i use to count number of sets?
    By Lazzal in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-02-2018, 11:19 AM
  3. Count sets of text
    By Lynx2x in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-31-2017, 09:54 AM
  4. Count sets of text
    By Lynx2x in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-31-2017, 08:49 AM
  5. How to count sets of text
    By Lynx2x in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-31-2017, 06:39 AM
  6. How to count sets of text
    By Lynx2x in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-31-2017, 05:08 AM
  7. [SOLVED] How to count sets of numbers
    By JimDandy in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-29-2006, 05:45 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