+ Reply to Thread
Results 1 to 7 of 7

COUNTIF Help

  1. #1
    Registered User
    Join Date
    08-20-2010
    Location
    uk
    MS-Off Ver
    Office Pro Plus 2016
    Posts
    87

    COUNTIF Help

    Hi All,

    I am having trouble trying to count two numbers in more cell, the numbers are as follows 7849/2564, divided by a forwards slash. these number will be in other cells and I need a total of each number in the selected cells .. hope that makes sense ..

    Counting the numbers individually isn't an issue but I cant seem to find anything that resolves the issue..

    Current formula
    =COUNTIFS($B$7:$D$19,N10)+COUNTIF($H$7:$K$19,N10)

    Any ideas

    Thanks in advance

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,783

    Re: COUNTIF Help

    Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. Just before posting, scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.

  3. #3
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: COUNTIF Help

    Do you want a formula that counts how many times 7849 is in $B$7:$D$19 and $H$7:$K$19 as well as a formula that counts how many times 2564 is in those same ranges and then have the answer put into one cell separated by a "/" ?

    if so heres the formula

    Please Login or Register  to view this content.
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  4. #4
    Registered User
    Join Date
    08-20-2010
    Location
    uk
    MS-Off Ver
    Office Pro Plus 2016
    Posts
    87

    Re: COUNTIF Help

    Sample attached

    Please can you add the code on here, as I cant download any attachments

    Thanks
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-20-2010
    Location
    uk
    MS-Off Ver
    Office Pro Plus 2016
    Posts
    87

    Re: COUNTIF Help

    I just need to count how many times each number is in the range of cells ..

  6. #6
    Registered User
    Join Date
    08-20-2010
    Location
    uk
    MS-Off Ver
    Office Pro Plus 2016
    Posts
    87

    Re: COUNTIF Help

    EXAMPLE

    CELLS A1 , A2 , A3 , A4 , A5, A6, A7, A8, A9 , A10 will have one of the following numbers in each cell, I do have about 120 individual numbers to count over a number in a number of cells , 7254, 7487 , 7665, 7965, some of these numbers will be in numerous cells and I need to count a total of each number , so 7665 x 3 7254 x 2 7665 x 6 etc .

    In some of the cells there may be two numbers 7254/7487 and I need these adding to the count if the same number is found in other cells.

    However if there are two numbers in a cell , these numbers only count as 0.5 , I.E. 7254 will be x 2.5 and 7487 will be x 1.5

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,921

    Re: COUNTIF Help

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Adding a COUNTIF function to an existing IF AND COUNTIF Formula...
    By Ourkid123uk in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-24-2018, 10:09 AM
  2. Replies: 8
    Last Post: 05-27-2017, 07:04 AM
  3. Faster if/countif formula for flagging uniques - countif too slow
    By Speshul in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-19-2015, 01:44 PM
  4. Combining a Date Range COUNTIF and a general COUNTIF
    By jacobtom in forum Excel General
    Replies: 1
    Last Post: 09-15-2011, 05:06 PM
  5. Adding a CountIF to a formula that is already Countif
    By Cmorgan in forum Excel General
    Replies: 4
    Last Post: 06-01-2011, 09:34 AM
  6. COUNTIF or not to COUNTIF on a range in another sheet
    By Ellie in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-15-2005, 05:06 PM
  7. Countif w/ Multiple Criteria-How do I use countif
    By Patrick_KC in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-09-2005, 05:05 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