Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In all versions of Excel:
=SUMPRODUCT(--(Sheet2!A1A:10="Away"), --(Sheet2!B1:B10="Tan"), C1:C10) In Excel 2007 only you can use full column references =SUMPRODUCT(--(Sheet2!A:A="Away"), --(Sheet2!B:B="Tan"), C:C) In Excel 2007 only you can use SUMIFS (note final S) =SUMIFS(C1:C20, A1:A20, "Away", B1:B20, "Tan") For more details on SUMPRODUCT Bob Phillips http://www.xldynamic.com/source/xld.SUMPRODUCT.html J.E McGimpsey http://mcgimpsey.com/excel/formulae/doubleneg.html best wishes -- Bernard V Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme remove caps from email "malvis" wrote in message ... How do I perform a lookup with two variable that are text? Cells: A1 is "Away" and B1 is "Tan" This is in Sheet 2: Home Red 1 Home Tan 1 Away Red 4 Away Tan 5 So, I want a formula that will return the number in Sheet 2 column C (in this example) only after it looks at A1 and B1, looks in Sheet 2, and then returns 5. I'm thinking this is a lookup but I'm not sure. Thanks, Matt |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
3 LookUp Variables One Result | Excel Worksheet Functions | |||
Lookup with Variables | Excel Worksheet Functions | |||
lookup 2 variables | Excel Discussion (Misc queries) | |||
Lookup (multiple variables) | Excel Worksheet Functions | |||
< |
Excel Worksheet Functions |