LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 968
Default Random numbers appearing, calculations showing as zero

add this line after "If Not IsEmpty(vRange(j, k)) Then"

if len(cstr(vRange(j,k)))=0 then vRange(j,k)=0

Note that the function will now ignore empty (unused) cells, but treat cells
containing a blank as zero.

--
Charles
______________________
Decision Models
FastExcel 2.2 Beta now available
www.DecisionModels.com

"ophelia" wrote in
message ...

Thanks so much for all your help, and your hard work :)
What I was wanting really was for the blanks to be treated as Zeros, is
that possible?

:)

If not, no worries, you've already helped me out a huge amount!


--
ophelia
------------------------------------------------------------------------
ophelia's Profile:
http://www.excelforum.com/member.php...o&userid=33778
View this thread: http://www.excelforum.com/showthread...hreadid=535507



 
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
Pivot table NOT showing zero value calculations Jaimed1010 Excel Worksheet Functions 2 November 7th 07 12:24 AM
Non-random numbers generated by excel's data analysis random gener Allie Excel Worksheet Functions 10 September 17th 05 06:19 AM
Non-random numbers generated by excel's data analysis random gener Harlan Grove Excel Discussion (Misc queries) 2 September 13th 05 04:06 PM
Showing a unique random number w/o duplicates tx12345 Excel Worksheet Functions 4 August 27th 05 02:51 AM
How do I set up a standard form showing incentive calculations KeithB Excel Discussion (Misc queries) 2 May 30th 05 09:41 AM


All times are GMT +1. The time now is 11:54 PM.

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"