My 2 cents What I understand is row 8 has data today price minus previous day price.
So in row 7 you can give: =if(d7<1,"down","up") Sent on my BlackBerry® from Vodafone -----Original Message----- From: Filip Houdek <ll00...@yahoo.com> Sender: excel-macros@googlegroups.com Date: Mon, 30 Apr 2012 20:26:18 To: <excel-macros@googlegroups.com> Reply-To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ Re: Find column # of first value greater than specified value? Here is an example. I want to check row 8 ("Price move") to see whether a value greater than 1 or less than -1 comes first, and return "up" or "down" in a specified cell based on which comes first ("up" if 1 comes first and "down" if -1 comes first). Eventually I want to check the next 30 values in row 8, starting from a cell to be determined, like an array re-defined to 30 columns to the right each time (I haven't gotten that far yet). Thanks! -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com