문제

Basically I have a column showing poker hands data in the following form:

AsKh TcTd QsQh 5d7d

I want to apply a conditional formatting formulat to the column so that diamonds 'd' gets replaced with a blue diamond symbold and their preceding card gets colored blue. And so forth with all cards. The goal is to make it easier to read the data.

Thanks a lot!

도움이 되었습니까?

해결책

You can use the following formula in a cell formatted with the symbol font. J and Q will look funky though. You'll have to use a macro to address that and basically adjust the font for each cell of the result.

=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,"c",CHAR(167)),"h",CHAR(169)),"s",CHAR(170)),"d",CHAR(168))
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top