ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   If (https://www.excelbanter.com/excel-worksheet-functions/46128-if.html)

anon125

If
 

i have two colums of increasing numbers.
the first time column b is greater than column a i want to put an arrow
in the next column.
So far whatever i do it puts the arrow every time the b is greater than
col a.
any ideas?
thanks
Jim


--
anon125
------------------------------------------------------------------------
anon125's Profile: http://www.excelforum.com/member.php...o&userid=27373
View this thread: http://www.excelforum.com/showthread...hreadid=468893


Richard Buttrey

On Mon, 19 Sep 2005 12:59:16 -0500, anon125
wrote:


i have two colums of increasing numbers.
the first time column b is greater than column a i want to put an arrow
in the next column.
So far whatever i do it puts the arrow every time the b is greater than
col a.
any ideas?
thanks
Jim


One solution starting in C2

=IF(AND(B2A2,B1<=A2),"arrow","")

HTH

__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________


All times are GMT +1. The time now is 05:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com