문제

I have data like this:

In one sheet I have a table A with dates (ascending order) and account balances. In another table B, I want to retrieve the balance on the last day of the month.

Now, I want to set the font color to white if the the latest date in table A is smaller than the corresponding date in table B.

See screenshot below, I want the marked area to be white (June 2014 and later). I think this can be done with conditional formatting.

Someone knows?

enter image description here

도움이 되었습니까?

해결책

Starting in A19, select the cells in the row. Create a new conditional format based on a formula

=DATE(YEAR(A16),MONTH(A16),1)>MAX($C$1:$C$13)

Format the text white for this rule.

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top