![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Posts: 68
|
I have the following lookup table:
Col-1 Col-2 Col-3 Col-4 1 159 0 1 1 138 0 2 1 305 0 3 1 412 0 4 2 119 1 0 2 205 1 1 2 333 1 2 On another sheet i have a grid with the following: Cell A1 is reference. Col-2 Col-3 Col-4 ? 0 1 ? 0 2 ? 1 1 Suppose the reference (A1) had a value of 1. I want to be able to lookup 1 (ref value) and 0 (col-3 grid) and 1 (col-4 grid)in the Lookup Table (col-1) and match it across with col-3 and Col-4 (lookup table), returning a value of 159 (col-2 lookup table) to the grid (col-2). I hope that makes sense. Can someone point me to an example or direct me to the correct formulas to accomplish this. Thank you, Waxaholic [ This Message was edited by: Waxaholic on 2002-04-09 09:54 ] |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Portland, OR USA
Posts: 1,374
|
Quote:
=SUMPRODUCT((Sheet2!A1:A7=A1)*(Sheet2!C1:C7=C1)*(Sheet2!B1:B7)) HTH, Russell |
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Posts: 68
|
Sorry but i omitted a couple columns in the original post. I just finished editing it and seen that you had already posted a solution for the initial posting. Would the same apply having to refernece 3 values?
|
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Location: Calgary, Alberta Canada
Posts: 2,065
|
When you tried extending the formula, what problem did you encounter? |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Apr 2002
Posts: 68
|
Got it. Fantastic. Just had to sit back and think about it for a few minutes there. Thank you very much.
Waxaholic |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|