LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
mamalik
 
Posts: n/a
Default Retrieving a Value from List that meets multiple Criteria


Hi,

I need to retrieve a value (or item) from a list that meets multiple
criteria in another list. I could not figure this out. Consider the
following table (also attached as Table1.gif).

Table1 (Base Table from where values are to be extracted)

Account Description CostCentre Amount
1001 Account 1 Cost 1 1,000
1001 Account 1 Cost 2 1.500
1002 Account 2 Cost 1 2,500
1002 Account 2 Cost 2 3,000
1003 Account 3 Cost 1 4,200
1003 Account 3 Cost 2 3,500

In another table which contains the account and cost centre columns, I
want to get the amount for example for Account 1002 / Cost 2 (i.e.
3,000). Is there any formula which looks up the base table and
automatically extracts the required value? Please note that in this
example two criteria are required to be matched i.e. Account and
CostCentre. I tried to use ‘vlookup’ formula with ‘and’ function but
could not get the results.


+-------------------------------------------------------------------+
|Filename: Table1.gif |
|Download: http://www.excelforum.com/attachment.php?postid=4173 |
+-------------------------------------------------------------------+

--
mamalik
------------------------------------------------------------------------
mamalik's Profile: http://www.excelforum.com/member.php...o&userid=30049
View this thread: http://www.excelforum.com/showthread...hreadid=497298

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Countif w/ Multiple Criteria Patrick_KC Excel Worksheet Functions 2 August 9th 05 09:25 PM
Sum Multiple Criteria or DcountA rjenkins Excel Worksheet Functions 3 July 16th 05 12:21 AM
Multiple Criteria (add or subtract) MJSlattery Excel Discussion (Misc queries) 1 June 11th 05 05:38 PM
Multiple Criteria IF Nesting BethB Excel Worksheet Functions 2 May 17th 05 12:14 AM
Can I get the mode, min, and max with multiple criteria? BobT Excel Discussion (Misc queries) 1 February 15th 05 03:20 AM


All times are GMT +1. The time now is 08:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"