whitebuffalofarm
New Member
- Joined
- Apr 25, 2010
- Messages
- 20
This should be simple, but i'm having trouble getting it to understand me.
Column L is all i'm working on, and when i get it i think i can edit it to fit.
What i want to ask.. COUNTIF any cell in column K has the same text as K4, AND also has the word "out" in column F.
Excel 2007
Column L is all i'm working on, and when i get it i think i can edit it to fit.
What i want to ask.. COUNTIF any cell in column K has the same text as K4, AND also has the word "out" in column F.
Excel Workbook | |||||||||
---|---|---|---|---|---|---|---|---|---|
F | G | H | I | J | K | L | |||
4 | out | FLY | #VALUE! | ||||||
5 | out | FLY | 2 | ||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
F4 | =IF(LEFT($B4, 6)="POSTED", "", IF($E4="picked", SUBSTITUTE(IF(MID($B4,FIND(" to ", $B4)+4,LEN($B4))="underperform.","","out"),"outperform","out"), "")) | |
F5 | =IF(LEFT($B5, 6)="POSTED", "", IF($E5="picked", SUBSTITUTE(IF(MID($B5,FIND(" to ", $B5)+4,LEN($B5))="underperform.","","out"),"outperform","out"), "")) | |
G4 | =IF(LEFT($B4, 6)="POSTED", "", IF($E4="picked", SUBSTITUTE(IF(MID($B4,FIND(" to ", $B4)+4,LEN($B4))="outperform.","","under"),"underperform","under"), "")) | |
G5 | =IF(LEFT($B5, 6)="POSTED", "", IF($E5="picked", SUBSTITUTE(IF(MID($B5,FIND(" to ", $B5)+4,LEN($B5))="outperform.","","under"),"underperform","under"), "")) | |
H4 | =IF(LEFT($B4, 6)="POSTED", "", IF(ISNUMBER(SEARCH("ended",$B4)), "ended", "")) | |
H5 | =IF(LEFT($B5, 6)="POSTED", "", IF(ISNUMBER(SEARCH("ended",$B5)), "ended", "")) | |
I4 | =IF(LEFT($B4,6)="Posted ","",IF($H4="ended",SUBSTITUTE(IF(MID($B4,FIND(" ended ",$B4,1)+7,5)="under","","out"),"outpe","out"),"")) | |
I5 | =IF(LEFT($B5,6)="Posted ","",IF($H5="ended",SUBSTITUTE(IF(MID($B5,FIND(" ended ",$B5,1)+7,5)="under","","out"),"outpe","out"),"")) | |
J4 | =IF(LEFT($B4,6)="Posted ","",IF($H4="ended",SUBSTITUTE(IF(MID($B4,FIND(" ended ",$B4,1)+7,5)="under","under",""),"outpe",""),"")) | |
J5 | =IF(LEFT($B5,6)="Posted ","",IF($H5="ended",SUBSTITUTE(IF(MID($B5,FIND(" ended ",$B5,1)+7,5)="under","under",""),"outpe",""),"")) | |
K4 | =IF(LEFT($B4, 6)="POSTED", "", IF($E4="picked", MID($B4, FIND("^",SUBSTITUTE($B4, " ", "^", 2))+1, 3), SUBSTITUTE(MID($B4,FIND(" on ", $B4)+4,LEN($B4)),".",""))) | |
K5 | =IF(LEFT($B5, 6)="POSTED", "", IF($E5="picked", MID($B5, FIND("^",SUBSTITUTE($B5, " ", "^", 2))+1, 3), SUBSTITUTE(MID($B5,FIND(" on ", $B5)+4,LEN($B5)),".",""))) | |
L4 | =COUNTIFS(K:K,EXACT($K4,K:K),(Sheet1!F$4:F$1048576),"out") |