Conditional Formatting - Highlight if I show no sales for 3 months

davezieniewicz

New Member
Joined
Apr 1, 2013
Messages
5
Hello all!

Can someone please help me find a conditional formatting formula for the following scenario?

I have a list of customers in column A.
Cells B2:M20 contains the list of monthly sales and some are blank. The blank cells represent no sales for that particular customer for that month.

If I have had sales with a customer one month, and then they show no sales for 3+ months thereafter, I want to highlight the 3 or more cells that show no sales.

Example:
The customer in cell A2 has monthly sales in each cell for row #1. B2 = January sales, C2 = February sales, D2 = March sales, etc.
If A2 had sales in January(B2) and the next 3 cells to the right(C2,D2,E2) are all blank, I want all three of those cells highlighted.

Additionally if they have more than 3 months with no sales, I need those highlighted as well.

I think you all in advance for the replies.

-Dave
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
I just wanted to better clarify my situation:
I need a formula that will highlight a cell in column A for the following scenario:

If a customer has a sale, and then they have zero sales for 3 consecutive cells, I need their name highlighted.

Example:
*ABCDEFGHIJK
1Watkins IV8,0004,0004,000
2McCormack3,00011,466
3Lapinsky3,8503,8503,8503,8503,850

<tbody>
</tbody>


Watkins IV does not have a sale until column G so this would not be a trigger to have his name highlighted since he had his first sale in column G and then he has not had 3 consecutive blank cells thereafter.

McCormack had their first sale in column F, then again in column G, but then you will see that he has 3 consecutive cells that are blank afterwards. I would need this to trigger his name to be highlighted.

Lapinski never had 3 consecutive blank cells so his name would not be highlighted.

Can someone please send me a conditional formatting formula to have the customer name highlighted in the case that there is 3 blank cells in a row after the initial sale?

Thank you all in advance for the replies. This one is extremely tough for me to figure out.

-Dave
 
Upvote 0

Forum statistics

Threads
1,215,016
Messages
6,122,700
Members
449,092
Latest member
snoom82

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top