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.
Awais7376
Oct 02, 2021Copper Contributor
that 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............
SergeiBaklan
Oct 02, 2021Diamond Contributor
Is it possible to share sample file? It's not clear where provided data is located and in which form. In particular how Joe and Mary are connected to Smith in these records.
- Awais7376Oct 14, 2021Copper Contributorhi Mr Baklan, really grateful for your quick and helpful responses. can you resolve another little problem. I have created few lists with names like "a, b, c, 101, 202". I have noticed that excel always put "_" after C and before the numerics. .e.g. "c_" "_101". why that happens and how to correct? Thanks
- PeterBartholomew1Oct 14, 2021Silver ContributorFor a start there are 17 billion potential names that are not available because they are cell references. Then another 17 billion to avoid the R1C1 cell references. You can't start a name with a number or use most symbols in a defined name. The underscores are just Excel getting around the rules.
A further note. If your multitude of names reference rows and columns of the data then
= (C_ _101)
will be the cell at the intersection of the two ranges.- Awais7376Oct 17, 2021Copper Contributorwould you mind resolving another query of mine.
I have created a hierarchy. in cell A1, if I select "Alpha" then in cell B1, elements of list "Alpha" are displayed. now I want that in cell C1 (or any other cell), the same "Alpha of A1" should correspond to an other list (we may call it "Bravo"). is it possible???