Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default SUM Formula and Logical Values

I am trying to use the Excel Workbook as an exam for my students. I have a
column for their answers and then a hidden column with the correct answers. I
have a third column that says IF the two columns match "true" then a 1
appears and if false a "0" appears....I would like my total column to give me
the sum of how many questions were answered correctly. How can I accomplish
that?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default SUM Formula and Logical Values

=SUM(C:C)

If this post helps click Yes
---------------
Jacob Skaria


"lank007" wrote:

I am trying to use the Excel Workbook as an exam for my students. I have a
column for their answers and then a hidden column with the correct answers. I
have a third column that says IF the two columns match "true" then a 1
appears and if false a "0" appears....I would like my total column to give me
the sum of how many questions were answered correctly. How can I accomplish
that?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default SUM Formula and Logical Values

You can get the result without having a third column
Assume their answers in column A, and correct answers in column B

=SUMPRODUCT(--(A2:A12=B2:B12))

Adjust your range to suit



"lank007" wrote:

I am trying to use the Excel Workbook as an exam for my students. I have a
column for their answers and then a hidden column with the correct answers. I
have a third column that says IF the two columns match "true" then a 1
appears and if false a "0" appears....I would like my total column to give me
the sum of how many questions were answered correctly. How can I accomplish
that?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default SUM Formula and Logical Values

Sorry, I am new to this concept...the formula worked, but how do I add other
cells if they are all close together if that makes sense. If there are empty
cell between them that I don't want to select how do I do that. Because when
I set the range it take all the cell s from (for instance) E9:13=F9:F13 (it
takes E9,E10,E11,E12 and I just want E9, E11, E13)

"Teethless mama" wrote:

You can get the result without having a third column
Assume their answers in column A, and correct answers in column B

=SUMPRODUCT(--(A2:A12=B2:B12))

Adjust your range to suit



"lank007" wrote:

I am trying to use the Excel Workbook as an exam for my students. I have a
column for their answers and then a hidden column with the correct answers. I
have a third column that says IF the two columns match "true" then a 1
appears and if false a "0" appears....I would like my total column to give me
the sum of how many questions were answered correctly. How can I accomplish
that?

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
format logical values KRK New Users to Excel 2 March 24th 08 01:18 PM
Formula help - need to be able to sort alpabetically so logical values don't work [email protected] Excel Discussion (Misc queries) 1 July 16th 07 10:16 PM
If, Logical Values. samprince Excel Discussion (Misc queries) 9 June 19th 06 05:25 PM
SUM for logical values tjtjjtjt Excel Discussion (Misc queries) 6 November 16th 05 01:30 AM
Adding logical values Veronique Excel Discussion (Misc queries) 1 January 13th 05 07:14 AM


All times are GMT +1. The time now is 06:07 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"