Solved

Excel help (if then formulas)

Posted on 2011-02-13
5
354 Views
Last Modified: 2012-05-11
I need Microsoft excel help, I'm trying to design a spreadsheet to grade my students tests.
There are 20 answers.  To make it easier, I need a function to test If question 1 = c than 1 pt is given otherwise if question 1 = b or a, 0 pt is given. The answers will vary, so I need a function that will suffice all 20 questions.  Thanks!  
0
Comment
Question by:jhall0528
  • 2
  • 2
5 Comments
 
LVL 30

Accepted Solution

by:
SiddharthRout earned 250 total points
ID: 34883620
With your above example, you can have a simple formula.

=If(A1="c",1,0)

Sid
0
 

Author Comment

by:jhall0528
ID: 34883657
well, while that sounds simple...I just get a bunch of ####### in my cell. Specifically the E column has the correct answers.......so I tried a formula in the e column =IF(E90="c",1,0)
The correct answer is C in E90
any ideas????
0
 
LVL 30

Expert Comment

by:SiddharthRout
ID: 34883669
May I see a sample workbook?

Sid
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 34883792
Try this for all 20 questions

If you list the question answers somewhere on the worksheet, e.g. in  Z2:Z21 then assuming that the student answers are entered in E2:E21 just use this formula in F2 copied down

=(E2=Z2)+0

see attached

regards, barry

26818464.xls
0
 

Author Closing Comment

by:jhall0528
ID: 34883848
Thanks a bunch!!!!
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question