Formula help, please!

Shawn Martin

New Member
Joined
May 24, 2018
Messages
1
Trying to figure out a formula that will assign the largest number in a row a value. For example, the largest number in the row below is 53, so I would like for the formula to = VSS4. Thanks in advance!

[TABLE="width: 178"]
<colgroup><col width="37" style="width: 28pt; mso-width-source: userset; mso-width-alt: 1308;"> <col width="40" style="width: 30pt; mso-width-source: userset; mso-width-alt: 1422;"> <col width="41" style="width: 31pt; mso-width-source: userset; mso-width-alt: 1450;"> <col width="40" style="width: 30pt; mso-width-source: userset; mso-width-alt: 1422;"> <col width="38" style="width: 29pt; mso-width-source: userset; mso-width-alt: 1365;"> <col width="40" style="width: 30pt; mso-width-source: userset; mso-width-alt: 1422;"> <tbody>[TR]
[TD="class: xl63, width: 37, bgcolor: palegreen"]VSS1[/TD]
[TD="class: xl63, width: 40, bgcolor: palegreen"]VSS2[/TD]
[TD="class: xl63, width: 41, bgcolor: palegreen"]VSS3[/TD]
[TD="class: xl63, width: 40, bgcolor: palegreen"]VSS4[/TD]
[TD="class: xl63, width: 38, bgcolor: palegreen"]VSS5[/TD]
[TD="class: xl63, width: 40, bgcolor: palegreen"]VSS6[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]0.1[/TD]
[TD="bgcolor: transparent, align: right"]15.5[/TD]
[TD="bgcolor: transparent, align: right"]23.3[/TD]
[TD="bgcolor: transparent, align: right"]53[/TD]
[TD="bgcolor: transparent, align: right"]36.7[/TD]
[TD="bgcolor: transparent, align: right"]7.7[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Welcome to the MrExcel board!

The basis of what you want I think is below but ..
a) is it possible and
b) if so what do you want to do if
.. the maximum value occurs more than once in row 2? That is what if 3 cells were all 53?

Excel Workbook
ABCDEFGH
1VSS1VSS2VSS3VSS4VSS5VSS6
20.115.523.35336.77.7VSS4
Assign to max
 
Last edited:
Upvote 0

Forum statistics

Threads
1,226,693
Messages
6,192,468
Members
453,726
Latest member
JoeH57

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