Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-15-2012, 01:56 PM
joeller joeller is offline COUNTA function returns incorrect value Windows XP COUNTA function returns incorrect value Office 2007
Novice
COUNTA function returns incorrect value
 
Join Date: Apr 2012
Posts: 7
joeller is on a distinguished road
Question COUNTA function returns incorrect value

I exported a report from SSRS to Excel.



Then I added a linebreak at F35 and entered cell with counta(F:32,F34) It returned a value of 2. (All lines contain data.) I entered another line break and another COUNTA function this time with the range COUNTA(F:37, F:42) It also returned a value of 2.

This is with Excel 2007.

Has anyone heard of this issue and how to resolve it?

Update: Used drag and drop in excel to create function. the format is F32:F34 for a range whereas separated by commas is for each individual cell. Now it works.

Last edited by joeller; 10-15-2012 at 02:18 PM. Reason: Correction
Reply With Quote
  #2  
Old 10-16-2012, 12:34 AM
macropod's Avatar
macropod macropod is offline COUNTA function returns incorrect value Windows 7 64bit COUNTA function returns incorrect value Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,341
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

For testing the range F32:F34 or F37:F42, your COUNTA expression is wrong. It should be:
=COUNTA(F32:F34)
=COUNTA(F37:F42)
Now, whether COUNTA will report anything other than 2 for either range depends on what, if anything, the referenced cells contain.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 10-16-2012, 05:37 AM
joeller joeller is offline COUNTA function returns incorrect value Windows XP COUNTA function returns incorrect value Office 2007
Novice
COUNTA function returns incorrect value
 
Join Date: Apr 2012
Posts: 7
joeller is on a distinguished road
Default Update covers that

Please note update at bottom of original entry edited yesterday 5:18 PM EDT.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
COUNTA function returns incorrect value How to release hard returns? markg2 Word 13 05-08-2023 01:38 PM
IF formula returns wrong result mashley Excel 3 09-07-2012 07:03 AM
COUNTA function returns incorrect value No tabbing, no returns in forms? rdowney1 Word 7 06-29-2012 08:35 AM
IF formula returns TRUE instead of evaluating COUNTIF ColinC Excel 4 12-28-2011 08:21 AM
Password is incorrect--but it's not. orcasguy Outlook 2 11-10-2011 02:17 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:48 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft