joaolucasd
New Member
- Joined
- Dec 28, 2020
- Messages
- 5
Hello!
I want to make a pivot table to control clients' payments. This pivot table has as source a table in another sheet, like this (I made a simpler table just to use as example):
I want the pivot table to have these elements:
Row1 - Client
Row2 - Type of income
Column - Month
Values - Value
The reason for this post is that I want each cell in the pivot table to have a color according to the "Control" column of the source table. The values that are marked as "paid" I want to have a green fill color and the ones marked as "not paid" I want it to be red. I made, as an example, a pivot table and colored the cells manually:
But I want it to make this automatically, since the original table has a lot of rows and I keep adding them daily. I tried messing around with Conditional Formatting, but without success. Is there a way I can do this using VBA or even with a complex formula in conditional formatting?
Thank you in advance for taking the time to read this!
I want to make a pivot table to control clients' payments. This pivot table has as source a table in another sheet, like this (I made a simpler table just to use as example):
I want the pivot table to have these elements:
Row1 - Client
Row2 - Type of income
Column - Month
Values - Value
The reason for this post is that I want each cell in the pivot table to have a color according to the "Control" column of the source table. The values that are marked as "paid" I want to have a green fill color and the ones marked as "not paid" I want it to be red. I made, as an example, a pivot table and colored the cells manually:
But I want it to make this automatically, since the original table has a lot of rows and I keep adding them daily. I tried messing around with Conditional Formatting, but without success. Is there a way I can do this using VBA or even with a complex formula in conditional formatting?
Thank you in advance for taking the time to read this!