PDA

View Full Version : Solved: Count help



Emoncada
12-05-2008, 10:50 AM
I have 4 column headers.

Column A has numbers 1,2,3,4,5 - 500.
Column B has Serial Numbers
Column C has The Status
Column D has Who has it

I would like to have a Total of Serial Numbers from the list auto populate in cell H2.
So once someone enters the machines info it will update the totals by looking at column A and telling H2 how many are on the list.

lucas
12-05-2008, 10:56 AM
so you want to count the items in column a or the index numbers.....how many, correct?

Emoncada
12-05-2008, 10:59 AM
I just added the numbers in column A hoping it can help so somehow I can have the script look at Column B and what ever cell in Column B has a Serial Number return that A.

mdmackillop
12-05-2008, 10:59 AM
=COUNT(A:A), or, if not numeric =COUNTA(A:A)

lucas
12-05-2008, 11:01 AM
=COUNT(A1:A50)

Bob Phillips
12-05-2008, 11:25 AM
=INDEX(A:A,MATCH("xyz",B:B,0))

Emoncada
12-05-2008, 11:29 AM
I want it to count only if there is something in column B.
Example
........A...........................B...............................
........1.......................TFT54302D2....................
........2.......................TFT5659D21....................
........3............................................................
........4............................................................
etc.

So in This Case H2 would equal 2

Hope that helps.

lucas
12-05-2008, 11:31 AM
=COUNT(B:B)

Emoncada
12-05-2008, 11:32 AM
xld i think you are on the right track.
How can I just have it determine if B value= "" then give previous row Value A.

Emoncada
12-05-2008, 11:34 AM
Lucas but Column B is not a number it would be a serial Number more like Text.

lucas
12-05-2008, 11:38 AM
use countA

lucas
12-05-2008, 11:40 AM
in H2 put =COUNTA(B:B)

lucas
12-05-2008, 11:41 AM
Malcolm pointed that out in post #4.....

Emoncada
12-05-2008, 11:44 AM
Yes correct that works now A:A didn't.
Thanks.