Find Highest Value of a Row and make it a 1 If less than highest leave blank.

Ailg

New Member
Joined
Sep 2, 2024
Messages
8
Office Version
  1. 365
  2. Prefer Not To Say
Platform
  1. Windows
Good day, i am attempting to find the highest value from row V12 to V46 and make a 1 in the points field that coincides with the highest number. In the example V21 is the highest and i would like to populate a 1 in the X21 field. If it is not the highest value i would like it to be blank. Thank you.
 

Attachments

  • 2024-09-02_08h10_34.png
    2024-09-02_08h10_34.png
    65.2 KB · Views: 12
sorry to bug you again, If i use the formula you helped me with,(=IF((MAX(M4:M38)=@M4:M38)*(@M4:M38<>0),1,0)) i get a 1 in the points column like i want for the highest value from column L. However, if i have a tie like in row M4 and M13 i would like to use the value in row N "Team X" to be the tie breaker. In this case Team4 would be the victor and the point column would reflect a 1 only for Team4. The current formula gives me a 1 in the points column for Team1 and Team4. Thank you.
2024-10-27_20h19_28.png
 
Upvote 0

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Try
Excel Formula:
=IF((MAX(M4:M38)=M4:M38)*(M4:M38<>0)*(MAXIFS(N4:N38,M4:M38,MAX(M4:M38))=N4:N38),1,0)
 
Upvote 0
That worked, thank you very much. Last question. I am now receiving 0 in all rows. I would like only a 1 or 0 in O4, O7, O10..etc.

2024-10-28_06h43_35.png
 

Attachments

  • 2024-10-28_06h36_47.png
    2024-10-28_06h36_47.png
    11.5 KB · Views: 0
  • 2024-10-28_06h43_07.png
    2024-10-28_06h43_07.png
    23.6 KB · Views: 0
Upvote 0
In that case O4 use
Excel Formula:
=IF((MAX($M$4:$M$38)=M4)*(M4<>0)*(MAXIFS($N$4:$N$38,$M$4:$M$38,MAX($M$4:$M$38))=N4),1,0)
Then copy that into the other cells, changing the cell reference where needed.
 
Upvote 0
Thank you very much. That did the trick.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,265
Members
452,627
Latest member
KitkatToby

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