Vlookup & IF formula - HELP!

uptonj

New Member
Joined
Mar 24, 2014
Messages
6
Hi, trying to work a formula to look up a value in a colum that has multiple entries of the vale based on the value of another column.

My value is in cell A2 (value = 1234567). The value is shown in Sheet1 in column A along with responding data in columns B & C. My value however is duplicated in column A with different responding data in columns B & C. Example below:


Cell A2 = 1234567
Cell B2 = Completed
Cell C2 = 12:52:34

Cell A3 = 1234567
Cell B3 = Started
Cell C3= 12:43:49

So I want to lookup my value if the value = 1234567 & if the value in column B = Completed to bring back the value (in this case the time) in column C.

IS THIS EVEN POSSIBLE?!?!

Regards,

Jake
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Try something like the below

$G$1:$G$6 is the range you want to bring a value back from
$A2&B$1 is the value you want to look up (1234567Completed)
$E$1:$E$6&$F$1:$F$6 is the new match range, combining Column E & F


Sheet1

*ABCDEFG
1Completed
2123456712:43:491234567Started12:52:34
31234567Completed12:43:49
4
5
6

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:64px;"><col style="width:76px;"><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"><col style="width:67px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
B2{=INDEX($G$1:$G$6, MATCH($A2&B$1, $E$1:$E$6&$F$1:$F$6,0),1)}

<tbody>
</tbody>
Formula Array:
Produce enclosing
{ } by entering
formula with CTRL+SHIFT+ENTER!

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Last edited:
Upvote 0
=INDEX(C1:C20;MATCH(1;(A1:A20=1234567)*(B1:B20="Completed");0))


Formula Array:
Produce enclosing
{ } by entering
formula with CTRL+SHIFT+ENTER!
 
Upvote 0
Here's a 3rd method.


Excel 2010
ABCDEF
1Lookup>>1234567
21234567Complete12:52:34Lookup>>Complete
31234567Started12:43:49Answer Is:12:52:34
Sheet1
Cell Formulas
RangeFormula
F3=SUMPRODUCT(--(A2:A6=F1),--(B2:B6=F2),C2:C6)
 
Upvote 0

Forum statistics

Threads
1,214,622
Messages
6,120,572
Members
448,972
Latest member
Shantanu2024

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top