counts

  1. P

    VBA help - Count Prime Numbers

    I have created a function PRIME(n) with Boolean output to check if a number is prime or not I am now looking to create a function that counts the prime numbers between two numbers n1 and n2 Help much appreciated!
  2. D

    Trying to write a formula that counts a value and also blanks

    Good afternoon! I'm trying to write a formula that counts the number of cells if AH has "WC" or is blank - and if AJ says "Expired" or is blank. So i'm trying to count the following: WC / Expired WC / Blank Blank / Expired Blank / Blank Make sense? PNG of example here...
  3. T

    VBA Macro to Evaluate cells based on if column contains criteria

    In my array, I have a macro that colors cells yellow or red depending on numerical criteria. I am now looking for a bit of code that counts the maximum number of yellow cells in a row, that do not have a red cell in that column. So a count if type statement that counts when yellow and doesnt...
  4. N

    Macro/VBA Code Help

    Hi folks, I can use some help on a macro. Data will be pasted into this file into A2:J, and I need a macro to: 1. Remove all rows where value in column H is 3 or higher. 2. Count or CountA column H for each unique 'Learner' name in column A. (do not subtotal attempts) 3. Output list of...
  5. S

    Access Count IF

    Hi, I have a table that has an "Added" field (which is a date), and "Account Number" field. I want to create a query that shows the last date in the "Added" field and counts the "Account Number" only where they were added on the last "Added" date. I hope that makes sense, I have tried so much...
  6. F

    Counting results from IF function over an entire data set

    So I have a list of numeric values in Column AD Basically, I want to count any time there is a value Greater than or EQUAL zero, and the next value is LESS than zero. So if AD3 = 0 and AD4 =-2 that counts as 1. Then I'd like to add the amount of occurrences up. Formulas Im using...
  7. R

    VBA to count rows based on two columns values

    Hello I can't work this out. I want to count the rows but only if the column M equals Asset Mgt and column N equals Business Dev. How do I add the column n piece please? Thank Ross With Sheets("Asset Mgt") Counts = Application.CountIf(.Range("M:M"), "Asset Mgt" MsgBox Counts
  8. J

    counting

    Can anyone help me with this? I have a Textbox and a List box with a delete button so i can remove the last row. In my listbox there are 2 columns (1st names and 2nd prices). My textbox counts the second row (prices). The delete button is doing it but does not counts down in my textbox. Can...
  9. R

    Counting Quarters and sorted by Large Medium Small

    Hi all, I am trying to put together a report for school and need some help. In the attached spreadsheet, I have a summary tab and three tabs for Americas and Europe and JAPAC. For the summary tab, I need to pull in information from the three tabs (JAPAC, EMEA and Americas). For Columns C...
  10. Welsh Mark3

    Countifs

    I have a column of values - I'm looking to write a formula that counts how many values fall into each of the following buckets <500, 501 - 1000, 1001 - 2500, 2501 - 5000, 5001 - 10000, 10001 - 50000, >50000 Can you help me, please?
  11. D

    COUNTVISBLE with an Operator like >

    Greetings - Can COUNTVISBLE be used in conjunction with an operator like > When I filter rows, I would like a formula that counts only some of the rows. I hope that makes sense. Thanks in advance.
  12. R

    Inconsistent counts in Excel Pivot

    Hi Forum Hope you can help I have an issue with Pivot tables in Excel. Issue: I down load a workbook from another application. When I create a pivot table it counts inconsistently as follows: Column A = 56 Col B = 32 Valid Fields 24 Blanks Col C = 37 Valid Fields 19 Blanks Col D = 15...
  13. S

    Formula Help please!

    Hi. I have a set of dates in column D and I have this formula that counts the volume for each month from the whole column, it works great, but for January it returns 9999? Please can anyone figure out why? =SUMPRODUCT(--(MONTH(D1:D10000)=1)) If you change the last number to 2 or 3 or 4 etc etc...
  14. G

    COUNT IFS NON BLANK (but formula in cell make it count as non blank even if blank)

    Hi guys, I'm trying to figure out how to do a count if where both columns aren't blank but the problem is that I have the following formula and it counts them as non-blank either way even if they are blank. Formula in cells is =IFERROR(IF($O3<$O2,$J3-K3,NA()),"") so that if there's an error...
  15. R

    Counting numbers in a single cell

    I am trying to find a formula to count numbers in a single cell. I am able to achieve this but it counts numbers greater than 10 as 1 and 0. So if you had a list 1,2,3,4,5,6,7,8,9,10,11 it counts the number of digits, which totals 13 digits not 11 individual numbers. Can you assist?
  16. D

    How to count the number of entries in a textbox from a different sheet?

    Hi, Please can someone help me? Is it possible to have a textbox on worksheet 'A' that counts the number of entries on worksheet 'B'? Any help would be much appreciated. Regards Dan
  17. A

    Cell in Yellow

    I need to figure out the formula in the Yellow cell that will total counts sold each day.
  18. R

    Calculation of % of "yes" in a column

    Hi I have a set of columns G7:I25 of results that contain yes,no or N/A. I would like to count the "yes" and "N/A results and then work out as a % of all results. I have the formula below which counts yes and then works a % of yes+no but want to include also the N/A...
  19. T

    Calcuating a sum where 'yes' and 'no' values invert

    Hello folks This is crazing me. As you'll see the formula below works out the percentage of counts of 'yes' against a total of counts of 'yes' and 'no' in the range of D13:D16. So far so ok. =SUM(COUNTIF(D13:D16,"Yes")/(COUNTIF(D13:D16,"Yes")+COUNTIF(D13:D16,"No"))) [So if D13:D15 ="yes" and...
  20. M

    How not to count blank cells

    I have this formula =LEN(B4)-LEN(SUBSTITUTE(B4,",",""))+1 which counts the comma separated values in cells. My problem is the formula counts the blank cells which contains formulas as 1. How can I fix this? thanks. for example: if B4 is {1,2,3}, the result will be 3. if B4 is {25}, the...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top