Thread: convert yards
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dav Dav is offline
external usenet poster
 
Posts: 1
Default 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