Make the lowest value a 0

ExcelRaceRatings

New Member
Joined
Jan 9, 2016
Messages
25
Office Version
  1. 2016
Platform
  1. Windows
Hello,

If i have a series of numbers as per the below, how do i make the lowest value return a 0?

A1 - 25
A2 - 36
A3 - 14
A4 - 20
A5 - 6

In B1:B5 i need

B1 - 25
B2 - 36
B3 - 14
B4 - 20
B5 - 0

Thank you
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Is this what you want?

AB
12525
23636
31414
42020
560

<colgroup><col style="width: 25pxpx"><col><col></colgroup><thead>
</thead><tbody>
</tbody>
ExcelRaceRatings

Worksheet Formulas
CellFormula
B1=IF(A1=MIN($A$1:$A$5),0,A1)
B2=IF(A2=MIN($A$1:$A$5),0,A2)
B3=IF(A3=MIN($A$1:$A$5),0,A3)
B4=IF(A4=MIN($A$1:$A$5),0,A4)
B5=IF(A5=MIN($A$1:$A$5),0,A5)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,374
Messages
6,119,155
Members
448,870
Latest member
max_pedreira

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