#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default 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   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 860
Default 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   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
divide column(x) by column(y) to give column(x/y) in excel? James New Users to Excel 2 April 24th 23 11:46 AM
Return text in Column A if Column B and Column K match jeannie v Excel Worksheet Functions 4 December 13th 07 07:36 PM
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 [email protected] Excel Discussion (Misc queries) 1 December 27th 06 05:47 PM
Divide Column A by Column B multiply Column C Stumped Excel Worksheet Functions 3 December 28th 05 05:51 AM
what formula do i put for column m = column k minus column l in e. jenniss Excel Discussion (Misc queries) 5 January 6th 05 08:18 PM


All times are GMT +1. The time now is 05:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"