LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 247
Default Need a Formula , please help

Hi to everybody

Here we have this kind of data in column F11:F35

Col F Col G

1 1
1 2
1 3
1 4
-1 0
-1 0
1 1
1 2
1 3
1 4
-1 0
-1 0
1 1
1 2
1 3
1 4
1 5
1 6
-1 0
-1 0
-1 0
-1 0
-1 0
1 1
1 2

In column G are the results of a formula ,
which is the next :

=IF(AND(F11=F$11,F$11=1),G10+1,)

It give the right results when the value in column
F is 1 ; when is negative , ( -1 ) , this formula didn't give
the results we need ; we need so :

1 1
1 2
1 3
1 4
-1 -1
-1 -2
1 1
1 2
1 3
1 4
-1 -1
-1 -2
-1 -3
1 2
1 3
1 4
1 5
1 6
-1 -1
-1 -2
-1 -3
-1 -4
-1 -5
1 1
1 2

Thank you very much , have a great day .
 
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



All times are GMT +1. The time now is 12:54 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"