#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 504
Default 1 less for every row

=COUNTIF(B4:B5,"YES")+(90)
=COUNTIF(B4:B6,"YES")+(89)
=COUNTIF(B4:B7,"YES")+(88)

How do I continue this down for 90 rows? Each row counting from B4 to that
row, adding 1 less for every row.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default 1 less for every row

=COUNTIF(B$4:B5,"YES")+95-ROW(B5) and copy down
--
David Biddulph

"Kevin" wrote in message
...
=COUNTIF(B4:B5,"YES")+(90)
=COUNTIF(B4:B6,"YES")+(89)
=COUNTIF(B4:B7,"YES")+(88)

How do I continue this down for 90 rows? Each row counting from B4 to that
row, adding 1 less for every row.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default 1 less for every row

Hi Kevin

Try
=COUNT($B$4:B5,"YES")+91-ROW(A1)

--
Regards

Roger Govier


"Kevin" wrote in message
...
=COUNTIF(B4:B5,"YES")+(90)
=COUNTIF(B4:B6,"YES")+(89)
=COUNTIF(B4:B7,"YES")+(88)

How do I continue this down for 90 rows? Each row counting from B4 to
that
row, adding 1 less for every row.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default 1 less for every row

Try this:

=COUNTIF(B$4:B5,"YES")+91-ROWS($1:1)

Biff

"Kevin" wrote in message
...
=COUNTIF(B4:B5,"YES")+(90)
=COUNTIF(B4:B6,"YES")+(89)
=COUNTIF(B4:B7,"YES")+(88)

How do I continue this down for 90 rows? Each row counting from B4 to that
row, adding 1 less for every row.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default 1 less for every row

Just another way:

=COUNTIF(B$4:B5,"YES")+ROWS(1:$90)

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Kevin" wrote in message
...
=COUNTIF(B4:B5,"YES")+(90)
=COUNTIF(B4:B6,"YES")+(89)
=COUNTIF(B4:B7,"YES")+(88)

How do I continue this down for 90 rows? Each row counting from B4 to that
row, adding 1 less for every row.



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



All times are GMT +1. The time now is 03:52 AM.

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"