If value in column A, display content in same row column B

Solved
Fab -  
 Fab -
Hello,

I am facing the following situation in Excel 2013.
Using the LARGE function, I have extracted a number from column A, which I now have in cell D1. This cell D1 displays the number from cell A8, for example.
In cell E1, I would like to show the text in column B on the same row as the LARGE value, that is, the content of cell B8.

Of course, when my database is updated in the future, the LARGE value obtained in D1 will change, so I should not be working on cell A8 or B8, but it should be dynamic.

Do you think this is possible? I hope that someone can help me again: -)

Thank you.

Configuration: Windows / Firefox 52.0

3 réponses

Vaucluse Posted messages 27336 Registration date   Status Contributeur Last intervention   6 453
 
Hello

try with:

=VLOOKUP(D1,A:B,2,FALSE)

or directly:

=VLOOKUP(LARGE(A:A,1),A:B,2,FALSE)

note that if your large value is represented multiple times in A, you will only get the 1st found entry in B

best regards

--
The quality of the response mainly depends on the clarity of the question, thank you!
1
Fab
 
Hello,
thank you for your help. I just tested these options but it’s not working. In the first case, I get #N/A, in the second #NUMBER!

I don’t know if I applied it incorrectly, but I’ll try to explain my situation differently (I don’t know how to share an Excel file) to make sure we understand each other well.

Column A:
A1 = 12
A2 = 8
A3 = 9
etc...

Column B
For A1=12, B1=bird
For A2=8, B2=fox
For A3=9, B3=deer
For Ax ... Bx= etc....

In one cell I display:
D1: Large Value rank 1 (look in column A)=12
D2: Large Value rank 2 (look in column A)=9

I would like to find in other cells E:
E1: bird
E2: deer

Hoping this helps you help me :-). Thank you
0
Vaucluse Posted messages 27336 Registration date   Status Contributeur Last intervention   6 453
 
yet it should work, see here:

https://mon-partage.fr/f/tdhrxUFc/

however, check that your data in A is indeed numeric
(select the column / cell format / alignment / horizontal and "standard"
values should align to the right in the cell
if not:
copy an empty cell
select column A right-click and paste special "add"

and if it still doesn't work, check that there are no spaces before or after the values
in this case select A / press ctrl and h
replace: type a space
with: leave it blank
and "replace all"
(and then do the previous operation)
and if it still doesn't work, you will need to upload your file via the site where you found mine

best regards.
0