Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Returning nothing if formula is false

I am using COUNTA(a1:a20) formula. The colum that it is counting also
contains formulas. Some of the cell formulas are returning 0. Can I change
the cell formulas to return a blank cell or nothing so that my COUNTA formula
does not include that cell in its count?
COUNTA(a1:a20)

a2=a1, a3=a2
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default Returning nothing if formula is false

One way to do this is to change the formulas to include IF formulas,
like this:
IF(your original formula=0,"",your original formula)
This will return an empty cell if the original formula yields a zero.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Returning nothing if formula is false

Try this:
=SUMPRODUCT(--ISNUMBER(A1:A20))


"SallyGirl" wrote:

I am using COUNTA(a1:a20) formula. The colum that it is counting also
contains formulas. Some of the cell formulas are returning 0. Can I change
the cell formulas to return a blank cell or nothing so that my COUNTA formula
does not include that cell in its count?
COUNTA(a1:a20)

a2=a1, a3=a2

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Returning nothing if formula is false

Thank you this was helpful!!

"SallyGirl" wrote:

I am using COUNTA(a1:a20) formula. The colum that it is counting also
contains formulas. Some of the cell formulas are returning 0. Can I change
the cell formulas to return a blank cell or nothing so that my COUNTA formula
does not include that cell in its count?
COUNTA(a1:a20)

a2=a1, a3=a2

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
Need some comments on my Utility_Move class module. jchen Excel Worksheet Functions 0 August 21st 06 07:05 PM
Stop renaming or moving sheet tabs sparx Excel Discussion (Misc queries) 9 May 16th 06 08:44 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Grouped Sheets and Formating Pank Mehta Excel Discussion (Misc queries) 3 March 24th 05 01:42 AM
Grand Totals @ Same Place Amber M Excel Worksheet Functions 2 December 30th 04 07:13 PM


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