icytuvi
New Member
- Joined
- Feb 2, 2020
- Messages
- 22
- Office Version
- 2013
- Platform
- Windows
Hi,
I need to send the notice on new price list in .pdf format to various customers, and I really appreciate if you could help advise on how to do it at one go without having to export file for each and every customer.
I have the database in two sheets as below:
Sheet 1: the price list by region
Sheet 2: Customer list by region
And I would like to export the notification to all customer based on this template:
Thank you very much.
I need to send the notice on new price list in .pdf format to various customers, and I really appreciate if you could help advise on how to do it at one go without having to export file for each and every customer.
I have the database in two sheets as below:
Sheet 1: the price list by region
Example.xlsx | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
2 | PRICE LIST BY REGION | ||||||
3 | Brand | SKU | Selangor | Sarawak | Mallaka | ||
4 | Samsung | Galaxy Note 10 | $ 800 | $ 820 | $ 830 | ||
5 | Samsung | Galaxy Note 10 Lite | $ 700 | $ 720 | $ 730 | ||
6 | Samsung | Galaxy Ultra Note 20 | $ 1,000 | $ 1,020 | $ 1,030 | ||
7 | Apple | Iphone 13 | $ 1,200 | $ 1,220 | $ 1,230 | ||
8 | Apple | Iphone 12 Pro Max | $ 1,100 | $ 1,120 | $ 1,130 | ||
9 | Apple | Iphone 12 | $ 1,000 | $ 1,020 | $ 1,030 | ||
10 | Apple | Iphone 11 | $ 800 | $ 820 | $ 830 | ||
11 | Oppo | Reno 5 | $ 600 | $ 620 | $ 630 | ||
12 | Xiaomi | Redmi Note 5 | $ 300 | $ 320 | $ 330 | ||
Price list |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D4:D12 | D4 | =C4+20 |
E4:E12 | E4 | =C4+30 |
Sheet 2: Customer list by region
Example.xlsx | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
3 | # | Code | Customer | Region | ||
4 | 1 | SE0001 | Marina | Selangor | ||
5 | 2 | SA0001 | Tracy | Sarawak | ||
6 | 3 | MA0001 | Wil C. | Mallaka | ||
7 | 4 | SE0002 | Areen | Selangor | ||
8 | 5 | SA0002 | Chris | Sarawak | ||
9 | 6 | MA0002 | Mark | Mallaka | ||
10 | 7 | SE0003 | Taylor | Selangor | ||
11 | 8 | SA0003 | Stephen | Sarawak | ||
12 | 9 | MA0003 | Chloe | Mallaka | ||
13 | 10 | SE0004 | Yoko | Selangor | ||
14 | 11 | SA0004 | Leonora | Sarawak | ||
15 | 12 | MA0004 | Phil | Mallaka | ||
16 | 13 | SE0005 | Lana | Selangor | ||
17 | 14 | SA0005 | Sam | Sarawak | ||
18 | 15 | MA0005 | Theodora | Mallaka | ||
Customer list |
And I would like to export the notification to all customer based on this template:
Example.xlsx | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | |||
3 | Dear Mr./Ms: | Taylor | 7 | ||||||||
4 | Location: | Selangor | |||||||||
5 | |||||||||||
6 | Kindly be informed that from effective 18th Oct 2021, the follow price list will be applied at your region: | ||||||||||
7 | |||||||||||
8 | Brand | SKU | Price | ||||||||
9 | Samsung | Galaxy Note 10 | $ 800 | ||||||||
10 | Samsung | Galaxy Note 10 Lite | $ 700 | ||||||||
11 | Samsung | Galaxy Ultra Note 20 | $ 1,000 | ||||||||
12 | Apple | Iphone 13 | $ 1,200 | ||||||||
13 | Apple | Iphone 12 Pro Max | $ 1,100 | ||||||||
14 | Apple | Iphone 12 | $ 1,000 | ||||||||
15 | Apple | Iphone 11 | $ 800 | ||||||||
16 | Oppo | Reno 5 | $ 600 | ||||||||
17 | Xiaomi | Redmi Note 5 | $ 300 | ||||||||
18 | |||||||||||
19 | Regards | ||||||||||
Notice |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B3 | B3 | =VLOOKUP(C3,'Customer list'!$A$4:$C$18,3,0) |
B4 | B4 | =VLOOKUP(B3,'Customer list'!$C$4:$D$18,2,0) |
C9:C17 | C9 | =SUMPRODUCT(('Price list'!$C$3:$E$3=Notice!B$4)*('Price list'!$B$4:$B$12=Notice!B9)*('Price list'!$C$4:$E$12)) |
Thank you very much.