Hi. Looking for some help with a vlookup/index/match formula. Worksheet has 3 tabs. Data samples at Google Docs: http://bit.ly/zGKtNL. Tried this every which way but can't seem to figure it out. Reaching out to excel ninjas for help. Thanks in advance!
Tab 1: Where I plan to post my results
Tab 2 & Tab 3: Used for lookup. Lookup results posted to tab fields in tab 1.
Formulas for Tab 1 represent:
For each item in Tab 1 - match code & name and look up same value in tab 2. If tab 2 has a date, then write the date in the appropriate cell in Tab 1. Then look up same value in tab 3. If tab 3 has a 1, then write the 1 in the appropriate field.
Rules:
If date and "1" is present in tab 2 / 3, Date will always win (post to tab 1).
If no date is present in tab 2, Number "1" will win in tab 3 (post to tab 1).
If no date, nor "1" is present - leave cell blank (blank in fields in tab 1).
If there's no matching code and name combo - write "Issue" (post "issues" in tab 1)
Solution Example:
Tab 1: Cell B3 = 1/1/2010
Tab 1: Cell B4 = "1"
Tab 1: Cell C3 = 1/3/2010
Tab 1: Cell E3 = "1"
Tab 1: Cell B5 = "" (Blank)
Tab 1: Cells F3:F8 = "Issues"
Can anyone understand what I'm trying to do here? Thank you so much for the assist!
Tab 1: Where I plan to post my results
Tab 2 & Tab 3: Used for lookup. Lookup results posted to tab fields in tab 1.
Formulas for Tab 1 represent:
For each item in Tab 1 - match code & name and look up same value in tab 2. If tab 2 has a date, then write the date in the appropriate cell in Tab 1. Then look up same value in tab 3. If tab 3 has a 1, then write the 1 in the appropriate field.
Rules:
If date and "1" is present in tab 2 / 3, Date will always win (post to tab 1).
If no date is present in tab 2, Number "1" will win in tab 3 (post to tab 1).
If no date, nor "1" is present - leave cell blank (blank in fields in tab 1).
If there's no matching code and name combo - write "Issue" (post "issues" in tab 1)
Solution Example:
Tab 1: Cell B3 = 1/1/2010
Tab 1: Cell B4 = "1"
Tab 1: Cell C3 = 1/3/2010
Tab 1: Cell E3 = "1"
Tab 1: Cell B5 = "" (Blank)
Tab 1: Cells F3:F8 = "Issues"
Can anyone understand what I'm trying to do here? Thank you so much for the assist!