Concantenation, Iferror and vlookup

Scahsaint

New Member
Joined
Sep 28, 2016
Messages
6
Hi guys. I need some help with utilizing excel functions. Specifically, vlookup, concantenate and iferror. This is the question that is eluding me.

"The Preferred Purchaser Discount % (heading “Preferred Purchaser Discount %”) is allowed to certain favoured customers of the business. These customers are listed in the Preferred Customer Table (see Data_Table worksheet). The indexing in this table is the concatenation of three values: customer name, the underscore character, and the customer suburb (e.g., Smith_Aspley). You must retrieve the appropriate preferred customer discount rate from this table. You must also recognise that only a small percentage of customers are given “preferred” status. This means that a lookup of the table may not always return a positive result. You will develop a formula combining VLOOKUP, CONCATENATE, and IFERROR. You must use the appropriate named range within your VLOOKUP function. The resulting data should be formatted as Percentage with zero decimal places."

The final solution(utilizing the excel function mentioned above) will be on the purchase table under "preferred purchaser discount %." These two tables are in separate sheets. Data table is sheet 1 and purchaser table is sheet 2 on excel 2013. If anyone can help me find a solution on how to complete this particular question I will be very grateful. Thank you in advance.

Below is the tables that are relevant to this question.

Data table

[TABLE="width: 286"]
<colgroup><col span="2"></colgroup><tbody>[TR]
[TD="colspan: 2"]Preferred Customer Table[/TD]
[/TR]
[TR]
[TD]Customer Name[/TD]
[TD]Customer Discount[/TD]
[/TR]
[TR]
[TD]Smith_Aspley[/TD]
[TD="align: right"]0.1[/TD]
[/TR]
[TR]
[TD]Monroe_Deagon[/TD]
[TD="align: right"]0.06[/TD]
[/TR]
[TR]
[TD]Dorney_Boondall[/TD]
[TD="align: right"]0.08[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Purchaser table

[TABLE="width: 952"]
<colgroup><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Purchaser Name[/TD]
[TD]Suburb[/TD]
[TD]Purchase
Date[/TD]
[TD]Product Ordered[/TD]
[TD]Volume Ordered (kg)[/TD]
[TD]Total Order Cost/Kg[/TD]
[TD]Preferred Purchaser Discount %[/TD]
[/TR]
[TR]
[TD]Smith[/TD]
[TD]Aspley[/TD]
[TD="align: right"]42563[/TD]
[TD]Apples[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]$2.15[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Butler[/TD]
[TD]Sandgate[/TD]
[TD="align: right"]42566[/TD]
[TD]Pears[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]$1.65[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Dorney[/TD]
[TD]Boondall[/TD]
[TD="align: right"]42570[/TD]
[TD]Bananas[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]$1.65[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Thomas[/TD]
[TD]Sunnybank[/TD]
[TD="align: right"]42570[/TD]
[TD]Pineapples[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]$1.62[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Higgins[/TD]
[TD]Enoggera[/TD]
[TD="align: right"]42571[/TD]
[TD]Apples[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]$2.15[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Simmons[/TD]
[TD]Tarragindi[/TD]
[TD="align: right"]42571[/TD]
[TD]Pears[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]$1.65[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Monroe[/TD]
[TD]Deagon[/TD]
[TD="align: right"]42572[/TD]
[TD]Bananas[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]$1.65[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Moore[/TD]
[TD]Mt Cootha[/TD]
[TD="align: right"]42573[/TD]
[TD]Pineapples[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]$1.62[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]White[/TD]
[TD]Indooroopilly[/TD]
[TD="align: right"]42574[/TD]
[TD]Apples[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]$2.15[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Thompson[/TD]
[TD]Toowong[/TD]
[TD="align: right"]42576[/TD]
[TD]Pears[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]$1.65[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jonas[/TD]
[TD]Logan City[/TD]
[TD="align: right"]42578[/TD]
[TD]Bananas[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]$1.65[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Drysdale[/TD]
[TD]Sandgate[/TD]
[TD="align: right"]42581[/TD]
[TD]Pineapples[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]$1.62[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top