tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,210
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi Everyone,
I have a list of sales going back to 1st jan 2017
I'm want to have a macro tell me the staus of that client according to what has happened up until that row,
so for example,
all cilents are listed down Column C,
All Dates are listed down column G the sheet is in date order old to new.
in column I i want to start at row 2 look at the clients name and see if they have ordered from us before by only looking up the rows so (row two bad example) but row 100, take name Dave, look for dave, if dave appears before this row he is an existing client and in column G goes "existing" if not he is new and in g goes "new" if he is existing but I also need to know if he ordered before 2018 so if the date is after 1/1/2018 then if dave ordered in 2017 I want column H to Say "Loyal"
also I want to rerun the macro but no need to change the data so can it be stat to only fill in from the last row of data in column G?
please help if you can
Tony
I have a list of sales going back to 1st jan 2017
I'm want to have a macro tell me the staus of that client according to what has happened up until that row,
so for example,
all cilents are listed down Column C,
All Dates are listed down column G the sheet is in date order old to new.
in column I i want to start at row 2 look at the clients name and see if they have ordered from us before by only looking up the rows so (row two bad example) but row 100, take name Dave, look for dave, if dave appears before this row he is an existing client and in column G goes "existing" if not he is new and in g goes "new" if he is existing but I also need to know if he ordered before 2018 so if the date is after 1/1/2018 then if dave ordered in 2017 I want column H to Say "Loyal"
also I want to rerun the macro but no need to change the data so can it be stat to only fill in from the last row of data in column G?
please help if you can
Tony