vba selecting entire range from offset

gtd526

Well-known Member
Joined
Jul 30, 2013
Messages
684
Office Version
  1. 2019
Platform
  1. Windows
Hello,
I use the following code to offset from A3:A23 to 3 columns over to D3:D23.
how can i select all from the offset ie A3:D23?
thanks

VBA Code:
Range("A3:A27").SpecialCells(xlFormulas, xlNumbers).Select
Selection.Offset(0, 3).Select

NBA.xlsm
ABCD
2RankCriteria2Criteria2 PercentageCount
31Rank2, AL & AM >60%80.0%25
42MOV2, AL:AM >= 60%64.3%28
53Q, R, S, T>0, W61.5%13
64MOV2 > ATS59.5%37
75MOV2,MOV,AL:AM >= 60%58.8%34
85MOV, AL:AM >= 60%58.8%34
97K,L,Q,R>0,S>0,T>058.3%12
108Orange - Q,S,V,X,AA57.1%28
118Rank2, AL >= 60%57.1%42
1210M,N>0, Q,R>055.6%54
1311Asst/Tover >=1.8555.2%58
1412Q>=60%, S>=654.1%37
1513Green - Q,S53.7%67
1613Aqua - L,Q,S53.7%67
1715Purple - Q,S,X53.3%45
1816K,L,Q,R>0,S>0,T>0,AC50.0%6
1917Cover2% > 60%48.8%41
2018K,L,Q,R>0,X48.0%25
2119Navy47.8%23
2219MOV2, MOV > ATS47.8%23
2321K,L,Q,R>0,X,AC39.3%28
24#VALUE!Pts in Paint (U:U) 0
25#N/A#N/A#N/A1
26#N/A#N/A#N/AHigher
27#VALUE!#VALUE!#VALUE!1
Sheet1
Cell Formulas
RangeFormula
C3:C27C3=IF($B3="Navy",Favs!$M$43,IF($B3="MOV2, MOV > ATS",Favs!$M$55,IF($B3="Purple - Q,S,X",Favs!$V$43,IF($B3="Green - Q,S",Favs!$P$43,IF($B3="Aqua - L,Q,S",Favs!$S$43,IF($B3="Orange - Q,S,V,X,AA",Favs!$Y$43,IF($B3="K,L,Q,R>0,S>0,T>0,AC",Favs!$AB$43,IF($B3="Rank2, AL & AM >60%",Favs!$AH$43,IF($B3="MOV, AL:AM >= 60%",Favs!$AB$67,IF($B3="MOV2, AL:AM >= 60%",Favs!$AE$67,IF($B3="MOV2,MOV,AL:AM >= 60%",Favs!$AH$67,IF($B3="K,L,Q,R>0,S>0,T>0",Favs!$P$67,IF($B3="K,L,Q,R>0,X",Favs!$M$67,IF($B3="K,L,Q,R>0,S>0,T>0,AC",Favs!$AB$43,IF($B3="K,L,Q,R>0,X,AC",Favs!$S$55,IF($B3="M,N>0, Q,R>0",Favs!$Y$79,IF($B3="Q>=60%, S>=6",Favs!$S$67,IF($B3="Q, R, S, T>0, W",Favs!$M$79,IF($B3="EPR (AH)",Favs!$M$91,IF($B3="MOV2 > ATS",Favs!$P$55,IF($B3="Adj OFF & DEF (AI, AJ)",Favs!$P$91,IF($B3="Asst/Tover >=1.85",Favs!$S$79,IF($B3="Poss/G (AD)",Favs!$S$91,IF($B3="K, R>0, T>0",Favs!$V$79,IF($B3="Tovers (AE)",Favs!$V$91,IF($B3="Steals (AF)",Favs!$Y$91,IF($B3="Rank2, AL >= 60%",Favs!$AB$55,IF($B3="Fouls (AG)",Favs!$AB$91,IF($B3="Cover2% > 60%",Favs!$AE$43,IF($B3="Rank2, AM >= 60%",Favs!$AE$55,IF($B3="Adj Off. (AI)",Favs!$AE$91,IF($B3="AC, AL & AM>= 60%",Favs!$AH$55,IF($B3="Adj Def. (AJ)",Favs!$AH$91,IF($B3="Pts in Paint (U:U)",Favs!$V$55,""))))))))))))))))))))))))))))))))))
D3D3=Favs!$AH$48
D4D4=Favs!$AE$72
D5D5=Favs!$M$84
D6D6=Favs!$P$60
D7D7=Favs!$AH$72
D8D8=Favs!$AB$72
D9D9=Favs!$P$72
D10D10=Favs!$Y$48
D11D11=Favs!$AB$60
D12D12=Favs!$Y$84
D13D13=Favs!$S$84
D14D14=Favs!$S$72
D15D15=Favs!$P$48
D16D16=Favs!$S$48
D17D17=Favs!$V$48
D18D18=Favs!$AB$48
D19D19=Favs!$AE$48
D20D20=Favs!$M$72
D21D21=Favs!$M$48
D22D22=Favs!$M$60
D23D23=Favs!$S$60
D24D24=Favs!$V$60
B25:B27B25=MID($A25,FIND("""",$A25)+1,FIND("""",$A25,FIND("""",$A25)+1)-FIND("""",$A25)-1)
D25D25=Favs!$AH$76
D26D26=Favs!$AH$77
D27D27=Favs!$AH$78
A3:A26A3=RANK(C3,Rank)
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Try
VBA Code:
Range("A3:A27").SpecialCells(xlFormulas, xlNumbers).Resize(, 4).Select
Works great. Thank you. Now I have Resize on the brain.
If I have inserted columns in A&B, is there a way to select A3:F23 using the same method as above?

NBA.xlsm
ABCDEF
2As FAV As FAVRankCriteria2Criteria2 PercentageCount
3IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),ISNUMBER($AL4),($AL4>=.6),ISNUMBER($AM4),($AM4>=.6)),"Rank2, AL & AM >60%"IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),ISNUMBER($AL5),($AL5>=.6),ISNUMBER($AM5),($AM5>=.6)),"Rank2, AL & AM >60%"1Rank2, AL & AM >60%80.0%25
4,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),$S4>=$S5,ISNUMBER($AL4),($AL4>=.6),ISNUMBER($AM4),($AM4>=.6)),"MOV2, AL:AM >= 60%",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),$S4<=$S5,ISNUMBER($AL5),($AL5>=.6),ISNUMBER($AM5),($AM5>=.6)),"MOV2, AL:AM >= 60%"2MOV2, AL:AM >= 60%64.3%28
5,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),ISNUMBER($T4),($T4>0),$W4>=$W5),"Q, R, S, T>0, W",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),ISNUMBER($T5),($T5>0),$W4<=$W5),"Q, R, S, T>0, W"3Q, R, S, T>0, W61.5%13
6,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),ISNUMBER($T4),($T4>0)),"MOV2 > ATS",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),ISNUMBER($T5),($T5>0)),"MOV2 > ATS"4MOV2 > ATS59.5%37
7,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),$O4>=$O5,$S4>=$S5,ISNUMBER($AL4),($AL4>=.6),ISNUMBER($AM4),($AM4>=.6)),"MOV2,MOV,AL:AM >= 60%",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),$O4<=$O5,$S4<=$S5,ISNUMBER($AL5),($AL5>=.6),ISNUMBER($AM5),($AM5>=.6)),"MOV2,MOV,AL:AM >= 60%"5MOV2,MOV,AL:AM >= 60%58.8%34
8,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),$O4>=$O5,ISNUMBER($AL4),($AL4>=.6),ISNUMBER($AM4),($AM4>=.6)),"MOV, AL:AM >= 60%",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),$O4<=$O5,ISNUMBER($AL5),($AL5>=.6),ISNUMBER($AM5),($AM5>=.6)),"MOV, AL:AM >= 60%"5MOV, AL:AM >= 60%58.8%34
9,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),$K4<=$K5,$L4>=$L5,$Q4>=$Q5,ISNUMBER($R4),($R4>0),ISNUMBER($S4),($S4>0),ISNUMBER($T4),($T4>0)),"K,L,Q,R>0,S>0,T>0",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),$K4>=$K5,$L4>=$L5,$Q4>=$Q5,ISNUMBER($R5),($R5>0),ISNUMBER($S5),($S5>0),ISNUMBER($T5),($T5>0)),"K,L,Q,R>0,S>0,T>0"7K,L,Q,R>0,S>0,T>058.3%12
10,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),$Q4>=$Q5,$S4>=$S5,$V4>=$V5,$X4>=$X5,$AA4>=$AA5),"Orange - Q,S,V,X,AA",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),$Q4<=$Q5,$S4<=$S5,$V4<=$V5,$X4<=$X5,$AA4<=$AA5),"Orange - Q,S,V,X,AA"8Orange - Q,S,V,X,AA57.1%28
11,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),ISNUMBER($AL4),($AL4>=.6)),"Rank2, AL >= 60%",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),ISNUMBER($AL5),($AL5>=.6)),"Rank2, AL >= 60%"8Rank2, AL >= 60%57.1%42
12,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),$M4>=$M5,ISNUMBER($N4),($N4>0),$Q4>=$Q5,ISNUMBER($R4),($R4>0)),"M,N>0, Q,R>0",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),$M4<=$M5,ISNUMBER($N5),($N5>0),$Q4<=$Q5,ISNUMBER($R5),($R5>0)),"M,N>0, Q,R>0"10M,N>0, Q,R>055.6%54
13,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),$Y4>=$Y5),"Asst/Tover >=1.85",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),$Y4<=$Y5),"Asst/Tover >=1.85"11Asst/Tover >=1.8555.2%58
14,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),ISNUMBER($Q4),($Q4>=0.6),ISNUMBER($S4),($S4>=6)),"Q>=60%, S>=6",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),ISNUMBER($Q5),($Q5>=0.6),ISNUMBER($S5),($S5>=6)),"Q>=60%, S>=6"12Q>=60%, S>=654.1%37
15,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),$Q4>=$Q5,$S4>=$S5),"Green - Q,S",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),$Q4<=$Q5,$S4<=$S5),"Green - Q,S"13Green - Q,S53.7%67
16,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),$L4>=$L5,$Q4>=$Q5,$S4>=$S5),"Aqua - L,Q,S",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),$L4<=$L5,$Q4<=$Q5,$S4<=$S5),"Aqua - L,Q,S"13Aqua - L,Q,S53.7%67
17,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),$Q4>=$Q5,$S4>=$S5,$X4>=$X5),"Purple - Q,S,X",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),$Q4<=$Q5,$S4<=$S5,$X4<=$X5),"Purple - Q,S,X"15Purple - Q,S,X53.3%45
18,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),$K4<=$K5,$L4>=$L5,$Q4>=$Q5,ISNUMBER($R4),($R4>0),ISNUMBER($S4),($S4>0),ISNUMBER($T4),($T4>0),$AC4>=$AC5),"K,L,Q,R>0,S>0,T>0,AC",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),$K4>=$K5,$L4<=$L5,$Q4<=$Q5,ISNUMBER($R5),($R5>0),ISNUMBER($S5),($S5>0),ISNUMBER($T5),($T5>0),$AC4<=$AC5),"K,L,Q,R>0,S>0,T>0,AC"16K,L,Q,R>0,S>0,T>0,AC50.0%6
19,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),ISNUMBER($Q4),($Q4>=0.6)),"Cover2% > 60%",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),ISNUMBER($Q5),($Q5>=0.6)),"Cover2% > 60%"17Cover2% > 60%48.8%41
20,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),$K4<=$K5,$L4>=$L5,$Q4>=$Q5,ISNUMBER($R4),($R4>0),$X4>=$X5),"K,L,Q,R>0,X",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),$K4>=$K5,$L4>=$L5,$Q4<=$Q5,ISNUMBER($R4),($R4>0),$X4<=$X5),"K,L,Q,R>0,X"18K,L,Q,R>0,X48.0%25
21,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),$N4>0,$P4>0,$R4>0,$T4>0),"Navy",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),$N5>0,$P5>0,$R5>0,$T5>0),"Navy"19Navy47.8%23
22,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),$P4>0,$T4>0),"MOV2, MOV > ATS",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),$P5>0,$T5>0),"MOV2, MOV > ATS"19MOV2, MOV > ATS47.8%23
23,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),$L4>=$L5,$X4>=$X5,$AC4>=$AC5),"K,L,Q,R>0,X,AC",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),$L4<=$L5,$X4<=$X5,$AC4<=$AC5),"K,L,Q,R>0,X,AC"21K,L,Q,R>0,X,AC39.3%28
24,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0)),$AI4>=$AI5),"Pts in Paint (U:U)",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0)),$AI4<=$AI5),"Pts in Paint (U:U)"#VALUE!Pts in Paint (U:U) 0
25,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0))),"Misc",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0))),"Misc"#VALUE!Misc 1
26,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0))),"Misc",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0))),"Misc"#VALUE!Misc Higher
27,IF(AND($A4=$AQ4,$B4<0,$K4<=$K5,ISNUMBER($Q4),($Q4>=0.55),ISNUMBER($R4),($R4>0),$S4>=$S5,$AR4=TRUE,$AW4<=$AW$1,$Q4>=.55,ISNA(MATCH($A4,$H$52:$H$66,0))),"Misc",IF(AND($A5=$AQ5,$B5<0,$K4>=$K5,ISNUMBER($Q5),($Q5>=0.55),ISNUMBER($R5),($R5>0),$S4<=$S5,$AR5=TRUE,$AW5<=$AW$1,$Q5>=.55,ISNA(MATCH($A5,$H$52:$H$66,0))),"Misc"#VALUE!Misc 1
Indicators
Cell Formulas
RangeFormula
D3:D27D3=MID($A3,FIND("""",$A3)+1,FIND("""",$A3,FIND("""",$A3)+1)-FIND("""",$A3)-1)
E3:E27E3=IF($D3="Navy",Favs!$M$43,IF($D3="MOV2, MOV > ATS",Favs!$M$55,IF($D3="Purple - Q,S,X",Favs!$V$43,IF($D3="Green - Q,S",Favs!$P$43,IF($D3="Aqua - L,Q,S",Favs!$S$43,IF($D3="Orange - Q,S,V,X,AA",Favs!$Y$43,IF($D3="K,L,Q,R>0,S>0,T>0,AC",Favs!$AB$43,IF($D3="Rank2, AL & AM >60%",Favs!$AH$43,IF($D3="MOV, AL:AM >= 60%",Favs!$AB$67,IF($D3="MOV2, AL:AM >= 60%",Favs!$AE$67,IF($D3="MOV2,MOV,AL:AM >= 60%",Favs!$AH$67,IF($D3="K,L,Q,R>0,S>0,T>0",Favs!$P$67,IF($D3="K,L,Q,R>0,X",Favs!$M$67,IF($D3="K,L,Q,R>0,S>0,T>0,AC",Favs!$AB$43,IF($D3="K,L,Q,R>0,X,AC",Favs!$S$55,IF($D3="M,N>0, Q,R>0",Favs!$Y$79,IF($D3="Q>=60%, S>=6",Favs!$S$67,IF($D3="Q, R, S, T>0, W",Favs!$M$79,IF($D3="EPR (AH)",Favs!$M$91,IF($D3="MOV2 > ATS",Favs!$P$55,IF($D3="Adj OFF & DEF (AI, AJ)",Favs!$P$91,IF($D3="Asst/Tover >=1.85",Favs!$S$79,IF($D3="Poss/G (AD)",Favs!$S$91,IF($D3="K, R>0, T>0",Favs!$V$79,IF($D3="Tovers (AE)",Favs!$V$91,IF($D3="Steals (AF)",Favs!$Y$91,IF($D3="Rank2, AL >= 60%",Favs!$AB$55,IF($D3="Fouls (AG)",Favs!$AB$91,IF($D3="Cover2% > 60%",Favs!$AE$43,IF($D3="Rank2, AM >= 60%",Favs!$AE$55,IF($D3="Adj Off. (AI)",Favs!$AE$91,IF($D3="AC, AL & AM>= 60%",Favs!$AH$55,IF($D3="Adj Def. (AJ)",Favs!$AH$91,IF($D3="Pts in Paint (U:U)",Favs!$V$55,""))))))))))))))))))))))))))))))))))
F3F3=Favs!$AH$48
F4F4=Favs!$AE$72
F5F5=Favs!$M$84
F6F6=Favs!$P$60
F7F7=Favs!$AH$72
F8F8=Favs!$AB$72
F9F9=Favs!$P$72
F10F10=Favs!$Y$48
F11F11=Favs!$AB$60
F12F12=Favs!$Y$84
F13F13=Favs!$S$84
F14F14=Favs!$S$72
F15F15=Favs!$P$48
F16F16=Favs!$S$48
F17F17=Favs!$V$48
F18F18=Favs!$AB$48
F19F19=Favs!$AE$48
F20F20=Favs!$M$72
F21F21=Favs!$M$48
F22F22=Favs!$M$60
F23F23=Favs!$S$60
F24F24=Favs!$V$60
F25F25=Favs!$AH$76
F26F26=Favs!$AH$77
F27F27=Favs!$AH$78
C3:C26C3=RANK(E3,Rank)
 
Upvote 0
Try
VBA Code:
Range("C3:C27").SpecialCells(xlFormulas, xlNumbers).Offset(, -2).Resize(, 6).Select
 
Upvote 0
Solution
Try
VBA Code:
Range("C3:C27").SpecialCells(xlFormulas, xlNumbers).Offset(, -2).Resize(, 6).Select
Works perfect. I readjusted the Offset to -4 since im using E3:E27.
Thank you.
 
Upvote 0

Forum statistics

Threads
1,223,884
Messages
6,175,173
Members
452,615
Latest member
bogeys2birdies

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