Sum values attributed to Yes, No, Maybe text answers

skinnea

Board Regular
Joined
Mar 15, 2003
Messages
137
Office Version
  1. 365
Platform
  1. Windows
I’ve a spreadsheet of 25 questions. Each q has a drop down answer cell. Values are Yes, No, Maybe - which are given the values 1, 0, 0.5 respectively.

Without using a helper column (to show those values) is there a formula that will sum each group of 5 answers in a single cell?
 

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.
Let's say that you had 5 answers between A1:A5, and you wanted to sum those results, based on your coniditon.
Then you could use a formula like this:
Excel Formula:
=COUNTIF(A1:A5,"Yes")+(COUNTIF(A1:A5,"Maybe")/2)

If that is not what you are looking for, then it isn't quite clear to me what you are asking. In that case, could you show us a simple example of your data and expected output?

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
Another option
Excel Formula:
=SUM(COUNTIFS(A1:A5,{"yes","maybe"})*{1,0.5})
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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