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

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
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,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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