Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-07-2015, 03:40 PM
oswald oswald is offline How to return a value in a data table using vertical and horizontal criteria Windows 7 64bit How to return a value in a data table using vertical and horizontal criteria Office 2013
Novice
How to return a value in a data table using vertical and horizontal criteria
 
Join Date: Feb 2015
Posts: 1
oswald is on a distinguished road
Default 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
Reply With Quote
  #2  
Old 02-08-2015, 02:01 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline How to return a value in a data table using vertical and horizontal criteria Windows 7 64bit How to return a value in a data table using vertical and horizontal criteria Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

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
Reply With Quote
Reply



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
How to return a value in a data table using vertical and horizontal criteria lookup dates and return corresponding data newton.rogers Excel 7 08-15-2011 11:50 AM
How to return a value in a data table using vertical and horizontal criteria 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

Other Forums: Access Forums

All times are GMT -7. The time now is 05:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft