Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 202
Default excel sum values if cell matches a value

I am trying to analyze a survey. Results are like:

A B C D E F G H I J K
Q1 ? 1 1 1 1
Q2 ?
Q3 ? 1
Q4 ?
Q5 ? 1 1 1 1
Q6 ? 1 1 1 1
Q7 ? 1 1 1 1 1

I have about 30 questions and 200 responses (going up to column FR). The
one represents they checked that box.

In column B I want to add up all the responses of that row is they selected
Q6. So in my example Question 1 B should equal 1 because I only would select
the G response.

And then for question 5, I want to sum up the people who selected Question
6, which would give me a total of of 2. Max sense?

Any ideas on how to do this? SUM(IF isn't working.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default excel sum values if cell matches a value

Try the below formula in cell B1 and copy down as required...

=SUMPRODUCT((C1:FR1=1)*($C$6:$FR$6=1))

--
Jacob


"Dennis" wrote:

I am trying to analyze a survey. Results are like:

A B C D E F G H I J K
Q1 ? 1 1 1 1
Q2 ?
Q3 ? 1
Q4 ?
Q5 ? 1 1 1 1
Q6 ? 1 1 1 1
Q7 ? 1 1 1 1 1

I have about 30 questions and 200 responses (going up to column FR). The
one represents they checked that box.

In column B I want to add up all the responses of that row is they selected
Q6. So in my example Question 1 B should equal 1 because I only would select
the G response.

And then for question 5, I want to sum up the people who selected Question
6, which would give me a total of of 2. Max sense?

Any ideas on how to do this? SUM(IF isn't working.

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
Test cells for values if date matches Raul[_2_] Excel Discussion (Misc queries) 1 January 11th 10 07:58 PM
If a cell matches a list of values...... Simon Excel Discussion (Misc queries) 3 August 14th 09 09:01 PM
Two Matches, then Sumproduct of Values ryguy7272 Excel Worksheet Functions 16 February 19th 09 03:08 PM
Add up Values if Find Matches x 2 Sean Excel Worksheet Functions 9 November 16th 07 12:21 PM
how to get values from different sheet when info. matches? juanpauk Excel Worksheet Functions 3 March 2nd 06 07:02 PM


All times are GMT +1. The time now is 06:09 AM.

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"