Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Return number of cells filled
Hi Guys,
Excel 2000. I have Cells B2 thru G2 available to be filled in with either a 1 or 0. Some of the cells are blank. I want to put a formula in cell H2 that will return the total cells that are filled in. Right now B2 has a 1 and C2 has a 0. I want H2 to return the number 2 or if it's possible 2/6 would be even better. Thanks, Linda |
#2
|
|||
|
|||
Hi!
Try this: =COUNT(B2:G2)&"/"&6 Biff "LMB" wrote in message ... Hi Guys, Excel 2000. I have Cells B2 thru G2 available to be filled in with either a 1 or 0. Some of the cells are blank. I want to put a formula in cell H2 that will return the total cells that are filled in. Right now B2 has a 1 and C2 has a 0. I want H2 to return the number 2 or if it's possible 2/6 would be even better. Thanks, Linda |
#3
|
|||
|
|||
Worked great! How about a %, can it convert to a percent too? I tried
changing the properties but that didn't work, I'll keep clicking... Thanks, Linda "Biff" wrote in message ... Hi! Try this: =COUNT(B2:G2)&"/"&6 Biff "LMB" wrote in message ... Hi Guys, Excel 2000. I have Cells B2 thru G2 available to be filled in with either a 1 or 0. Some of the cells are blank. I want to put a formula in cell H2 that will return the total cells that are filled in. Right now B2 has a 1 and C2 has a 0. I want H2 to return the number 2 or if it's possible 2/6 would be even better. Thanks, Linda |
#4
|
|||
|
|||
Try: =TEXT(COUNT(B2:G2)/6,"0%")
which'll display the result in percentage to zero dp For more on this "combining data", try Debra's nice coverage at her: http://www.contextures.com/xlCombine01.html -- Rgds Max xl 97 --- GMT+8, 1° 22' N 103° 45' E xdemechanik <atyahoo<dotcom ---- "LMB" wrote in message ... Worked great! How about a %, can it convert to a percent too? I tried changing the properties but that didn't work, I'll keep clicking... Thanks, Linda |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I sum up values only in cells that are color filled? | Excel Worksheet Functions | |||
How can I lock a number of cells within a worksheet? | Excel Discussion (Misc queries) | |||
How do I change a large number of cells from a postive to a neget. | Excel Discussion (Misc queries) | |||
Convert data type of cells to Text,Number,Date and Time | Excel Worksheet Functions | |||
how do I 'count' the number of cells with a text in red or black? | Excel Worksheet Functions |