|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to return a value in a data table using vertical and horizontal criteria
Hi. I have a data table example as follows:
Column A Column B Column C Column D Column E Product Code Cost Quantity Quantity Quantity 25 50 75 5678 2 1.3 1.25 1.2 2356 3.5 2.0 3.5 3.1 4578 3.0 1.2 4.3 4.0 In a separate workbook to the data table I want to select say the product code (5678) and quantity required (25) from drop down menus and to then return the value 2 x 1.3 = 2.6 into a sales price cell. Next time I could select code 4578 with quantity 75. Then I need to multiply 3 x 4 = 12. If anyone can show me the formula(s) to use it would be appreciated as I am getting no where with this, Thanks |
#2
|
||||
|
||||
To select a value in your table use the INDEX function combined with MATCH. It is well-documented. This will return one value. I don't see where you get the second one to perform the multiplication?
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
need VBA to Transpose the Data from excel to word based on given criteria(status) | winmaxservices2 | Excel Programming | 1 | 12-19-2014 10:21 PM |
how to split merged data into vertical saperate cells | cheekugreat | Excel | 5 | 10-11-2014 05:53 AM |
lookup dates and return corresponding data | newton.rogers | Excel | 7 | 08-15-2011 11:50 AM |
Help swaping value from horizontal to vertical. | aligahk06 | Excel | 1 | 09-10-2009 07:05 PM |
How to count cells containing data and meet certain criteria | AdamNT | Excel | 1 | 08-11-2006 11:51 PM |