Counting cells

thekgbjr

New Member
Joined
Jan 18, 2011
Messages
13
I am creating an invoice for Home Health Agency. There will be a summary page and on that I need to be able to refer to the invoice page and count the number of times a nurse has visited a home. In other words the invoice will be listed by date so I need to have a formula that will count the number of lines on the invoice and put that number on the sumamry page....thoughts?
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
if the invoice is a set range
then set up a count on that range

for instance:
if D4:D15 have the possibility of having dates, then setup the count like this:
=COUNT(D4:D15)

since you said on the other sheet, I assume you know but just in case:
on the result sheet you just reference the source sheet such as
=COUNT(Sheet1!D4:D15)
where 'Sheet1!' is your invoice sheet's name.
 
Last edited:
Upvote 0
I am creating an invoice for Home Health Agency. There will be a summary page and on that I need to be able to refer to the invoice page and count the number of times a nurse has visited a home. In other words the invoice will be listed by date so I need to have a formula that will count the number of lines on the invoice and put that number on the sumamry page....thoughts?


will your tabs be called after a date? or will you have entries on a tab named for instance visits, and you want to count between certain dates on the visits tab?
 
Upvote 0
but if the cell is blank how do I keep it from counting blank cells?

count functions will not count blank cells

=COUNT() will count ranges with only numbers in it.
=COUNTA() will count cells that are not blank (Whether they have text or numbers)
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,291
Members
452,902
Latest member
Knuddeluff

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