Quote:
Originally Posted by TRUSTtheDRAWCESS
Hi,
I'm trying to use conditional formatting to colour code flops by monotone, two toned and rainbow. I've tried the format only cells that contain specific text and then by suit letter (c,s,d,h) 2 c and c or s and s or only one of each and then going to specific text and trying to write the formula. I don't know much about IF AND OR formulas though.
I've also tried using a formula to determine which cells to format but I don't know there either. This is tricky because I don't know the formula, but even when I do I need it to understand that there are four suits (c,h,s,d) but I want a 2 toned board to be the same regardless of whether it is ccs or hhd etc, and same with mono and rainbow.
Any advice?
i could have sworn you've posted about this previously yeah? I don't get why you're using excel to tackle this or what specifically you are gaining from this - would be genuinely interested and if convinced it'd be nice would be happy to contribute hands on
i found a work around, but... it's not going to be pretty and very possibly brick your laptop if your dataset is massive because it requires a whole bunch of quite possibly unnecessary steps
ideally you can use this to filter and then color code the dataset manually in a separate file and then copy paste it into your master worksheet - that way you won't need to have the program perform the same operations over and over again as these flops are going to be static
Column A, where you flops are - using your formatof 5c7d9h etc
Column B "Clubs" = =IF(ISNUMBER(SEARCH("c",$A2)),1,0)
C - diamond = =IF(ISNUMBER(SEARCH("d",$A2)),1,0)
D - hearts = =IF(ISNUMBER(SEARCH("h",$A2)),1,0)
E - spades = =IF(ISNUMBER(SEARCH("s",$A2)),1,0)
Column F (the board) = =IF(SUM(B2:E2)=1,"mono",IF(SUM(B2:E2)=2,"two tone",IF(SUM(B2:E2)=3,"rainbow")))
this will output whether it's a mono/twotone/rainbow flop
i really can't stress enough that excel is not the tool you're looking for since your dataset is probably massive - so whenever humanly possible do all your data formatting and cleaning that originally relied upon a formula and copy paste the end result into a new file and use that to work with - if you attempted my workthrough on several thousand rows you'd be met with the black screen of death