Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
convert yards
Does anyone know a fomula or function to convert yards to miles and yards
i.e. 2000 yards equals 1 mile and 240 yds not 1.14 miles. Thanks |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
convert yards
=TRUNC(A1/1760)&" Miles "&MOD(A1,1760)&" Yards" or if you wanted it to be slightly more elaborate =IF(A1<1760,A1& " yards",IF(A1<3520,TRUNC(A1/1760)&" Mile "&MOD(A1,1760)&" Yards",TRUNC(A1/1760)&" Miles "&MOD(A1,1760)&" Yards")) Regards Dav -- Dav ------------------------------------------------------------------------ Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107 View this thread: http://www.excelforum.com/showthread...hreadid=563200 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
convert yards
Cheers Dav
Absolutely spot on. Les. "Dav" wrote: =TRUNC(A1/1760)&" Miles "&MOD(A1,1760)&" Yards" or if you wanted it to be slightly more elaborate =IF(A1<1760,A1& " yards",IF(A1<3520,TRUNC(A1/1760)&" Mile "&MOD(A1,1760)&" Yards",TRUNC(A1/1760)&" Miles "&MOD(A1,1760)&" Yards")) Regards Dav -- Dav ------------------------------------------------------------------------ Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107 View this thread: http://www.excelforum.com/showthread...hreadid=563200 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
HOW CAN I CONVERT A NUM IN WORDS (EXCEL) | Excel Discussion (Misc queries) | |||
Convert displayed number to absolute value | Excel Discussion (Misc queries) | |||
Convert decimal degree (lattitude/longitude) into Degree, | Excel Discussion (Misc queries) | |||
CONVERT Function Disappered in Excel | Excel Discussion (Misc queries) | |||
Convert Numeric into Text | Excel Worksheet Functions |