English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Example. B1 has 12 C 1 has 56789
In need to get B2 to say 13 if there is any info in C2

2006-12-29 03:40:21 · 3 answers · asked by brent a 1 in Computers & Internet Software

what i have is a spread sheet that holds data and i need to ge B1 to count down if there is any info in C1 etc. i may not be asking it the right way.

Example
cell
B1 has 12 in it C1 has 5436
B2 has 13 in it C2 has 3345
how do i change B1 to say 14 then for for B2 to say 15 if there is info in C1 the info may change i just need to change the numbers in column B every week

2006-12-29 04:00:29 · update #1

3 answers

If you want B1 to count the number for cells in column C that have values, use this:
=COUNTA(C:C)
but remember that it will count every cell in the range that has anything in it, including text. If you only want numbers counted, you might use something like this:
=COUNTA(C:C) - COUNTIF(C:C,">''")

Note that the last part is:
"> ' ' " )
but without the spaces!

2006-12-29 12:13:39 · answer #1 · answered by nospamcwt 5 · 0 0

In B2, enter the following formula:
=if(C2=0, 0, B1+1)

2006-12-29 19:12:00 · answer #2 · answered by Renaud 3 · 0 0

in B2 enter IF(C2=0,13,else) don't type "else"
This means that if C2=0, C1=13 if it doesn't, it equals whatever value you type after the comma.

What are you trying to do? This seems a little backwards to me -- to enter data in C then have something entered in B.

2006-12-29 11:53:03 · answer #3 · answered by TheHumbleOne 7 · 0 0

fedest.com, questions and answers