Should i use Lookup or Vlookup to reference a table?

Sprackers

New Member
Joined
Aug 9, 2017
Messages
31
I sell vegetables to a range of clients. All clients have different charges for different vegetables.



My first table is all the vegetables down the left hand side and all the clients along the top with all the charges per item filled in the main body of this table.




My order entry sheet i put in the vegetable, then the client, then the quantity, and I want the last cell to calculate the charges by referencing my veg/client/chages table and multiply it by the quantity i have put in.



I know this is simple but I have looked everywhere and cant find how to do it?



Any help will be really appreciated
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
You could use something like this:

=INDEX($A$1:$J$10,MATCH(L1,$A$1:$A$10,0),MATCH(M1,$A$1:$J$1,0))

where the table is in A1:J10. The vegetables in A1:A10. The client in A1:J1. The vegaetable to search for in L1 and the client in M1.
 
Upvote 0
You could use something like this:

=INDEX($A$1:$J$10,MATCH(L1,$A$1:$A$10,0),MATCH(M1,$A$1:$J$1,0))

where the table is in A1:J10. The vegetables in A1:A10. The client in A1:J1. The vegaetable to search for in L1 and the client in M1.




Cheers Steve the Fish, I'm going to go away now and try and figure it out.

Many thanks
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,739
Members
448,989
Latest member
mariah3

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