[INDENT]I hope you're ready for this one because I sure am not! I have two worksheets with identical headers. Worksheet 1 has multiple entries. Say for example:
WORKSHEET 1
...A............B...............C...............D
88588......5/4/10......Brown, Jim......0.00
93818......5/4/10......Brown, Jim......5.40
00529......5/8/10......Brown, Jim......0.00
88588......5/4/10......Berry, Carl......0.00
*Notice the last entry for Jim Brown has a different date.
Worksheet 2 might only have one entry for Jim Brown, and I want to extract the value in Column D of worksheet 2, to be placed in column D of Worksheet 1, here is the kicker, I want to preserve the unmatched values of Worksheet 1
So Worksheet 2 might look like this:
...A............B...............C...............D
88588......5/4/10......Brown, Jim......97.00
92911......6/2/10......Alfred, Kim......50.29
I want to write a formula that will look at C2 in Worksheet 2, find a match in Worksheet 1, if a match is found, compare B2 in Worksheet 2 to the matched row (B2 in Worksheet 1?), if a match is found, compare A2 in Worksheet 2 to the matched row (A2 in Worksheet 1?) if its all true, output the value in D2, Worksheet 2, in this case "97.00." If any one of those conditions prove untrue, I don't want anything output.
This would be much easier if the two data sets matched up perfectly, but as you can see, even if I filter and sort by name, there is only 1 entry for Jim Brown in Worksheet 2 but 3 entries in Worksheet 1. I know its all a bit confusing but I am at wits end after obsessing all day on finding the right mix of Index/Match, If/ISNA/VLookup or some mixture thereof, I'm not that good at Excel and I NEED HELP!
Here is another problem if you're up to it. I don't want to put the formula in D2 of Worksheet 1 because I want to preserve values for which there was no match. In the example I provided above, if I place the formula in E2, it will show:
...A............B...............C...............D...........E...
88588......5/4/10......Brown, Jim......0.00......97.00
93818......5/4/10......Brown, Jim......5.40
00529......5/8/10......Brown, Jim......0.00
88588......5/4/10......Berry, Carl......0.00
This tells me I need to change D2 to = E2, so I could copy it over. But with 120,000+ rows, that could get extremely cumbersome. How do I, en masse, update Column D with (if) values are found in Column E, but preserve values in Column D that do not need updating (so 5.40 will still be there)? [/INDENT]