home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / apps / spreadsh / 658 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.1 KB  |  36 lines

  1. Newsgroups: comp.apps.spreadsheets
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!rpi!batcomputer!munnari.oz.au!newsroom.utas.edu.au!tasman.cc.utas.edu.au!justin
  3. From: justin@tasman.cc.utas.edu.au (Justin Ridge)
  4. Subject: Re: Displaying quarters in Excel?
  5. Message-ID: <justin.721976443@tasman>
  6. Sender: news@newsroom.utas.edu.au
  7. Organization: University of Tasmania, Australia.
  8. References: <1e711oINNi8h@lester.appstate.edu>
  9. Date: Tue, 17 Nov 1992 05:00:43 GMT
  10. Lines: 24
  11.  
  12.  
  13. > For example, I would want dates 1/1 through 3/30 displayed
  14. > something like "Q1", 4/1 through 6/30 displayed something
  15. > like "Q2", etc.
  16. > Can this be done through the Format-Number command? Or do
  17. > I need to convert the dates through cumbersome formulae
  18. > with "IF" statement(s)?
  19.  
  20. As far as I know, no you can't accomplish this with the format number
  21. command on its own.  But by the same token, you do not need to use IF
  22. statements.
  23. Say your date is in cell A1, then one possible formula is:
  24.      ="Q"&TEXT(INT(MONTH(A1)/4)+1,"0")
  25.  
  26. This is about the easiest way which readily springs to mind, but of
  27. course there may well be others.
  28.  
  29. Regards,
  30. Justin Ridge
  31. University of Tasmania
  32.  
  33.  
  34. --
  35.