Hello Excel Pros, is there a way to return a cell value based on a specific condition? Attached is a simple spreadsheet where a formula is sought to return a Complete Date from the first "PM" Problem Type row when the Unit # remains same. Thank you in advance!
Look-up and cell value return when a specific condition is met.xlsx | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | Complete Date | Unit # | Problem Type | Formula needed to have the following Outcome | ||
2 | 1/10/2018 14:18 | 400 | LG | 1/29/2018 16:18 | ||
3 | 1/10/2018 20:12 | 400 | CM | 1/29/2018 16:18 | ||
4 | 1/11/2018 13:30 | 400 | CM | 1/29/2018 16:18 | ||
5 | 1/17/2018 13:03 | 400 | CM | 1/29/2018 16:18 | ||
6 | 1/26/2018 4:56 | 400 | LG | 1/29/2018 16:18 | ||
7 | 1/29/2018 16:18 | 400 | PM | |||
8 | 1/30/2018 0:58 | 400 | CM | 4/25/2018 14:36 | ||
9 | 1/31/2018 2:11 | 400 | CM | 4/25/2018 14:36 | ||
10 | 2/1/2018 14:04 | 400 | CM | 4/25/2018 14:36 | ||
11 | 2/1/2018 13:58 | 400 | CM | 4/25/2018 14:36 | ||
12 | 2/1/2018 14:27 | 400 | CM | 4/25/2018 14:36 | ||
13 | 2/7/2018 2:44 | 400 | CM | 4/25/2018 14:36 | ||
14 | 3/8/2018 20:24 | 400 | CM | 4/25/2018 14:36 | ||
15 | 3/9/2018 9:30 | 400 | CM | 4/25/2018 14:36 | ||
16 | 3/9/2018 9:32 | 400 | CM | 4/25/2018 14:36 | ||
17 | 4/5/2018 14:38 | 400 | CM | 4/25/2018 14:36 | ||
18 | 4/5/2018 14:38 | 400 | CM | 4/25/2018 14:36 | ||
19 | 4/5/2018 14:38 | 400 | CM | 4/25/2018 14:36 | ||
20 | 4/5/2018 14:38 | 400 | CM | 4/25/2018 14:36 | ||
21 | 4/24/2018 16:51 | 400 | CM | 4/25/2018 14:36 | ||
22 | 4/25/2018 14:36 | 400 | PM | |||
23 | 5/1/2018 10:46 | 402 | CM | 7/16/2018 0:00 | ||
24 | 5/2/2018 19:54 | 402 | CM | 7/16/2018 0:00 | ||
25 | 6/8/2018 21:51 | 402 | CM | 7/16/2018 0:00 | ||
26 | 6/10/2018 18:36 | 402 | CM | 7/16/2018 0:00 | ||
27 | 7/16/2018 0:00 | 402 | PM | |||
28 | 7/25/2018 0:00 | 407 | CM | |||
29 | 7/25/2018 0:00 | 407 | CM | |||
30 | 7/26/2018 0:00 | 407 | LG | |||
Sheet1 |