Multiple conditions

jemimapuddleduck

New Member
Joined
Dec 10, 2018
Messages
6
Hi all,

I'm creating a 'rewards' spreadsheet and have nailed all of the formulas I need, apart from one :(


I'm getting confused with the multiple conditions I need, and how to put it into a formula.


[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]Rubies Earned[/TD]
[TD="align: center"]1250[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Minimum Tasks Required[/TD]
[TD]Number of Tasks Completed[/TD]
[TD]Structure Level[/TD]
[TD]Rubies Reward[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]9[/TD]
[TD]9[/TD]
[TD]4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]9[/TD]
[TD]12[/TD]
[TD]4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]9[/TD]
[TD]0[/TD]
[TD]4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]10[/TD]
[TD]17[/TD]
[TD]5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]8[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]



What I want to be able to calculate is this:




If Structure Level is '5', Reward = 0
If Number of Tasks Completed < minimum tasks required, reward=0
If Number of Tasks Completed > Minimum Tasks Required, Reward = Total Earned as a Team/Number of remaining cases




Hope that makes sense. Can anyone advise, please?


Thanks :)
 
Last edited by a moderator:
[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]D3[/TH]
[TD="align: left"]=IF(OR(C3=5,B3<A3),0,D$1/COUNTIFS($C$3:$C$7,"<>"&5,$B$3:$B$7,"<"&$A$3:$A$7))[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]


Fluff, thank you so much - it worked brilliantly :)

I really appreciate your help :D
 
Upvote 0

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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