Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 24
Default Count Function?

I have a column in a list that contains several numbers, some of which are
integers and others which have decimal points. Is there a way to count those
cells in a column that contain decimals?
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4,624
Default Count Function?

One way:

=SUMPRODUCT(--(INT(A1:A100)<A1:A100))

In article ,
jayceejay wrote:

I have a column in a list that contains several numbers, some of which are
integers and others which have decimal points. Is there a way to count those
cells in a column that contain decimals?

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1,805
Default Count Function?

Suppose you have your numbers in A1:A100 then type this in any cell other
than A1:A100

=SUM(IF(A1:A100-INT(A1:A100)0,1,0))
and press CTRL-SHIFT-ENTER to get the count

"jayceejay" wrote:

I have a column in a list that contains several numbers, some of which are
integers and others which have decimal points. Is there a way to count those
cells in a column that contain decimals?

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 24
Default Count Function?

A thousand thanks to the both of you -- Both very helpful. I appreciate it
immensely.

"JE McGimpsey" wrote:

One way:

=SUMPRODUCT(--(INT(A1:A100)<A1:A100))

In article ,
jayceejay wrote:

I have a column in a list that contains several numbers, some of which are
integers and others which have decimal points. Is there a way to count those
cells in a column that contain decimals?


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
count function help Karen Excel Worksheet Functions 5 April 14th 06 11:00 PM
count function kckar Excel Discussion (Misc queries) 4 February 15th 06 11:28 PM
Count Function Steve Excel Worksheet Functions 13 November 18th 05 04:05 PM
using the count function barklek Excel Discussion (Misc queries) 3 August 22nd 05 01:00 PM
Count Function Sachin Narute Excel Worksheet Functions 2 August 1st 05 03:08 PM


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