Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
n=? in each column
I want to determine the number (n) of entries (each is a number: 0-5) in each
column (Rows 2 to 143, Columns B through K) The formula I used to get a total for Column B: =COUNT(B2:B143) gives me an answer in Row 144 that says there are 43 entries. However, if I manually count the number of entries, the answer is 44. Same thing happens for Column C: formula answer is 60, but my manual count of data entries is 71. What am I doing wrong? I will appreciate any help you can give me! |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
n=? in each column
Perhaps some of the numbers are formatted as text or have a text qualifier.
Try formatting your data as general. Then enter the number 1 in an empty cell and copy this cell. Then select your data and click Edit/Paste Special and select "multiply". "CatPEG" wrote: I want to determine the number (n) of entries (each is a number: 0-5) in each column (Rows 2 to 143, Columns B through K) The formula I used to get a total for Column B: =COUNT(B2:B143) gives me an answer in Row 144 that says there are 43 entries. However, if I manually count the number of entries, the answer is 44. Same thing happens for Column C: formula answer is 60, but my manual count of data entries is 71. What am I doing wrong? I will appreciate any help you can give me! |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
n=? in each column
THANKS, JMB! Your solution works, and I get the correct total no. The only
problem is that there are a lot of blank cells in between the entries, so you can't just special paste a column, you have to do each entry or sections together at the same time...otherwise I end up with a bunch of 1's that don't belong on the data sheet. Do you happen to have a solution that would be quicker? (: "JMB" wrote: Perhaps some of the numbers are formatted as text or have a text qualifier. Try formatting your data as general. Then enter the number 1 in an empty cell and copy this cell. Then select your data and click Edit/Paste Special and select "multiply". "CatPEG" wrote: I want to determine the number (n) of entries (each is a number: 0-5) in each column (Rows 2 to 143, Columns B through K) The formula I used to get a total for Column B: =COUNT(B2:B143) gives me an answer in Row 144 that says there are 43 entries. However, if I manually count the number of entries, the answer is 44. Same thing happens for Column C: formula answer is 60, but my manual count of data entries is 71. What am I doing wrong? I will appreciate any help you can give me! |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
n=? in each column
Hi CatPEG,
Use the same process but copy a 'blank' cell and PasteSpecial and select "add" Make sure the cell you copy is truly a blank fresh cell and not something that has had data in it and been deleted. HTH Martin "CatPEG" wrote in message ... THANKS, JMB! Your solution works, and I get the correct total no. The only problem is that there are a lot of blank cells in between the entries, so you can't just special paste a column, you have to do each entry or sections together at the same time...otherwise I end up with a bunch of 1's that don't belong on the data sheet. Do you happen to have a solution that would be quicker? (: "JMB" wrote: Perhaps some of the numbers are formatted as text or have a text qualifier. Try formatting your data as general. Then enter the number 1 in an empty cell and copy this cell. Then select your data and click Edit/Paste Special and select "multiply". "CatPEG" wrote: I want to determine the number (n) of entries (each is a number: 0-5) in each column (Rows 2 to 143, Columns B through K) The formula I used to get a total for Column B: =COUNT(B2:B143) gives me an answer in Row 144 that says there are 43 entries. However, if I manually count the number of entries, the answer is 44. Same thing happens for Column C: formula answer is 60, but my manual count of data entries is 71. What am I doing wrong? I will appreciate any help you can give me! |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
n=? in each column
Martins suggestion is the easiest - so give that a go.
But, just for the sake of academics - you could copy the 1, then click Edit/GoTo/Special, select constants (numbers and text), then click Edit/PasteSpecial/Multiply. "CatPEG" wrote: THANKS, JMB! Your solution works, and I get the correct total no. The only problem is that there are a lot of blank cells in between the entries, so you can't just special paste a column, you have to do each entry or sections together at the same time...otherwise I end up with a bunch of 1's that don't belong on the data sheet. Do you happen to have a solution that would be quicker? (: "JMB" wrote: Perhaps some of the numbers are formatted as text or have a text qualifier. Try formatting your data as general. Then enter the number 1 in an empty cell and copy this cell. Then select your data and click Edit/Paste Special and select "multiply". "CatPEG" wrote: I want to determine the number (n) of entries (each is a number: 0-5) in each column (Rows 2 to 143, Columns B through K) The formula I used to get a total for Column B: =COUNT(B2:B143) gives me an answer in Row 144 that says there are 43 entries. However, if I manually count the number of entries, the answer is 44. Same thing happens for Column C: formula answer is 60, but my manual count of data entries is 71. What am I doing wrong? I will appreciate any help you can give me! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
divide column(x) by column(y) to give column(x/y) in excel? | New Users to Excel | |||
Return text in Column A if Column B and Column K match | Excel Worksheet Functions | |||
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look | Excel Discussion (Misc queries) | |||
Divide Column A by Column B multiply Column C | Excel Worksheet Functions | |||
what formula do i put for column m = column k minus column l in e. | Excel Discussion (Misc queries) |