Return value if condition is met, includes lookup value

Sirod

New Member
Joined
Aug 6, 2009
Messages
47
Hello,

I have two different tables, one that has a list of levels and the middle 50% of point ranges associated with each level - see the below sample
LevelLower PointUpper Point
4425475
3325375
2225275
11250175

The second table has a list of players, their total score, and level. I need a formula that will look up the level in table one and return a Yes if the total score falls within the lower and upper point ranges noted for that level.

For example, if a player was at level 4 and had a score of 450, Yes would be returned. But if the score was 411, a no would be returned.

Please note that the data must remain sorted by player name. The levels and scores are not sorted and I can't change this.

Thanks.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
is the 1250 lowest point for level 1 supposed to be 125?

Try this:

Book1
ABC
1LevelLower PointUpper Point
24425475
33325375
42225275
51125175
6
7
8
9PlayerScorewithing Limits
103498No
111179No
123400No
134336No
141412No
153358Yes
161416No
172431No
183351Yes
193202No
201474No
211550No
223481No
234435Yes
244306No
sirod
Cell Formulas
RangeFormula
C10:C24C10=IF(SUM((A10=$A$2:$A$5)*(B10>=$B$2:$B$5)*(B10<=$C$2:$C$5))>0,"Yes","No")
 
Upvote 0
is the 1250 lowest point for level 1 supposed to be 125?

Try this:

Book1
ABC
1LevelLower PointUpper Point
24425475
33325375
42225275
51125175
6
7
8
9PlayerScorewithing Limits
103498No
111179No
123400No
134336No
141412No
153358Yes
161416No
172431No
183351Yes
193202No
201474No
211550No
223481No
234435Yes
244306No
sirod
Cell Formulas
RangeFormula
C10:C24C10=IF(SUM((A10=$A$2:$A$5)*(B10>=$B$2:$B$5)*(B10<=$C$2:$C$5))>0,"Yes","No")
This worked perfectly. Thank you!
 
Upvote 0
@Sirod, any chance you could answer my question & update your profile?
There may be better ways of doing this.
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,141
Members
453,021
Latest member
Justyna P

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