![]() |
Function help
dear freinds:
I have some problems with this data, how can I get the results thats shows in results column; YEARS DATA RESULTS 1995 100 0 1996 90 0 1997 120 2 1998 100 1 1999 150 4 2000 70 0 2001 80 1 2002 30 0 2003 150 7 2004 140 7 for example second 150 there are 7 number smallest it thank you |
|
One way:
Put this in cell C2: =COUNTIF(B$2:B2,"<"&B2) and copy down to C11. In article , (Ahmad) wrote: dear freinds: I have some problems with this data, how can I get the results thats shows in results column; YEARS DATA RESULTS 1995 100 0 1996 90 0 1997 120 2 1998 100 1 1999 150 4 2000 70 0 2001 80 1 2002 30 0 2003 150 7 2004 140 7 for example second 150 there are 7 number smallest it thank you |
Try the following...
C2, copied down: =COUNTIF($B$2:B2,"<"&B2) Hope this helps! In article , (Ahmad) wrote: dear freinds: I have some problems with this data, how can I get the results thats shows in results column; YEARS DATA RESULTS 1995 100 0 1996 90 0 1997 120 2 1998 100 1 1999 150 4 2000 70 0 2001 80 1 2002 30 0 2003 150 7 2004 140 7 for example second 150 there are 7 number smallest it thank you |
Assuming your data below is now in A1:C10..
Overwrite and enter In Cell C1 =COUNTIF($B$1:B1,"<"&B1) and Copy down. HTH "Ahmad" wrote in message om... dear freinds: I have some problems with this data, how can I get the results thats shows in results column; YEARS DATA RESULTS 1995 100 0 1996 90 0 1997 120 2 1998 100 1 1999 150 4 2000 70 0 2001 80 1 2002 30 0 2003 150 7 2004 140 7 for example second 150 there are 7 number smallest it thank you |
I missed the fact that you had a header row;
the other two guys gave you your answer, sorry "Jim May" wrote in message news:h%0xd.7423$jn.6873@lakeread06... Assuming your data below is now in A1:C10.. Overwrite and enter In Cell C1 =COUNTIF($B$1:B1,"<"&B1) and Copy down. HTH "Ahmad" wrote in message om... dear freinds: I have some problems with this data, how can I get the results thats shows in results column; YEARS DATA RESULTS 1995 100 0 1996 90 0 1997 120 2 1998 100 1 1999 150 4 2000 70 0 2001 80 1 2002 30 0 2003 150 7 2004 140 7 for example second 150 there are 7 number smallest it thank you |
All times are GMT +1. The time now is 06:07 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com