Trouble creating a formula with 3 possible answers

JamieSarra

New Member
Joined
Oct 7, 2015
Messages
2
Hi!
I have been trying to create a formula that will generate 1 of 3 possible answers with no luck. Here is what I need to happen:
In column F if the total equals 3 or 4 then in column G the answer generated needs to be a 2.
In column F if the total equals 5 or 6 then in column G the answer generated needs to be a 3.
In column F if the total equals 7 or 8 then in column G the answer generated needs to be a 4.

I've tried some IF formulas and some with AND that I found online and through help searches, but most formulas, I found were for only 2 possible answers, not 3. Please help, if you can. Thanks!
 
Last edited:

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
use a nested formula

=IF( OR(F_Total_Cell =3 , F_Total_Cell = 4), 2, IF(OR(F_Total_Cell =5 , F_Total_Cell = 6), 3, IF( OR(F_Total_Cell =7 , F_Total_Cell = 8), 4, "cell does not meet criteria")))
 
Upvote 0
Try
LOOKUP(F1,{3,5,7},{2,3,4})

where F1 is your column total

Alternatively if you know that the column total values can ONLY be 3,4,5,6,7,8 you could simply use this:

=INT(F1+1)/2
 
Upvote 0

Forum statistics

Threads
1,216,735
Messages
6,132,425
Members
449,727
Latest member
Aby2024

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