formula to find the lowest number?

joeloveszoe

Board Regular
Joined
Apr 24, 2014
Messages
102
Office Version
  1. 365
Platform
  1. MacOS
<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Helvetica}p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; text-align: right; font: 11.0px Helvetica}p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; text-align: right; font: 11.0px Helvetica; min-height: 13.0px}table.t1 {border-collapse: collapse}td.td1 {border-style: solid; border-width: 1.0px 1.0px 1.0px 1.0px; border-color: #cbcbcb #cbcbcb #cbcbcb #cbcbcb ; padding: 0.0px 5.0px 0.0px 5.0px}</style>
sku
price1
price2
price3
price4
price5
lowest price
abc1234
12.77
8.12
6.78
4.44
9.99


brt2345
12.43
8.55
12.43
6.79
8.77


ccc5673
3.55
4.78
5.75
7.99
6.35


ppw44444
9.99
15.77
4.14
12.77
12.88



<tbody>
</tbody>

i have information like this
is there a formal i can put in the lowest price cell to tel me what the lowest price/number is in the row?

thanks in advance for your help!!!
=) have a happy day!
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Just FYI: If you wanted to return the header of the smallest value, you can use this formula:

G2 =INDEX(B$1:F$1,MATCH(MIN(B2:F2),B2:F2,0))

This assumes that your data is in A1:F5
 
Upvote 0
well that's a pretty awesome add on feature! very much appreciated!!!! thanks 63falcondude!!!!
 
Upvote 0
hi again!
following up to my original question
is there a way to exclude zeros? i don't want 0 to come up as the lowest number.
thanks again in advance for the help =)

kuprice1price2price3price4price5lowest price
abc123412.778.120.004.449.99
brt23450.008.550.008.77
ccc56733.550.005.757.996.35
ppw444449.9915.770.000.0012.88


<tbody>
</tbody>
 
Upvote 0
Try

=INDEX($B$1:$F$1,MATCH(SMALL(B2:F2,1+COUNTIF(B2:F2,0)),B2:F2,0))
 
Last edited:
Upvote 0
thanks for the help! my data is in k2-ap2
=INDEX($F$1:$K$1,MATCH(SMALL(K2:AP2,1+COUNTIF(K2:AP2,0)),K2:AP2,0))
i have hidden columns with in that range) i am getting a #REF ! erorr
=(
are the hidden columns messing me up or is my formula incorrect?
thanks!!!
joeanna =)
 
Upvote 0
You also need to change $F$1:$K$1 to reflect the headers of the columns K - AP
 
Upvote 0
Something to consider when using MIN/MAX.
What happens if the value is duplicated in the table?
 
Upvote 0

Forum statistics

Threads
1,214,392
Messages
6,119,257
Members
448,880
Latest member
aveternik

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