Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default lowest number in a row that is greater than zero

I have a row of 19 cells that have many zeros in it but I need to find the
lowest value that is greater than "0"

The problem comes from having 19 months of sales figures and I want to find
the lowest month value we had sales in.

Thanks Nigel
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default lowest number in a row that is greater than zero

I'm new at this but i think =MIN(A1:R1) in the cell where you want the result
should find the lowest value.
--
Browny


"Nigel Toates" wrote:

I have a row of 19 cells that have many zeros in it but I need to find the
lowest value that is greater than "0"

The problem comes from having 19 months of sales figures and I want to find
the lowest month value we had sales in.

Thanks Nigel

  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default lowest number in a row that is greater than zero

If A1:S1 contained the month headers, and you also want (I'm not sure?) to
extract the month header which corresponds to the minimum sales value in each
row,
you could place this in say, U2, then array-enter it with CSE (press
CTRL+SHIFT+ENTER to confirm the formula) as mentioned in my first response:
=INDEX($A$1:$S$1,MATCH(MIN(IF(A2:S20,A2:S2)),IF(A 2:S20,A2:S2),0))
Then copy U2 down

Note that in the event of any ties in the minimum sales value in each row,
the expression will return only the leftmost month header, ie the first
header from the left
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:16,700 Files:356 Subscribers:53
xdemechanik
---
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default lowest number in a row that is greater than zero

Assuming there are no negative numbers in the range:

=SMALL(A1:H1,COUNTIF(A1:H1,0)+1)

--
Biff
Microsoft Excel MVP


"Nigel Toates" wrote in message
...
I have a row of 19 cells that have many zeros in it but I need to find the
lowest value that is greater than "0"

The problem comes from having 19 months of sales figures and I want to
find
the lowest month value we had sales in.

Thanks Nigel



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default lowest number in a row that is greater than zero

You can use this array-entered** formula to do what you want (it will work
even if there are negative values)...

=MIN(IF(A2:A20<=0,"",A2:A20))

** Commit this formula using Ctrl+Shift+Enter and not just Enter by itself.

Adjust the ranges to match your conditions.

Rick


"Nigel Toates" wrote in message
...
I have a row of 19 cells that have many zeros in it but I need to find the
lowest value that is greater than "0"

The problem comes from having 19 months of sales figures and I want to
find
the lowest month value we had sales in.

Thanks Nigel


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
lowest number in a row that is greater than zero Max Excel Discussion (Misc queries) 0 August 4th 08 04:35 AM
determine lowest number in several columns and replace lowest numb jerry Excel Worksheet Functions 1 June 18th 08 03:19 AM
Lowest number above 0 Abnerz Excel Discussion (Misc queries) 3 May 3rd 07 12:27 PM
countif formula to find the occurances of a number that is greater than one number but less than another steveo Excel Discussion (Misc queries) 3 July 8th 06 02:04 AM
lowest number above 0 One-Leg Excel Discussion (Misc queries) 9 May 27th 05 09:24 AM


All times are GMT +1. The time now is 02:42 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"