Hello,
I am trying to write/find a correct vba code able to sum the amount in a colored cell based on two conditions : the color of the background and based on another condition (here the fruit)
You can find a easy table showing the situation :
I want the formula to sum the amount in the cell based on the color yellow and if the fruit if an apple for exemple.
We can see the result below, but made manually.
I found a lot of code able to sum (without second condition) or code able to see the color code of the background, but I am not able to use "SUMIF" with it able to choose based on the fruit directly.
Could you please help me ?
Thank you very much.
I am trying to write/find a correct vba code able to sum the amount in a colored cell based on two conditions : the color of the background and based on another condition (here the fruit)
You can find a easy table showing the situation :
I want the formula to sum the amount in the cell based on the color yellow and if the fruit if an apple for exemple.
We can see the result below, but made manually.
I found a lot of code able to sum (without second condition) or code able to see the color code of the background, but I am not able to use "SUMIF" with it able to choose based on the fruit directly.
Could you please help me ?
Thank you very much.