#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default Cell addressing

John,

Never thought of that, it works perfectly.

Thanks,

Mike

"John" wrote:

Try =COUNTIF(Database!E:E,"=yes")

John

"Mike" wrote:

I'm sure I'm being daft here but I can't solve this seemingly simple problem.
This statement below works fine except that whenever a new row is added to
the top of the 'Database' worksheet; which is done with a VB macro when new
data are added, the cell addresses increment i.e E2 becomes E3 etc. I've
tried $E$2 but this doesn't work either. As a temporary measure the problem
has been solved!! by rewriting the worksheet statement to the cell every time
the macro runs to set the cell address back to E2 but there has to be a
tidier way

=COUNTIF(Database!E2:E10000,"=yes")

Any guidance would be much appreciated.

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sumproduct issues SteveDB1 Excel Worksheet Functions 25 June 3rd 09 04:58 PM
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 02:36 AM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
Indexing / Cell Addressing A_n_d_e_r_s Excel Discussion (Misc queries) 1 February 10th 05 12:47 PM


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