Hi All
Attached is a list of Customer Discounts (Selling1) determing by a catergory (CATCODE).
There are 5 catergories in this example (ABC170-174).
I need to ensure every account has all 5 catergories, where if any are missing it follows the below rule: -
ABC170 = A (This will already exist for all accounts)
ABC171 = B (If already populated, A if not)*
ABC172 = A
ABC173 = A
ABC174 = 0
*If ABC171 isn't already populated, it can match ABC170, i.e. = A
However if there is already a value attributed to this, then must remain as it is, i.e = B
ABC172 & 173 needs to match ABC170
ABC174 must be 0 and already is, so for this exercise can be omitted.
This is just one example, I have around 30x alpha-numeric prefixes which all contain approx 5 numeric suffixes each. I hope that once this category is completed I would be able to modify the rule on a case by case basis to suit each alpha-numeric prefix myself. The actual data has 4000 individual customers so far too labourous to do manually.
So an end result should appear roughly like this for each account (but obviously no issue for new entries to be added to the bottom of the worksheet): -
CUST1 ABC170 30
CUST1 ABC171 25
CUST1 ABC172 30
CUST1 ABC173 30
CUST1 ABC174 0
Hope this all makes sense, any questions please let me know. And thank you in advance.
Bookmarks