+ Reply to Thread
Results 1 to 4 of 4

Countifs while using filter

  1. #1
    Registered User
    Join Date
    10-15-2010
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    13

    Exclamation Countifs while using filter

    Hey everyone-

    I'm working on a file for my school to track what percentage of receipts have been receipts by multiple people within the office:

    Format is as follows:

    A B C D
    Name Vendor Amount Receipt
    John A 5 no
    John B 10 yes
    John C 15 no
    Bill D 10 no
    Sarah E 25 yes
    Sarah F 5 no

    Using countif formulas will yield a 33% return of receipts, however when i filter by person it's still 33%. Is there a formula I can use that will calculate the % returned in total and by person (so basically compatible with the filter)?? I need to get this done today if possible.

    Help is greatly appreciated!!

    Thanks much in advance.
    Last edited by datboyrib23; 10-15-2010 at 03:03 PM.

  2. #2
    Registered User
    Join Date
    01-12-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003-7
    Posts
    23

    Re: Countifs while using filter-PLEASE HELP :(

    Try this: Substitute your receipt column to 1 for "yes" and 0 for "no" (alternatively create a formula in the column E to the right as "=if("yes",1,0)).

    Then in D1, use =subtotal(1,D3:D8).

    (I tested in OpenOffice Calc, but Excel is basically the same and should work straight away)

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    10-15-2010
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Countifs while using filter-PLEASE HELP :(

    Worked. You're the greatest (and much smarter than me). Thanks!!

  4. #4
    Registered User
    Join Date
    01-12-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003-7
    Posts
    23

    Re: Countifs while using filter-PLEASE HELP :(

    No probs! If you're satisfied with the workings, please remember to mark the thread as solved.

    To mark your thread solved do the following: - Go to the first post - Click edit - Click Advance - Just below the word "Title:" you will see a dropdown with the word No prefix. - Change to Solve - Click Save

+ 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.6.0 RC 1