Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
One more question. Every time I try to use the count function it keeps
displaying 0 even though I have values. For example: H 1 REC 21 2 REC 24 3 REC 19 4 REC 22 5 REC 21 Which I would then use the formula =COUNT(H1:H5) which should display 5, but it shows 0. Does anyone know why this could be happening? |
#2
![]() |
|||
|
|||
![]()
Troubleshooting the COUNT Function in Excel
__________________
I am not human. I am an Excel Wizard |
#3
![]() |
|||
|
|||
![]()
The COUNT(...) function only counts numeric values. To count all values use
COUNTA(...), so your formula would be: =COUNTA(H1:H5) -- Regards, Dave "dnm" wrote: One more question. Every time I try to use the count function it keeps displaying 0 even though I have values. For example: H 1 REC 21 2 REC 24 3 REC 19 4 REC 22 5 REC 21 Which I would then use the formula =COUNT(H1:H5) which should display 5, but it shows 0. Does anyone know why this could be happening? |
#4
![]() |
|||
|
|||
![]()
Awesome! Thanks
"DaveB" wrote: The COUNT(...) function only counts numeric values. To count all values use COUNTA(...), so your formula would be: =COUNTA(H1:H5) -- Regards, Dave "dnm" wrote: One more question. Every time I try to use the count function it keeps displaying 0 even though I have values. For example: H 1 REC 21 2 REC 24 3 REC 19 4 REC 22 5 REC 21 Which I would then use the formula =COUNT(H1:H5) which should display 5, but it shows 0. Does anyone know why this could be happening? |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
So with this formula and example the answer is 5; however, is there a way to
use a formula to count similiar data. For instance, Rec 21 will have a count of 2 in the next column because it appears 2. Rec 24 will have a count of 1 in the next column because it only appears once. Thanks for your assistance! "dnm" wrote: One more question. Every time I try to use the count function it keeps displaying 0 even though I have values. For example: H 1 REC 21 2 REC 24 3 REC 19 4 REC 22 5 REC 21 Which I would then use the formula =COUNT(H1:H5) which should display 5, but it shows 0. Does anyone know why this could be happening? |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Kimmie wrote:
So with this formula and example the answer is 5; however, is there a way to use a formula to count similiar data. For instance, Rec 21 will have a count of 2 in the next column because it appears 2. Rec 24 will have a count of 1 in the next column because it only appears once. Thanks for your assistance! Try =COUNTIF($H$1:$H$5,H1) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
"COUNTU" function in Excel to count unique entries in a range | Excel Worksheet Functions | |||
Excel option to store trendline's coefficients in cells for use | Charts and Charting in Excel | |||
Count If Function | Excel Worksheet Functions | |||
excel should have a function to count sheets | Excel Worksheet Functions | |||
CHR() function not working in Excel 2003 | Excel Discussion (Misc queries) |