Find Negative Numbers based on criteria

jhwallace

New Member
Joined
Aug 4, 2013
Messages
31
This seems like a simple problem, but I'm stuck. Right now I'm on the verge of a giant, if(and(or statement to look at every possible outcome, but I think there has to be an easier way. I'm assuming this is an array formula of some type, but I am not skilled enough to figure it out.

I have a drop down where I can pick a name. I have chosen "Jake." I want a formula in a separate cell that now looks at all of Jake's scores (1, 2, 5, -1) and simply tells me "YES" if there is a negative number in Jake's row of scores, or "NO" if there is not. If I pick a different name from the Team drop-down, the formula updates for the new team/name?

Thank you!


TeamJakeNameScores
Jake125-1
Ben-5132
Tim321-2

<colgroup><col width="87" span="2" style="width: 65pt;"><col width="21" style="width: 16pt;"><col width="87" style="width: 65pt;"><col width="99" style="width: 74pt;"><col width="87" span="3" style="width: 65pt;"></colgroup><tbody>
</tbody>
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
How about


Excel 2013/2016
ABCDEFGH
1NameScores
2Jake125-1JakeYES
3Ben-5132
4Tim3212
Data
Cell Formulas
RangeFormula
H2=IF(MIN(INDEX(B2:E4,MATCH(G2,A2:A4,0),0))<0,"YES","NO")
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,869
Messages
6,122,012
Members
449,060
Latest member
LinusJE

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