Logic test

yurant

New Member
Joined
Jan 31, 2010
Messages
2
Hi there, I need some help with an IF formula I'm trying to use to tabulate questionnaire results.

I have a "header" row where I have the question, and then below that row are "sub" rows where I placed what the correct response are, yes (cell C3), or no (cell C4).
Under that section I have tabulated the responses from those who responded to the questionnaire.
JOHN is the first responder, and since he responded correctly, I have an "x" next to his yes cell (C7). The value of his correct response is 2 points and he gets zero if he has an incorrect response, (his no cell is C8).

Since he got the question right he should receive 2 points, and here's the IF formula I used to get the 2 to appear in cell C9:

=IF(AND(C$3=C7,C$4=C8),"2","")

It looks great and works great, but the problem is that when I try adding the points in row 9 (all the correct responses), Excel seems to be taking these values as text and I consequently do not have JOHN's score as being 2, but instead it comes up as 0.

What formula should I be using in order to be able to add JOHN's correct responses?

Thanks!!!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Smitty..... Thank you!!!!!

Now I know that quotes means "treat this a non-numerical value"

Muchas gracias, you really made this a painless and enjoyable Sunday!
 
Upvote 0

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top