concenhr23
New Member
- Joined
- Apr 24, 2020
- Messages
- 8
- Office Version
- 2010
- Platform
- Windows
Hi,
Hoping someone can help me formulate this. I have a list of products in Column A, e.g. Product number Z3415R has a total of 13. I need to assign a specific amount of products to each of the states I have listed. Right now, I have to assign the state in Column B based on the table I have on the left. So for Product Z3415R, NJ will get three, NY gets two and IL gets 4...etc. For each product number, I have to do the same. I tried IF and COUNTIF <= but I can get to work. Thanks in advance!
Hoping someone can help me formulate this. I have a list of products in Column A, e.g. Product number Z3415R has a total of 13. I need to assign a specific amount of products to each of the states I have listed. Right now, I have to assign the state in Column B based on the table I have on the left. So for Product Z3415R, NJ will get three, NY gets two and IL gets 4...etc. For each product number, I have to do the same. I tried IF and COUNTIF <= but I can get to work. Thanks in advance!
State | ||||||||||
Column A | Column B | Product | NJ | NY | IL | OR | TX | Total | ||
Product List | State | Z3415R | 3 | 2 | 4 | 1 | 3 | 13 | ||
Z3415R | NJ | G2891Q | 4 | 3 | 5 | 2 | 4 | 18 | ||
Z3415R | NJ | A7768Y | 1 | 2 | 2 | 3 | 1 | 9 | ||
Z3415R | NJ | |||||||||
Z3415R | NY | |||||||||
Z3415R | NY | |||||||||
Z3415R | IL | |||||||||
Z3415R | IL | |||||||||
Z3415R | IL | |||||||||
Z3415R | IL |