Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Senior Member
 
Posts: 105
Default Look UP using 4 criterias

Hi ,

Please see attached file and kindly advise a formula to look up value using 4 criterias.



Thanks in advance

Dumbo
Attached Files
File Type: zip Look up using 4 criterias.zip (4.8 KB, 66 views)
  #2   Report Post  
Junior Member
 
Posts: 1
Default

First, in your Excel sample, remove the space at the end of cell C15
Then, add the following formula to cell C3:

=SUMIFS(D$15:D$500,$A$15:$A$500,$A3,$C$15:$C$500,$ B3,$B$15:$B$500,C$2)

You can then copy this down and over based on the size of your data.

I would recommend keeping your lookup table in another tab and adjusting your formula as follows for cell C3:

=SUMIFS('Look UP Data'!$D:$D,'Look UP Data'!$A:$A,$A3,'Look UP Data'!$C:$C,$B3,'Look UP Data'!$B:$B,C$2)

Doing this now doesn't work because the lookup data isn't the same in the 'Look UP Data' tab.

Note that if you have multiple rows in your lookup data that match the 4 criteria, they will be sum'd up using this solution.

I hope you find this helpful!
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Look UP using 4 criterias

Hi,

Am Fri, 9 Nov 2012 04:33:11 +0000 schrieb Excel Dumbo:

Please see attached file and kindly advise a formula to look up value
using 4 criterias.


in C3 try:

=INDEX(D$15:D$16,MATCH($A3&$B3&C$2,$A$15:$A$16&$C$ 15:$C$16&$B$15:$B$16,0))
and enter the array formula with CTRL+Shift+Enter and copy to right and
down.


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
Reply
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
Too many criterias... [email protected] Excel Worksheet Functions 12 June 14th 07 02:42 PM
If Criterias Ricardo Excel Discussion (Misc queries) 3 April 5th 07 01:06 PM
Sum If using 2 criterias Michael Excel Discussion (Misc queries) 10 January 4th 07 11:00 PM
Sumif with two criterias gibz Excel Worksheet Functions 3 July 19th 06 05:52 PM
2 criterias for countif - Greg Excel Worksheet Functions 1 June 23rd 06 07:39 PM


All times are GMT +1. The time now is 05:25 AM.

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

About Us

"It's about Microsoft Excel"