Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default COUNTIF & Blank Cells

Using =COUNTIF(Sheet1!$E$6:$E$119,A25) in B25 on sheet2 When I copy down
to B35 and if any cells in A25 to A35 is blank it gives a result of 98, When
it should be blank.Sheet1 E6:E119 is text and A25:A35 on Sheet2 is also text.
Please correct my formula for me.

Many thanks,
laurie g

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 459
Default COUNTIF & Blank Cells

laurie g wrote:
Using =COUNTIF(Sheet1!$E$6:$E$119,A25) in B25 on sheet2 When I
copy down to B35 and if any cells in A25 to A35 is blank it gives a
result of 98, When it should be blank.Sheet1 E6:E119 is text and
A25:A35 on Sheet2 is also text. Please correct my formula for me.

Many thanks,
laurie g



Hi Laurie,

try this:

=IF(A25<"",COUNTIF(Sheet1!$E$6:$E$119,A25),"")


--
(I'm not sure of names of menus, options and commands, because
translating from the Italian version of Excel...)

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default COUNTIF & Blank Cells

Thanks Franz much appreciated

"Franz Verga" wrote:

laurie g wrote:
Using =COUNTIF(Sheet1!$E$6:$E$119,A25) in B25 on sheet2 When I
copy down to B35 and if any cells in A25 to A35 is blank it gives a
result of 98, When it should be blank.Sheet1 E6:E119 is text and
A25:A35 on Sheet2 is also text. Please correct my formula for me.

Many thanks,
laurie g



Hi Laurie,

try this:

=IF(A25<"",COUNTIF(Sheet1!$E$6:$E$119,A25),"")


--
(I'm not sure of names of menus, options and commands, because
translating from the Italian version of Excel...)

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy



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
How to count blank cells (Rows) between Non-Blank cells in Col "A" Dennis Excel Discussion (Misc queries) 8 July 20th 06 11:25 PM
how do I skip blank cells when writing formulas KatB Excel Worksheet Functions 1 July 11th 06 09:53 PM
How to count blank cells that contain formula? IntricateFool Excel Discussion (Misc queries) 5 June 8th 06 02:45 PM
Counting blank cells until value is reached Dan Excel Worksheet Functions 9 March 1st 06 12:56 PM
pivot tables reports - altering display of (blank) cells cak Excel Worksheet Functions 1 August 22nd 05 12:39 AM


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