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!


[TABLE="width: 642"]
<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>[TR]
[TD="class: xl63, width: 87"]Team[/TD]
[TD="class: xl65, width: 87"]Jake[/TD]
[TD="width: 21"][/TD]
[TD="class: xl63, width: 87"]Name[/TD]
[TD="class: xl64, width: 360, colspan: 4, align: center"]Scores[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl65"]Jake[/TD]
[TD="class: xl65, align: right"]1[/TD]
[TD="class: xl65, align: right"]2[/TD]
[TD="class: xl65, align: right"]5[/TD]
[TD="class: xl65, align: right"]-1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl65"]Ben[/TD]
[TD="class: xl65, align: right"]-5[/TD]
[TD="class: xl65, align: right"]1[/TD]
[TD="class: xl65, align: right"]3[/TD]
[TD="class: xl65, align: right"]2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl65"]Tim[/TD]
[TD="class: xl65, align: right"]3[/TD]
[TD="class: xl65, align: right"]2[/TD]
[TD="class: xl65, align: right"]1[/TD]
[TD="class: xl65, align: right"]-2[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
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,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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