How to Create Functions to Calculate Light Years (142152)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q142152 SUMMARY
Microsoft Excel does not include a function that will convert miles into
light years or light years to miles. However, you can use the following
formulas for this calculation
Miles to Light Years = M / 5,877,000,000,000
Light Years to Miles = LY * 5,877,000,000,000
where M is the number of miles and LY is the number of light years.
REFERENCES
"Visual Basic User's Guide," version 5.0, Chapter 3, "Creating a
User-Defined Function"
Modification Type: | Minor | Last Reviewed: | 8/17/2005 |
---|
Keywords: | kbhowto KB142152 |
---|
|