+ Reply to Thread
Results 1 to 12 of 12

countif not working properly

  1. #1
    Forum Contributor
    Join Date
    10-27-2013
    Location
    Ireland
    MS-Off Ver
    Microsoft 365
    Posts
    403

    countif not working properly

    =COUNTIFS('Full data'!A6:A100,'Raw data'!C6,'Raw data'!B6:B100,"1")

    i have the above formula but its not working it returns 0

    i appreciate all yer help thank you

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: countif not working properly

    maybe 1 instead of "1"

  3. #3
    Forum Contributor
    Join Date
    10-27-2013
    Location
    Ireland
    MS-Off Ver
    Microsoft 365
    Posts
    403

    Re: countif not working properly

    nope but thank u

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: countif not working properly

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

    COUNTIF()
    COUNTIFS()
    SUMPRODUCT()
    Last edited by sandy666; 04-15-2018 at 05:48 PM.

  5. #5
    Forum Contributor
    Join Date
    10-27-2013
    Location
    Ireland
    MS-Off Ver
    Microsoft 365
    Posts
    403

    Re: countif not working properly

    here is an example book hope it helps

    Tia
    Attached Files Attached Files

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: countif not working properly

    is that what you want?

    =COUNTIF('Raw data'!$C$6:$C$60,'Full data'!$A$6:$A$14)
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    10-27-2013
    Location
    Ireland
    MS-Off Ver
    Microsoft 365
    Posts
    403

    Re: countif not working properly

    almost, i want to know how many times apple was at 1 (column "A" in raw data sheet)

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: countif not working properly

    did you check formula on Raw Data in column D ?
    or
    you mean you want to check "position" ?

    so maybe this one
    Attached Files Attached Files
    Last edited by sandy666; 04-18-2018 at 02:07 PM.

  9. #9
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,762

    Re: countif not working properly

    This works for me:

    =COUNTIFS('Raw data'!$C$6:$C$60,A6,'Raw data'!$B$6:$B$60,1)

    Hope this helps.

    Pete

  10. #10
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: countif not working properly

    How about:

    =COUNTIFS('Raw data'!$C$6:$C$60,A6,'Raw data'!$B$6:$B$60,1)
    Quang PT

  11. #11
    Forum Contributor
    Join Date
    10-27-2013
    Location
    Ireland
    MS-Off Ver
    Microsoft 365
    Posts
    403

    Re: countif not working properly

    works a beaut thank you to you all for your help

    ye are brill - thank you

  12. #12
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: countif not working properly

    If that takes care of your original question, & to say Thanks, please
    1. click on Add Reputtion (bottom left corner of the post of the person(s) who helped you)
      then
    2. select Thread Tools from the menu (top right corner of your thread) and mark this thread as SOLVED.
    If you did it already - ignore it.
    Thank you.

+ 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. [SOLVED] More than and Less than not working properly
    By Alidamalang110 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-23-2015, 12:34 PM
  2. [SOLVED] IF-THEN-ELSE not working properly
    By danex in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-02-2013, 11:15 AM
  3. How to properly use CountIf and vlookups.
    By dmejia174 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-28-2013, 07:37 PM
  4. [SOLVED] How to use CountIF and VlookUps properly.
    By dmejia174 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-26-2013, 07:29 AM
  5. Countif, not functioning properly
    By tradeform2 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-11-2013, 05:45 PM
  6. VBA not working properly
    By stevemills04 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-26-2013, 02:56 PM
  7. UDF not working properly
    By demuro1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-09-2008, 04:36 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