+ Reply to Thread
Results 1 to 5 of 5

COUNTIF function

  1. #1
    Registered User
    Join Date
    11-02-2017
    Location
    Bucharest
    MS-Off Ver
    2016
    Posts
    51

    Wink COUNTIF function

    Hello!
    I have some issues on my formula.. is giving me "#VALUE" and i can't figure it out the solution...
    From the workbook example, in the right table i want a count function from a criteria like sumif function
    Team A 2-1 Team B
    I want for team A to count as 1 for "over or at least 3" in the table... the sum of the numbers... and under if the sum of the numbers result under 3
    hope you guys understand. Thank you!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    12-04-2017
    Location
    Bern, Switzerland
    MS-Off Ver
    MS Office 2013
    Posts
    3

    Re: COUNTIF function

    Hi,

    I have attached the file with a quick and dirty solution with 2 additional columns.
    Have a look, may be it helps for you.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-02-2017
    Location
    Bucharest
    MS-Off Ver
    2016
    Posts
    51

    Re: COUNTIF function

    Thank you for your helping, but i want the results to be the same with my workbook.. on over or at least are 0... and if is possible to not add anything, like IF function between data and table

  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
    28,178

    Re: COUNTIF function

    Try

    in J2

    =SUMPRODUCT((($A$1:$A$2=$I2)+($E$1:$E$2=$I2))*($B$1:$B$2+$D$1:$D$2<3))

    in K2

    =SUMPRODUCT((($A$1:$A$2=$I2)+($E$1:$E$2=$I2))*($B$1:$B$2+$D$1:$D$2>=3))

  5. #5
    Registered User
    Join Date
    11-02-2017
    Location
    Bucharest
    MS-Off Ver
    2016
    Posts
    51

    Re: COUNTIF function

    Thank you, JohnTopley! Is working :-D

+ 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. How do i combine a vlookup function with a countif function?
    By charris58 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-08-2016, 06:15 PM
  2. COUNTIF/COUNTIFS function + nested user-defined function
    By shamjamali in forum Excel General
    Replies: 1
    Last Post: 05-12-2015, 09:12 PM
  3. Replies: 9
    Last Post: 07-02-2012, 07:02 PM
  4. Using Countif Function with the Month & Year Function
    By laya1024 in forum Excel General
    Replies: 3
    Last Post: 02-03-2009, 07:52 PM
  5. please help how to combine IF function with Countif function
    By Dinesh in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-30-2006, 03:35 PM
  6. [SOLVED] How do I use a countif function according to two other countif fu.
    By Kirsty in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-20-2006, 07:50 AM
  7. [SOLVED] Embed a countif function in subtotal function?
    By Stuck at work in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-13-2006, 11:20 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