Title: Woody's Office 2003
fyi
-----Original Message-----
From: Woody's OFFICE 2003 [mailto:[EMAIL PROTECTED]
Sent: Friday, 12 December 2003 7:13 p.m.
To: [EMAIL PROTECTED]
Subject: Woody's Office 2003 #1.12 - Excel 2003 RAND() follow up

Woody's OFFICE 2003

Your independent info and preview of Office 2003

11 December 2003 - Vol 1 No.12
 

5advertisement

Welcome to "Woody's Office 2003" -- feel free to tell your friends about our latest free newsletter -- anyone can join by sending a blank email to [EMAIL PROTECTED]

All subscribers go in the draw for a copy of Office 2003!

Total Silence about the RAND() Bug

5advert

Lot's of talk about the RAND() bug in Excel 2003 - but a stony silence from the one place you'd want to hear from - Microsoft.

Amazingly - or perhaps not so amazingly - there's not been a word from the makers of Excel 2003 about a problem with their product.   They've had several weeks notice and yet not an official word.

So we'd like to be able to report more hard information about the bug and possible workaround but until Microsoft condescends to provide some measure of customer service we, their paying customers, are left in the dark.

It seems the idea is to publicly ignore the problem until they have a fix.  That's a sensible practice for security problems where premature disclosure could help worm writers.  But in this case the details of the bug should be released as soon as they are known.

Why?  There's Excel users who rely on RAND() and RANDBETWEEN() every day across the world.  While Microsoft works on a patch, those customers need to know details of the faulty functions so they can decide on interim workarounds.

Microsoft seems to have opted for a simultaneous 'announce and patch' approach which is aimed squarely at reducing the bad publicity for the company, with considerations of the customers needs secondary to corporate ego.

 

While there's been no official response, our usually reliable sources inside the company tell us that the bug is acknowledged as real.  A patch is probable though the timing and nature of that patch is yet to be confirmed.  That's understandable, it takes a relatively short time to identify a bug once you realize it is there.  To fix a bug in a program as complex and widespread as Excel can take a lot longer to make and test and test some more.

Microsoft's customers should not be impatient for a patch, but they should expect a more prompt public acknowledgment of the bug.

 

Just for a laugh you can get the Nov 11 (or Nov 4) update we talked about in issue #1.10.   This update is now available from the Office Update web site after a notable absence at first.

You'll get a laugh because the spin doctors have described the update as " offers the highest level of reliability available for Office 2003 " - which is funny given what we now know about Excel 2003.  It makes you wonder about the Microsoft definition of "highest level of reliability", it's a phrase that sounds great on a brochure but looks like a sick joke to customers with a faulty spreadsheet.

How to see the RAND bug for yourself 

Woody's NEW Office 2003 book!!
Special Edition using Microsoft Office 2003

by Ed Bott and Woody Leonhard

Order your copy today click here

In the last issue we gave instructions on how to see the RAND() bug for yourself and predictably we received emails from people saying it wasn't showing up for them.  Here's some reasons:

  • You must have the release version of Excel 2003 - not a beta version.
  • It must be Excel 2003 - not 2002 or previous versions.
  • There's only one Excel 2003 final release - all the CD's are effectively the same whether you bought it recently or when Office 2003 first came out.
  • You have to have a lot a RAND() iterations - the exact number is unclear but it seems to be in the tens of thousands.  In our tests with 1500 x 26 cells to takes around 15 F9's to show up both others are reporting pressing F9 more than 100 times before negatives started appearing.  We had some angry messages saying 'I can't find the bug' and some of those people later wrote that with a bit of patience and pressing of F9 they finally found the negative results.

Aside from that we can only say that the bug is there, enough people around the globe in different languages have found it that there's no question about the RAND() bug's existence.

Most important - while there's been no official response from Microsoft, they know it's there and are working on a fix.

Many people noticed one peculiarity of the bug, at first the results are all correct (between 0 and 1) then the negative numbers start to appear.  If you keep pressing F9 the negative results disappear after a while, then return with more recalculations.

It's just one more mystery about this bug that can only be answered by the people who have access to the source code - Microsoft.

Possible workarounds

Lot's and lots of comments about the suggested workarounds.  We have to stress that these are temporary workarounds based on what we've been able to figure out.  To give a definitive fix you'd have to know exactly what the nature of the RAND() bug is and, as noted, we can't do that while Microsoft is silent.

The workarounds depend on how heavily you rely on a properly distributed and pseudo-random RAND() function with numbers in the expected range of zero to one.

RAND() used occasionally and/or for small ranges of numbers:

ABS(RAND())  - this will give you a random number is in the expected range of 0 to 1 however will not be evenly distributed.  For this reason it is not recommended.
 

Earl Takasaki has done some analysis of the results for this workaround that requires two cells:

Let's say you have RAND() in cell A1. IN cell B1,
you would type =if(A1<0, A1+1, A1)

This would also return numbers in the correct range of 0 to 1 and according to Earl's study, the results are more properly distributed across the range.   Certainly the results are better distributed than the faulty RAND() function. 

I know some people have said this doesn't make sense, but you can't assume that the negative results of the faulty RAND() are evenly distributed.  The apparent success of this workaround is a possible clue to the Excel team as to where the problem lies.


RAND() used extensively and relies on an even distribution of numbers in the correct range.
Frankly, if you have heavy duty uses for RAND() you'd be better off using Excel 2002 for the moment, given all the unknowns about the Excel 2003 version of RAND(), Excel 2002 is the 'devil you know'.

If you have to use Excel 2003 then the safest, but hardly fastest, option is this custom function.  Tests on the RND() VBA function seem to be working OK, as opposed to the faulty RAND() Excel function.

Function Rand2() As Double
    Application.Volatile
    Rand2 = Rnd()
End Function

It is not clear whether the Excel 2003 bug also extends to the VB.NET version of RND().  Yet another question that Microsoft has left hanging for their customers.

 

Naturally, we'll keep you informed of any official and unofficial news on this problem.

5Ads make Woody's Watch possible5


Woody's EMAIL Essentials

Woody's EMAIL Essentials is one of those things you'll read and refer to. 

  • Click here to join using the same email address as received this issue.
  • or click this link if you want to subscribe at another email address
  • or send a blank email to [EMAIL PROTECTED]

Advice on email etiquette, spam prevention, email services and scams. Help for email programs, especially Outlook Express!


If you're looking for a Windows XP book that'll give you the straight scoop - but not bury you in a ton of technical details - hey, have I got a book for you! Windows XP All-In-One Desk Reference For Dummies rates as the book you'll reach for again and again. Whether you're burning CDs or coping with Klez, this book will see you through. Think of it as your reference of first resort. Available at all good bookstores, or online just about everywhere.

OFFICE 2003 TALK

We love hearing from readers, especially about new software.  Feel free to write to us about your experiences, questions, gripes and loves with Office 2003.

Send mail to [EMAIL PROTECTED]  - all names and personal details are kept confidential.

WOODY's OFFICE 2003
Copyright (c) 2003 Peter Deegan. All rights reserved. ISSN: 1448-2738
Advertising:  Advertising is available at reasonable rates ask Jan, our Advertising Manager for detail.
Leaving us?  Forward (don't reply) this message to   [EMAIL PROTECTED]     
[EMAIL PROTECTED]

_______________________________________________
Offtopic mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/offtopic

Reply via email to