Show list of customers that have not ordered

jeff_miller

New Member
Joined
Apr 7, 2005
Messages
44
I have 4 reports that I get
The data in these reports is simple, It contains one column with the customer code and a second column with an order entry date
The 4 reports are
Orders for the last two years
Orders for the last Month
Orders for the last 3 weeks
Orders for the last two weeks

I would like to drop all four of these reports into a different tab on a worksheet and add a fifth tab that would list the following
Customers who have ordered in the last two years but not in the last two weeks
Customers who have ordered in the last two years but not in the last three weeks
Customers who have ordered in the last two years but not in the last One Month

Any ideas?
I dont want to use Conditional formatting and highlighting as I would have to manually look for the customers who had not ordered for that time period.
 
Last edited:

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
The Customers in the "Last Month" sheet all have spaces after the name.
This means that they are not in the dictionary & so you get the same values for 3 & 4 weeks.
 
Upvote 0
Thank you Fluff! It is always the little things with me....
I removed the space(s) and am now getting a compile error, expected end sub? The last line in the code is highligted blue ""End With"?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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