+ Reply to Thread
Results 1 to 9 of 9

how to write COUNTIFS in filtered table for shown data

  1. #1
    Forum Contributor aaaaa34's Avatar
    Join Date
    12-25-2013
    Location
    Istanbul
    MS-Off Ver
    Windows 10, MS Office 2013
    Posts
    375

    how to write COUNTIFS in filtered table for shown data

    hey guys,

    in attached file, "Fixture" sheet, you ll see results of the league this season.

    1- I filtered A column in "Fixture" sheet, HT Total Goals "0"
    2- Then I go to "Teams" sheet and I want to write a statistic formula for team "Alessandria" for second half total goals ("Fixture" sheet C column ) Over 1.5 / Under 1.5

    HT Total Goals : 0
    Home Team: Alessandria
    2H Total Goals over 1.5 ("Teams" sheet F3) should be 3
    2H Total Goals under 1.5 ("Teams" sheet G3) should be 1

    so in "Teams" sheet, how can I write the formula for team Alessandria in F3 and G3 cells ?
    Attached Files Attached Files

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: how to write COUNTIFS in filtered table for shown data

    Firstly Input criteria in "teams" sheet.
    In "H1" : HT Total Goals
    In "H2" : 0
    In "I1" : 2H Total Goals
    In "I2" : <1.5
    In "I3" : >1.5


    Formula In column "F3"
    HTML Code: 
    Formula In column "G3"
    HTML Code: 


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Forum Contributor aaaaa34's Avatar
    Join Date
    12-25-2013
    Location
    Istanbul
    MS-Off Ver
    Windows 10, MS Office 2013
    Posts
    375

    Re: how to write COUNTIFS in filtered table for shown data

    avk, thanks for help but,

    why can't I write a formula which shows this data automatically which I filter any HT result in fixture sheet?
    ur solution eleminates table function in fixture sheet

  4. #4
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: how to write COUNTIFS in filtered table for shown data

    Yes you can do. plz refer attach file.
    Attached Files Attached Files

  5. #5
    Forum Contributor aaaaa34's Avatar
    Join Date
    12-25-2013
    Location
    Istanbul
    MS-Off Ver
    Windows 10, MS Office 2013
    Posts
    375

    Re: how to write COUNTIFS in filtered table for shown data

    i couldnt explain good i think
    i ll try to explain with screenshots

  6. #6
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: how to write COUNTIFS in filtered table for shown data

    Quote Originally Posted by aaaaa34 View Post
    i couldnt explain good i think
    i ll try to explain with screenshots
    ok upload screenshot

  7. #7
    Forum Contributor aaaaa34's Avatar
    Join Date
    12-25-2013
    Location
    Istanbul
    MS-Off Ver
    Windows 10, MS Office 2013
    Posts
    375

    Re: how to write COUNTIFS in filtered table for shown data

    pls check these files.

  8. #8
    Forum Contributor aaaaa34's Avatar
    Join Date
    12-25-2013
    Location
    Istanbul
    MS-Off Ver
    Windows 10, MS Office 2013
    Posts
    375

    Re: how to write COUNTIFS in filtered table for shown data

    i mean that u need to write a code to check one criteria for the shown data in "Fixture" sheet. (2nd half total goals over 1.5 or under 1.5)
    but in ur previous codes, u writing all criterias in ur code. ( home team, first half total goals, 2nd half total goals)
    then why i should make a table for data?

    i wanna filter criterias how i wish from table in "Fixture" sheet manually, and write a code for one criteria and check that criteria for "ONLY SEEN DATA".
    bcuz ur previous codes always checking both seen and unseen data in Fixture sheet.
    i wanna check only seen data after my filters.

  9. #9
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: how to write COUNTIFS in filtered table for shown data

    plz explain about, how comes result over = 4 & away = 3

+ 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: 5
    Last Post: 06-04-2014, 09:41 AM
  2. [SOLVED] how to write COUNTIFS formula for testing only FILTERED data
    By aaaaa34 in forum Excel Formulas & Functions
    Replies: 27
    Last Post: 03-09-2014, 07:40 AM
  3. Replies: 3
    Last Post: 11-04-2013, 07:50 PM
  4. Data Table to be shown in Thousands
    By rmaa in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-04-2013, 10:30 AM
  5. Replies: 0
    Last Post: 02-20-2012, 02:53 PM
  6. Replies: 0
    Last Post: 01-06-2012, 02:49 PM
  7. [SOLVED] Adding up filtered list..........only what is shown on screen?.....
    By Duncan in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-13-2006, 06:50 AM

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