Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 605
Default How to count the odd or even in an excel area?

Guess I can throw away my assumption that numbers are for ATP functions only....... more version dependent ...........<<

Thanks to Harlan's and Roger's clarification, please ignore the above statement. If I have not misunderstood, my original assumption (see below) is correct.

If it is a function from the ATP, it gives a number, otherwise it will display #NAME? <<


functions from the ATP = UDF's
number = runtime generated reference to the UDF i.e. function alias

Epinn

"Epinn" wrote in message ...
Thank you both for taking part in my experiment. You two are wonderful. For some reason, I seem to have an affinity with "anomalies" in Excel. ;) What will I find next?

Guess I can throw away my assumption that numbers are for ATP functions only. They are more version dependent and the "consistency" is amazing. Excel will always remain a mystery to me.

Roger, remember our experiment on "COUNTIF says Null = Blank but Blank < Null?" A few days ago, MATCH told me blank = 0 but blank not equal to blank. I didn't post my findings but I am still hanging on to my worksheet. In case you are interested, I can email it to you.

Epinn

"Roger Govier" wrote in message ...
Only in the interests of consistency<bg

--
Regards

Roger Govier


"Bob Phillips" wrote in message
...
So XL14 will generate numbers again?

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Roger Govier" wrote in message
...
Hi Epinn
Has anyone tried to key in =iseven or =isodd (i.e. without the cell
ref) in a cell?

Yes strange numbers appear when you do this.

But it changes with each version of Excel. Results below for each
version

XL97 #NAME #NAME
XL2000 2000486408 -1909850105
XL2002 #NAME #NAME
XL2003 -708706296 752156679
XL2007 #NAME #NAME

I hadn't seen your later posting about Workday when starting this, so
I didn't try out all the others but in XL2003
=Workday gives a number and in XL2007 it gives #NAME

--
Regards

Roger Govier


"Epinn" wrote in message
...
=iseven(cell ref) or =isodd(cell ref) works fine. This is neat!

Has anyone tried to key in =iseven or =isodd (i.e. without the cell
ref) in a cell? I didn't get an error but ......

I'll let you find out. No idea what that means.

I use V 2003.

Epinn

"Oldersox" wrote in message
...
someone could provide a simpler solution but for the moment you can
use the
'iseven' function (eg: =iseven(cell ref) This will reply true for an
even
number and false for an odd number. You then just need to count the
responses. Two sumifs will do this for you. (note: you will need to
have
the analysis toolpak add-in installed for the iseven function to work
(toolsadd-ins and then tick all add-ins except euros, you can tick
euros if
you ever intend to work in european currencies))

"Bill.liu" wrote:

Hello,
Is there anybody can help me to count the odd or even in an excel
area?
There is a data area which contains natural number.I need to count
how many
odd or even in this area.









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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
unhide menu bar in excel - just disappeared Sean Setting up and Configuration of Excel 12 April 4th 23 10:19 AM
shrink excel chart area mcarrington Excel Discussion (Misc queries) 0 January 5th 06 08:57 PM
Why does my Excel pivottable uses count instead of sum Marcus Ahlbäck Excel Discussion (Misc queries) 3 November 8th 05 03:15 PM
How can I use count function in excel where I have several criter. Princess V Excel Worksheet Functions 14 November 3rd 04 10:18 PM


All times are GMT +1. The time now is 07:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"