home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / apps / spreadsh / 452 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  2.6 KB

  1. Path: sparky!uunet!convex!darwin.sura.net!jvnc.net!rutgers!uwm.edu!rpi!batcomputer!cornell!uw-beaver!ubc-cs!alberta!kakwa.ucs.ualberta.ca!muskwa.ucs.ualberta.ca!dhalliwe
  2. From: userDHAL@mts.ucs.UAlberta.CA (David Halliwell)
  3. Newsgroups: comp.apps.spreadsheets
  4. Subject: Re: Protecting end-points of a named range
  5. Message-ID: <dhalliwe.714352541@muskwa.ucs.ualberta.ca>
  6. Date: 20 Aug 92 23:15:41 GMT
  7. References: <RON.92Aug19115827@bert.cs.byu.edu> <thompson.714341484@kiyotaki.econ.umn.edu>
  8. Sender: news@kakwa.ucs.ualberta.ca
  9. Distribution: comp.apps.spreadsheets
  10. Organization: University Of Alberta, Edmonton Canada
  11. Lines: 55
  12. Nntp-Posting-Host: muskwa.ucs.ualberta.ca
  13.  
  14. thompson@atlas.socsci.umn.edu (T. Scott Thompson) writes:
  15.  
  16. >I only use Quattro for my own work, so my "dummy-proofing" is of a very
  17. >personal variety!  However, the following has worked well for me:
  18.  
  19. >To protect the top and bottom of a COLUMN range, I simply add a cell
  20. >to the top and bottom, include those cells in the range, and
  21. >(optionally) insert something in them that the numeric functions will
  22. >ignore (like a label).  
  23.  
  24.     Unfortunately, a rather large number of numerical functions do not
  25. ignore labels: they treat them as if they are a valid number with a value
  26. of zero. IMHO this is a major disadvantage of spreadsheets for any serious
  27. numerical work. I would think that the only safe option in your solution
  28. would be the completely blank cell. Is there another trick that you can
  29. use to prevent this problem?
  30.  
  31. >                        Then I protect just the two "guard cells".  I
  32. >end up with something like this:
  33.  
  34.  
  35. >              1      2      3
  36. >         A        -------
  37. >         B          1.2
  38. >         C          3.4
  39. >         D          5.6
  40. >         E        -------
  41. >         F         10.2
  42.  
  43. >Here I would make A2-E2 be the named range. (Say "DATA") I put the
  44. >labels "/-" in A2 and in E2, which are protected.  B2-D2 are not
  45. >protected, so that they can be erased, deleted, etc.  Cell F2 might
  46. >have something like @SUM(DATA), which simply ignores the labels in A2
  47. >and E2.
  48.  
  49.    Yes, the @SUM would give the correct total, but @AVG or @COUNT will
  50. think that 5 values are present.
  51.  
  52. >This scheme also makes it easy to add an extra cell to the top or
  53. >bottom of the range and have it be included in the range
  54. >automatically.
  55.  
  56. >The same scheme should also work for ROW ranges.  If you do this then
  57. >you can evey use "Hide Column" to prevent the columns corresponding to
  58. >A2 and E2 in the example from showing up.
  59.  
  60.     This would also make it very easy to leave the cell completely blank,
  61. so all functions will work in the expected way.
  62.  
  63.  
  64.  
  65. Dave Halliwell
  66. Department of Geography
  67. University of Alberta
  68. Edmonton, Alberta
  69.