C
Carl Brehm
b3=
300x260x500
b4 =
=(TEXT(CONVERT((LEFT(B3,(SEARCH("x",B3)-1))),"mm","in"),"# ?/16"))&""" X
"&(TEXT(CONVERT(MID(B3,(SEARCH("x",B3)+1),((LEN(B3))-(LEFT(SEARCH("x",B3)))-
(RIGHT(SEARCH("x",B3))))),"mm","in"),"# ?/16"))&""" X
"&(TEXT(CONVERT((RIGHT(B3,(RIGHT(SEARCH("x",B3))-1))),"mm","in"),"#
?/16"))&""""
results =
11 13/16" X 10 4/16" X 19 11/16"
Need to convert the fractions to lowest common denominator
Have tried following the examples at
http://www.mvps.org/dmcritchie/excel/fractex1.htm and can not get it to work
There has to be an easier way to do this. Formula is already 282 characters
in length. and having to use this 10,000 times in a workbook would make it
way to large.
Can you make the formula into a user defined function?
Function METtoFRA(ctc as range)
(TEXT(CONVERT((LEFT(ctc,(SEARCH("x",ctc)-1))),"mm","in"),"# ?/16"))&""" X
"&(TEXT(CONVERT(MID(ctc,(SEARCH("x",ctc)+1),((LEN(ctc))-(LEFT(SEARCH("x",ctc
)))-(RIGHT(SEARCH("x",ctc))))),"mm","in"),"# ?/16"))&""" X
"&(TEXT(CONVERT((RIGHT(ctc,(RIGHT(SEARCH("x",ctc))-1))),"mm","in"),"#
?/16"))&""""
end function
or some such where you could usel it =METtoFRA(b3)
--
Carl & Linda Brehm
Lake Lafourche Bird House
Hebert, LA
Keets, Tiels, GN Lories, Quakers
Mitred Conures, TAG's, Bourkes
Cages
300x260x500
b4 =
=(TEXT(CONVERT((LEFT(B3,(SEARCH("x",B3)-1))),"mm","in"),"# ?/16"))&""" X
"&(TEXT(CONVERT(MID(B3,(SEARCH("x",B3)+1),((LEN(B3))-(LEFT(SEARCH("x",B3)))-
(RIGHT(SEARCH("x",B3))))),"mm","in"),"# ?/16"))&""" X
"&(TEXT(CONVERT((RIGHT(B3,(RIGHT(SEARCH("x",B3))-1))),"mm","in"),"#
?/16"))&""""
results =
11 13/16" X 10 4/16" X 19 11/16"
Need to convert the fractions to lowest common denominator
Have tried following the examples at
http://www.mvps.org/dmcritchie/excel/fractex1.htm and can not get it to work
There has to be an easier way to do this. Formula is already 282 characters
in length. and having to use this 10,000 times in a workbook would make it
way to large.
Can you make the formula into a user defined function?
Function METtoFRA(ctc as range)
(TEXT(CONVERT((LEFT(ctc,(SEARCH("x",ctc)-1))),"mm","in"),"# ?/16"))&""" X
"&(TEXT(CONVERT(MID(ctc,(SEARCH("x",ctc)+1),((LEN(ctc))-(LEFT(SEARCH("x",ctc
)))-(RIGHT(SEARCH("x",ctc))))),"mm","in"),"# ?/16"))&""" X
"&(TEXT(CONVERT((RIGHT(ctc,(RIGHT(SEARCH("x",ctc))-1))),"mm","in"),"#
?/16"))&""""
end function
or some such where you could usel it =METtoFRA(b3)
--
Carl & Linda Brehm
Lake Lafourche Bird House
Hebert, LA
Keets, Tiels, GN Lories, Quakers
Mitred Conures, TAG's, Bourkes
Cages