Djmason2001
New Member
- Joined
- Feb 24, 2020
- Messages
- 14
- Office Version
- 2013
- Platform
- Windows
Hi Forum,
Sorry to post so much today. I posted a question earlier today and a user helped me find a solution to scenario 1 i outlined below.
However after further analysis on my data i see that i have missed a scenario which i didn't include in my initial thread, consequently the formula doesn't accommodate for the scenario/
Scenario 1) Based on two conditions “Group id(Column B)” and where “Helper (Column C) = "Master” I would like to return a value id(Column A) in Column D. - Resolved
Scenario 2) Based on two conditions “Group id(Column B)” and where “Helper (Column C) = "Joint Master” I would like to return either value id(Column A) in Column D.
Group 21 & 25 - Resolved has part of scenario 1
Formula in the outcome column is the following
=INDEX($A:$A,MATCH(B2&"master",$B$1:$B$100&$C$1:$C$100,0))
ID : Unique Id
Group Id : is a grouping mechanism to identify that two records should be considered for comparison
Helper : Is a indicator column to determine which id should be returned from Column A based on the GroupId.
Looking forward to your response
Sorry to post so much today. I posted a question earlier today and a user helped me find a solution to scenario 1 i outlined below.
However after further analysis on my data i see that i have missed a scenario which i didn't include in my initial thread, consequently the formula doesn't accommodate for the scenario/
Scenario 2) Based on two conditions “Group id(Column B)” and where “Helper (Column C) = "Joint Master” I would like to return either value id(Column A) in Column D.
Formula in the outcome column is the following
=INDEX($A:$A,MATCH(B2&"master",$B$1:$B$100&$C$1:$C$100,0))
ID : Unique Id
Group Id : is a grouping mechanism to identify that two records should be considered for comparison
Helper : Is a indicator column to determine which id should be returned from Column A based on the GroupId.
ID | Group ID | Helper | Outcome | ||
| 21 | Master |
| ||
| 21 | Non Master |
| ||
3333 | 25 | Non Master | 4444 | ||
4444 |
| Master | 4444 | ||
5555 | 26 | Joint Master | 5555 or 6666 (No preference on which ID to be returned) | ||
6666 | 26 | Joint Master | 5555 or 6666 (No preference on which ID to be returned) |
Looking forward to your response