Forum Discussion
Awais7376
Sep 28, 2021Copper Contributor
Match two values in two cells of a same row and return the value in a third cell
Hi There, I hope everyone fine there. I am at beginner level using Excel 2019 on MacBook Air. I have come across a situation: I have created a data base using Hierarchies. if value is selected in ...
- Oct 02, 2021thanks for reply. you have picked up correctly. I used C just for example. it may be any value resulting from combination of A and B according to the data provided to excel.
sometime, it may be A and C in both cells, so excel should look for the resultant value from with in the provided data and return the value in C1.
SergeiBaklan
Sep 28, 2021Diamond Contributor
Do you mean in C1 it shall be some formula which returns value based on values in A1 and B1 ? If so why "C" shall be returned, not "D" or "Z" ?
- Awais7376Oct 02, 2021Copper Contributorthanks for reply. you have picked up correctly. I used C just for example. it may be any value resulting from combination of A and B according to the data provided to excel.
sometime, it may be A and C in both cells, so excel should look for the resultant value from with in the provided data and return the value in C1.- SergeiBaklanOct 02, 2021Diamond Contributor
Thank you, but I still don't catch what is the logic to generate " resulting from combination of A and B".
Let assume in A1 is 10 and in B1 is 11; or in A1 is "Joe" and in B1 is "Mary" - what shall be returned?
- Awais7376Oct 02, 2021Copper Contributorthat whole stats has been already provided to excel. for example: I have fed this whole data into the excel that if A1 is Joe and B1 is Mary than answer should be smith. if I change Mary to Shela in B1 than answer should be Jack. excel should find the answer with in the data which has already been provided. I hope I could make it clear............