Show cell number or text by referencing several cells and select the highest of all(more than 3 items)

scizor

New Member
Joined
Jun 27, 2019
Messages
2
Hi all,
This is my first time asking question online for excel(mostly just google and have the answer)
but i struggle to think of a good way to ask this question on google.

Basically I am making a cell at E2(shown below) to show subject 1 OR A2


[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]subject 1[/TD]
[TD]subject 2[/TD]
[TD]subject 3[/TD]
[TD]X[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]10[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD]=max(A1:C1)[/TD]
[TD]??[/TD]
[/TR]
</tbody>[/TABLE]


I struggle to use if function with more than 2 cases, hopefully someone can assist me.

Thank you in advance
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Sorry I haven't explain the cell's function in detail.
But I am hoping the cell itself could reference A2:C2 and select the highest number of them(which is 10) and show the above cell's text(which is Subject 1) OR show the cell it is referring to(which is A2)

A mistake was made on cell D2, should be =max(A2:C2)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top