Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Scott
 
Posts: n/a
Default sum1 -- count = count +1

I have 4 columns with 0, 1 answers. I need to count the number of rows that
countain at least one 1.
--
Scott Miller
University of Washington
Chemistry
  #2   Report Post  
vezerid
 
Posts: n/a
Default sum1 -- count = count +1

Scott,

use an extra column to sum the answers (e.g. in K2 =SUM(F2:I2) and
copy down). Then use
=COUNTIF(K:K, "1").

HTH
Kostis Vezerides

  #3   Report Post  
Gary''s Student
 
Posts: n/a
Default sum1 -- count = count +1

Let's assume that your data is in cols A-D. In col E enter:

=MIN(A1+B1+C1+D1,1) and copy down

Then just sum column E
--
Gary's Student


"Scott" wrote:

I have 4 columns with 0, 1 answers. I need to count the number of rows that
countain at least one 1.
--
Scott Miller
University of Washington
Chemistry

  #4   Report Post  
Scott
 
Posts: n/a
Default sum1 -- count = count +1

It there a way to do this without effecting the data table? I want to
preserve the asthetic valur of the table including only answers to survey
questions.
--
Scott Miller
University of Washington
Chemistry


"Gary''s Student" wrote:

Let's assume that your data is in cols A-D. In col E enter:

=MIN(A1+B1+C1+D1,1) and copy down

Then just sum column E
--
Gary's Student


"Scott" wrote:

I have 4 columns with 0, 1 answers. I need to count the number of rows that
countain at least one 1.
--
Scott Miller
University of Washington
Chemistry

  #5   Report Post  
Dana DeLouis
 
Posts: n/a
Default sum1 -- count = count +1

There's probably a better way, but here's an array formula:
=SUM(SIGN(A1:A10+B1:B10+C1:C10+D1:D10))

Note that any text will cause an error.
--
Dana DeLouis
Win XP & Office 2003


"Scott" wrote in message
...
I have 4 columns with 0, 1 answers. I need to count the number of rows that
countain at least one 1.
--
Scott Miller
University of Washington
Chemistry





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
Count Intervals of 1 Numeric value in a Row and Return Count down Column Sam via OfficeKB.com Excel Worksheet Functions 8 October 4th 05 04:37 PM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 8 May 18th 05 04:23 AM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 0 May 15th 05 08:14 PM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM


All times are GMT +1. The time now is 01:19 PM.

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

About Us

"It's about Microsoft Excel"