Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 553
Default How do you find first 0 or first postive value in array

I have an array of data which goes negative to positive. How do I locate the
first position within that array which is 0 or positive. Note that using
MATCH(0,Array.0) does not always work properly.

Thanks

EM
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default How do you find first 0 or first postive value in array


=MIN(IF((A2:A600=0),ROW(A2:A600)))
array entered (ctrl+shift+enter)

Adjust the formula by adding or subtracting to get the right rel;atoive
position as agianst row numbers
"ExcelMonkey" wrote:

I have an array of data which goes negative to positive. How do I locate the
first position within that array which is 0 or positive. Note that using
MATCH(0,Array.0) does not always work properly.

Thanks

EM

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
scan a series of numbers and when it turns postive give me the yea Craig Excel Worksheet Functions 2 February 15th 07 04:53 PM
Find value in array Brook6 Excel Worksheet Functions 26 January 30th 07 09:40 PM
Showing Negative as Postive klafert Excel Discussion (Misc queries) 3 January 25th 06 12:52 PM
Automate bar chart color based on value postive or negative kathy Excel Discussion (Misc queries) 1 August 31st 05 09:35 PM
reversing signs - making postive a negative number mklafert Excel Worksheet Functions 4 November 29th 04 03:18 AM


All times are GMT +1. The time now is 05:16 PM.

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

About Us

"It's about Microsoft Excel"