Hi All, seeking help for a possible VBA solution to a problem I am facing.
I will have 3 worksheets
First worksheet
Blank customer = applies to all customers
Blank product = applies to all products
Second worksheet is where all my customers are listed
The 3rd worksheet is where the results will generate after macro runs:
I am still trying to figure out how to write this nested loop logic, any help would be much appreciated!
I will have 3 worksheets
First worksheet
Blank customer = applies to all customers
Blank product = applies to all products
Market | Customer | Product | Site | Ratio |
US | New York | 0.7 | ||
US | Orlando | 0.3 | ||
US | 999 | New York | 1 | |
US | AAA | 111 | New York | 1 |
US | BBB | 222 | Orlando | 0.6 |
US | BBB | 222 | New York | 0.4 |
Second worksheet is where all my customers are listed
Market | Customer |
US | AAA |
US | BBB |
US | CCC |
US | DDD |
US | EEE |
The 3rd worksheet is where the results will generate after macro runs:
I am still trying to figure out how to write this nested loop logic, any help would be much appreciated!
Market | Customer | Product | Site | Ratio |
US | AAA | New York | 0.7 | |
US | AAA | Orlando | 0.3 | |
US | BBB | New York | 0.7 | |
US | BBB | Orlando | 0.3 | |
US | CCC | New York | 0.7 | |
US | CCC | Orlando | 0.3 | |
US | DDD | New York | 0.7 | |
US | DDD | Orlando | 0.3 | |
US | EEE | New York | 0.7 | |
US | EEE | Orlando | 0.3 | |
US | AAA | 999 | New York | 1 |
US | BBB | 999 | New York | 1 |
US | CCC | 999 | New York | 1 |
US | DDD | 999 | New York | 1 |
US | EEE | 999 | New York | 1 |
US | AAA | 111 | New York | 1 |
US | BBB | 222 | Orlando | 0.6 |
US | BBB | 222 | New York | 0.4 |