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.


ABCD
1Rubies Earned1250
2Minimum Tasks RequiredNumber of Tasks CompletedStructure LevelRubies Reward
3994
49124
5904
610175
7823

<tbody>
</tbody>



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:

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Re: Multiple conditions help please

what does this mean
Total Earned as a Team/Number of remaining cases
where is that on the example ?
 
Upvote 0
Re: Multiple conditions help please

Where is the number of remaining cases?
 
Upvote 0
Re: Multiple conditions help please

It would be any that aren't excluded based on the first two conditions

So, in order to receive a reward, they would need to meet all conditions, but conditions 1 and 2 should exclude some

I'm not convinced it can be done as one formula, but thought I'd try my luck!
 
Upvote 0
Re: Multiple conditions help please

Not 100% clear on what is needed here but this is my guess?

=IF(OR(C3=5, B3 < A3), 0, ($D$1/COUNT($A$3:$A$7)))

If not then as fluff said below please.<a3), 0,="" ($d$1="" count($a$3:$a$7)))<="" html=""></a3),>
 
Last edited:
Upvote 0
Re: Multiple conditions help please

Still not with you, can you show expected results, along with how you calculated them?
 
Upvote 0
These are the results I calculated manually:


ABCD
1Rubies Earned1250
2Minimum Tasks RequiredNumber of Tasks CompletedStructure LevelRubies Reward
3994625
49124625
59040
6101750
78230

<tbody>
</tbody>


Member on row 5 was not entitled to rewards as:

Number of Tasks Completed < Minimum Tasks Required

Member on row 6 was not entitled to rewards as:

Structure Level = 5

Member on row 7 was not entitled to rewards as:

Number of Tasks Completed < Minimum Tasks Required
 
Upvote 0
In that case try

Excel 2013/2016
ABCD
1Rubies Earned1250
2Minimum Tasks RequiredNumber of Tasks CompletedStructure LevelRubies Reward
3994625.0
49124625.0
59040.0
6101750.0
78230.0
search
Cell Formulas
RangeFormula
D3=IF(OR(C3=5,B3),0,D$1/COUNTIFS($C$3:$C$7,"<>"&5,$B$3:$B$7,"<"&$A$3:$A$7))
 
Upvote 0

Forum statistics

Threads
1,217,037
Messages
6,134,132
Members
449,861
Latest member
DMJHohl

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