Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
rbashley
 
Posts: n/a
Default Measurement, in feet and inches, in Excel

How can I insert measurements in feet and inches and still be able to use
"sum" and "sort" options? I can insert them so that I know what they mean,
but "sort" thinks that 11" is smaller than 4".
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

David McRitchie has some info on his site

http://www.mvps.org/dmcritchie/excel/fractex1.htm

Regards,

Peo Sjoblom


"rbashley" wrote:

How can I insert measurements in feet and inches and still be able to use
"sum" and "sort" options? I can insert them so that I know what they mean,
but "sort" thinks that 11" is smaller than 4".

  #3   Report Post  
Richard Neville
 
Posts: n/a
Default

To sort correctly, all entries in a sort field must have the same number of
digits, so your "4" would have to appear as "04". You can do this with the
Format-Cells Number tab. Select the "Custom" function and in the right-hand
box enter 00, 000, or whatever will be the maximum number of feet in your
sort. This will place 04 before 11.

Sorting by feet and inches is more difficult. Try the Convert function.

"rbashley" wrote in message
...
How can I insert measurements in feet and inches and still be able to use
"sum" and "sort" options? I can insert them so that I know what they
mean,
but "sort" thinks that 11" is smaller than 4".



  #4   Report Post  
PeterAtherton
 
Posts: n/a
Default

Try using hidden columns for formulas and use these to sort the data

If the measurement is in A3 in column B
=VALUE(LEFT(A3,FIND("'",A3)-1)) to find the feet
in column C type the formula
VALUE(RIGHT(A3,LEN(A3)-FIND("'",A3,1))) to find the inches

To sum feet in B2 type =SUM(B3:B9)+(INT(SUM(C3:C9)/12))
To sum Inches in C2 type =MOD(SUM(C3:C10),12)

To show the final total (as A string) in A2 type
=B2&" "&C2&"'"

You can sort on Columns B the C before hiding the columns, save your
worksheet and excel will remember the sort for next time.

Peter



"rbashley" wrote:

How can I insert measurements in feet and inches and still be able to use
"sum" and "sort" options? I can insert them so that I know what they mean,
but "sort" thinks that 11" is smaller than 4".

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:53 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"