count from drop down list

sn699

New Member
Joined
Aug 27, 2014
Messages
6
I have a problem with counting from drop down lists when two option matches.
I have many rows and in each row there are two drop down lists like in the picture:
33eh7b5.jpg


in each list I have 10 different options (YES,NO,IDK and more)
I want to sum the number of times the user chose the same option like in the pictures, if in row 3 option1 is "NO" and option2 is also "NO" it should be 1.
if option1 is different from option2 it should be 0 (like in rows 5 and 6).
I don't know what formula can I use to do that 1/0 values to appear (I want to put it in c3 to c7).
Hope you can help me, Thanks.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Try in C3 copied down

=IF(B3=A3,1,0)

Thanks it worked.
Now I need also to count the number of times the user choose the option "no" in option1 and "YES" in option 2 like in row 5 in the picture.
The formula will be in another cell (in the D column)
 
Upvote 0

Forum statistics

Threads
1,214,998
Messages
6,122,638
Members
449,093
Latest member
Ahmad123098

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