+ Reply to Thread
Results 1 to 3 of 3

Iterative COUNTIFS formula

  1. #1
    Registered User
    Join Date
    06-09-2018
    Location
    Vancouver, Canada
    MS-Off Ver
    15.21.1
    Posts
    1

    Iterative COUNTIFS formula

    Hello everybody,

    I am trying to get an iterative calculation of the number of times certain exact numbers appear in a range. I seem to be hitting a few bumps with the COUNTIF formula.

    Example: If cells A1:A3 contain the numbers 1, 2 and 3 in any order i want the formula to return 1, so then i can make a cumulative sum through iterative calculation. Now, the problem is that I don't want the formula to return 1 if any of the cells in the range contain EITHER 1,2 OR 3, I want them ALL to contain EXACTLY 1,2 and 3, just in any order (it could be 2,1,3 or 3,1,2 or 2,3,1 etc..).

    Any ideas?

    Thank you very much

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,536

    Re: Iterative COUNTIFS formula

    I'm not 100% sure I understand the need here, but the below formula will show 1 if A1:A3 contains 1,2,3 in any order and nothing if it doesn't:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I'm sure there are many other ways.

    BSB

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    24,035

    Re: Iterative COUNTIFS formula

    Rule 08: Cross-posting Without Telling Us

    Your post does not comply with Rule 8 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question. If you have fewer than 10 posts here, you will not be able to post a link, but you must still tell us where else you have asked the question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    If you have less than 10 posts, do not try to copy and paste the link. Instead, type the link out in your thread.

    No further help to be offered, please, until the OP has complied with this request.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Iterative formula to calculate minimum foundation depths
    By bengineering in forum Excel General
    Replies: 4
    Last Post: 07-28-2017, 04:41 AM
  2. Iterative Formula Calculations with Randomly Generated Variable Values
    By Muradi101 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-05-2017, 10:26 AM
  3. Help with iterative formula to avoid circular reference
    By Soco15 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-14-2017, 01:17 PM
  4. Iterative Formula
    By kathrynreno in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-29-2016, 09:23 PM
  5. [SOLVED] Need help with iterative Debt to Capital formula
    By AudiR8dreamer in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-20-2015, 11:36 AM
  6. Create an iterative formula
    By leonszlez in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-22-2012, 06:12 PM
  7. Iterative Formula
    By Phil_V in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-14-2009, 08:54 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