+ Reply to Thread
Results 1 to 4 of 4

Thread: Logic behind this formula

  1. #1
    Registered User
    Join Date
    06-16-2011
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    40

    Logic behind this formula

    Could you please tell me the logic behind this formula? What does it do?

    In L11:

    (COUNTIF($A$2:A11,A11)=COUNT($A$2:A11)

    Note: This is just a part of the formula. I feel something there is wrong here.
    Last edited by daymaker; 08-02-2011 at 12:32 AM.

  2. #2
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,777

    Re: Logic behind this formula

    it tells you if all the numeric values in the range are equal to A11.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    6,213

    Re: Logic behind this formula

    And as you move down it will tell you when that number is change so that would be breaking point when in range it stop to be old number.

    1	TRUE
    1	TRUE
    1	TRUE
    1	TRUE
    1	TRUE
    2	FALSE
    2	FALSE
    2	FALSE
    2	FALSE
    2	FALSE
    2	FALSE
    3	FALSE
    3	FALSE
    3	FALSE
    3	FALSE
    2	FALSE
    2	FALSE
    "Relax. What is mind? No matter. What is matter? Never mind!"

  4. #4
    Registered User
    Join Date
    06-16-2011
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    40

    Re: Logic behind this formula

    Thanks for the information. But in that case, I don't understand why the formula I'm using in L13 doesn't give me the correct result. Could you tell me whats wrong with this?

    =(220-(COUNTIF($A$2:A13,A13)=COUNT($A$2:A13))*SUM($H$2:H12)-H13)/220
    Since, the value in A has changed to 2, as per the logic it should give the result as 81.82%.
    I've a similar problem with the formula in N13.


    Quote Originally Posted by zbor View Post
    And as you move down it will tell you when that number is change so that would be breaking point when in range it stop to be old number.

    1	TRUE
    1	TRUE
    1	TRUE
    1	TRUE
    1	TRUE
    2	FALSE
    2	FALSE
    2	FALSE
    2	FALSE
    2	FALSE
    2	FALSE
    3	FALSE
    3	FALSE
    3	FALSE
    3	FALSE
    2	FALSE
    2	FALSE
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0