abdelfattah
Well-known Member
- Joined
- May 3, 2019
- Messages
- 1,430
- Office Version
- 2019
- 2010
- Platform
- Windows
hello
i have data sheet1 in b2 and c2 the brand and the price and result in sheet1 bring data when choose by dropdown from b2:b based on b2 in sheet2 then bring price from sheet2 c2 to col c multiple col a into sheet1 by the way i have data about 1000rows so if do that by vba is better
sheet2
result in sheet1 when choose from dropdown
i have data sheet1 in b2 and c2 the brand and the price and result in sheet1 bring data when choose by dropdown from b2:b based on b2 in sheet2 then bring price from sheet2 c2 to col c multiple col a into sheet1 by the way i have data about 1000rows so if do that by vba is better
sheet2
18.xlsm | ||||
---|---|---|---|---|
B | C | |||
1 | brand | price | ||
2 | aa | 2000 | ||
sheet2 |
result in sheet1 when choose from dropdown
18.xlsm | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | q | brand | price | ||
2 | ٢ | aa | 4000 | ||
3 | 2 | aa | |||
4 | 3 | aa | |||
sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C2 | C2 | =VLOOKUP(B2,sheet2!B2:C13,2,0)*A2 |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
B2:B4 | List | =OFFSET(sheet2!$B$2;;;COUNTA(sheet2!B:B)-1) |