If formula with multiple possible results

GALIM81

New Member
Joined
Apr 17, 2018
Messages
2
Hi Everyone,

I have scenario that I cant seem to find an answer to using formulas in Excel. Looking for a little help.

I am making an excel tracker to be used by a member of my team to complete quality monitoring for a client. Most question have a specific weighting if you get it correct or not. Question 1 is worth 4 points, Question 2 is worth 5 etc... For these I do a simple If formula so if i mark the field as Yes, a hidden field in another column populates with the point the question is worth and this is then summed to another field outlining what the overall score is.

One section of their form however is different. There are 4 sub questions in it and your score is dependent on the number of sub questions you get right.

I have cell A1, A2, A3, A4. If you have one of the 4 marked as a yes you get 1 point. If you have any 2 marked as a yes you get 2.5 points, any 3 equals 3.9 and all 4 you get 7.

Is there a formula that can be constructed to populate the score dependent on the number of "yes" in the range of cells?

Many thanks in advance, this one has me stumped!
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Welcome to the board.

You can use something like this:

=LOOKUP(COUNTIF(A1:A4,"Yes"),{0,1,2,3,4},{0,1,2.5,3.9,7})
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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