Solved

Show only team values equal to or greater than two

Posted on 2014-10-05
7
111 Views
Last Modified: 2014-10-07
Hi everyone,

 To clarify, in the attached file, sheet named 'Current Game 2', the teams are in blocks on the left and right side. (i.e. OAK = B5:I8; KC = J5:Q8), etc. The corresponding values from each block are culled and put into the corresponding cell in Z:AA.

   The 'SO-' comparison, we see that PIT (J9) has a value of 2 or greather in the 'SO-' column (i.e. the value in P12). That said, the values shown are:

  'PIT' in Z7 and 5-1 in 'AA7'. (The '-' is a separator.)

  The same would be done for the rest of the teams down the line.

 FYI: the dark green sections are the ones that are being referenced here, and have been filled out by hand to show the expected results.

Note also that the blanks in Z:AA are blank because the teams do not meet the criteria on having a number of two or greater in the "SO-" section (i.e. H or P). Only one team will have a value of two or greater in those cells)
EE-gamestats-SO.xlsm
0
Comment
Question by:Pedrov664
  • 4
  • 3
7 Comments
 
LVL 29

Expert Comment

by:gowflow
ID: 40363308
What is the value that should be >2 it is not clear to me for the PIT example is it:
P12 + Q12
or
P12 - Q12
or ... ?

pls clarify this point.
gowflow
0
 

Author Comment

by:Pedrov664
ID: 40363395
Goflow,

J9 is the value to use as the standard. If it is >=2 then "PIT" is the team as is in this case. To clarify the values are not added or subtracted the value in that cell is taken at face value.
0
 

Author Comment

by:Pedrov664
ID: 40363521
Goflow,

To clarify further, I will use the examples in the attached sheet and go over them one by one.

SF:PIT block comparison PIT has a value of 5 and SF -5. In this case PIT's value is greather than two PIT goes on the left side (Z7) and the 'SO' values '5-1' go on the right side (AA7).

BAL:TOR block comparison TOR has a value of 2 and BAL -2. In this case TOR 's  value is greather than two; TOR goes on the left side (Z10) and the 'SO' values '2-0' go on the right side (AA10).

TB:CLE block comparison CLE has a value of 5 and the other team's value is less. In this case CLE 's  value is greather than two; CLE goes on the left side (Z11) and the 'SO' values '5-12' go on the right side (AA11).

The same will apply to all other teams. The other teams that meet this criteria are: DET, CWS, OAK, STL and LAD. All the teams have been put in manually in their respective cells with scores in the "Current Game 2" sheet.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 29

Accepted Solution

by:
gowflow earned 500 total points
ID: 40364152
ok here it is:

a clear explanation gets you a clear answer and solution.

Put this formula in Cell Z6 and drag it down
=IF(OR(ISERROR(ABS(ROUND(INDIRECT("P" & 4*ROW(E5)-15+3)-INDIRECT("H" &4*ROW(M5)-15+3),2))),ISERROR(ABS(ROUND(INDIRECT("P" & 4*ROW(E5)-15+3)-INDIRECT("H" &4*ROW(M5)-15+3),2)))),"",IF(AND(ABS(ROUND(INDIRECT("P" & 4*ROW(E5)-15+3)-INDIRECT("H" &4*ROW(M5)-15+3),2))>2,ABS(ROUND(INDIRECT("P" & 4*ROW(E5)-15+3)-INDIRECT("H" &4*ROW(M5)-15+3),2))>2),IF(INDIRECT("P" & 4*ROW(E5)-15+3)-INDIRECT("H" &4*ROW(M5)-15+3)>0,INDIRECT("J" & 4*ROW(B5)-15),INDIRECT("B" & 4*ROW(J5)-15)),""))

Put this formula in cell AA6 and drag it down
=IF(OR(ISERROR(ABS(ROUND(INDIRECT("P" & 4*ROW(E5)-15+3)-INDIRECT("H" &4*ROW(M5)-15+3),2))),ISERROR(ABS(ROUND(INDIRECT("P" & 4*ROW(E5)-15+3)-INDIRECT("H" &4*ROW(M5)-15+3),2)))),"",IF(AND(ABS(ROUND(INDIRECT("P" & 4*ROW(E5)-15+3)-INDIRECT("H" &4*ROW(M5)-15+3),2))>2,ABS(ROUND(INDIRECT("P" & 4*ROW(E5)-15+3)-INDIRECT("H" &4*ROW(M5)-15+3),2))>2),ABS(ROUND(INDIRECT("P" & 4*ROW(E5)-15+3),2))&" - "&ABS(ROUND(INDIRECT("Q" &4*ROW(M5)-15+3),2)),""))

Pls see attached file. BTW the formula in ER 2+ not yet corrected pending your reply to the other question.
gowlfow
EE-gamestats-SO-V02.xlsm
0
 

Author Closing Comment

by:Pedrov664
ID: 40364498
Goflow,

Good Work! Thank you again.
0
 
LVL 29

Expert Comment

by:gowflow
ID: 40364627
Glad I could help. Let me know if you need more help on this issue.
gowflow
0
 

Author Comment

by:Pedrov664
ID: 40365918
Goflow,

Perhaps you'd like to help me finish the chart in the link below,

http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28532801.html
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now