Counting populated Rows

Jeffrey Green

Well-known Member
Joined
Oct 24, 2007
Messages
1,021
I get a report that has anywhere from 50 to 1000 Rows with two columns.
Column A is the Supplier Code, and Column 2 is Supplier Name.

People type in bad codes in column A and I run an Access query to find the supplier names. So, for example, I will have 50 Codes in Column A and only 45 Supplier Names in Column B.

i want a formula that will count the rows in column A and then divide that into the number of MISSING names in Column B. (I want the error rate)

So in my example I want is 1-45/50 = 90%.

I don't now how to make Excel count the populated rows (a varying number of rows) or how to count the empty cells in column B.


Thanks


Jeff
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
you can try this. it worked for me earlier
=COUNTIF(A$1:A10000,"<>")

where column ref of the rows you are trying to count

It only counts the cells that have text or a number input into them

I made a slight adustment. The first row is absolute.
 
Last edited:
Upvote 0
This will count the populated cells (counta) and the blanks with countblank
Excel Workbook
H
259%
Sheet1

Excel 2003
Cell Formulas
RangeFormula
H2=COUNTBLANK(E2:E29)/COUNTA(A2:A29)
 
Upvote 0

Forum statistics

Threads
1,224,607
Messages
6,179,871
Members
452,948
Latest member
UsmanAli786

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