Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 199
Default Help with a formula please?

"Jarek Kujawa" wrote in message
...
=MIN(IF(A1:A100="",ROW(A1:A100),""))

array-enter it = CTRL+SHIFT+ENTER


Many thanks,

V

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,388
Default Help with a formula please?

Hi,
or a non-array alternative:
=SUMPRODUCT(--(A1:A0100="")*ROW(A1:A100))-1
By the way, Jarek's formula also needs a minus one (-1) to give a correct
client count, since it counts the blank row, as mine does.
Regards - Dave.

"Victor Delta" wrote:

"Jarek Kujawa" wrote in message
...
=MIN(IF(A1:A100="",ROW(A1:A100),""))

array-enter it = CTRL+SHIFT+ENTER


Many thanks,

V


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 199
Default Help with a formula please?

"Dave" wrote in message
...
Hi,
or a non-array alternative:
=SUMPRODUCT(--(A1:A0100="")*ROW(A1:A100))-1
By the way, Jarek's formula also needs a minus one (-1) to give a correct
client count, since it counts the blank row, as mine does.
Regards - Dave.


Thanks. I'm actually using -2 to allow for the header row as well.

V

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,388
Default Help with a formula please?

Hi Victor,
My formula doesn't work at all! Don't know what I was thinking. Sorry.
It sums all the blank cells in the range, not just the first one.
Dave.
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 09:21 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"