Can it be done ? row count ?

shadow12345

Well-known Member
Joined
May 10, 2004
Messages
1,238
Hi,

I have a number of sheets that appear with macro, i have a way to remove the new ones (those not called "email addresses","call info sheet", "data", and "pre merge") what i also need to do is to count the number of rows with a value (ones that have been filled out) below row 15 in each sheet and add them up.

however the names of the sheets can be different (except the ones mentioned above that do not need to be inculded)
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
On each sheet, =COUNTA(A15:A65536) will tell you how many rows are filled out.
To pull data to a summary sheet, use INDIRECT:
Assuming A2 has a sheet name in it on Summary, =COUNTA(INDIRECT("'"&A2&'!A15:A65536")) will pull that sheet's used row count across. Fill down for any other shet names in the summary sheet.

There are ways to do it in code as well, depending on your needs.

Denis
 
Upvote 0

Forum statistics

Threads
1,203,329
Messages
6,054,757
Members
444,748
Latest member
knowak87

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