Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
calimari
 
Posts: n/a
Default Converting special characters


Is it possible to get the sum of cells using numbers entered in feet? In
other words...I need to calculate a sum using numbers with the ' & "
symbol next to the number indicating feet & inches.

Is there a special way to do this, or do I need to convert the data to
whole numbers?

Thank you in advance. :)


--
calimari


------------------------------------------------------------------------
calimari's Profile: http://www.excelforum.com/member.php...o&userid=24537
View this thread: http://www.excelforum.com/showthread...hreadid=390229

  #2   Report Post  
swatsp0p
 
Posts: n/a
Default


Assuming you don't have mixed feet and inches within the same cell, you
could use the following formula to 'read' the text entry of feet as a
number and sum them together using an array formula:

=SUM(VALUE(LEFT(A1:A100,1)))

confirmed with Control+Shift+Enter, not just Enter.

the values of 1', 3' and 5' will return 9

If your cells contain mixed feet and inches, you can convert to decimal
feet (e.g. 1' 3" = 1.25 feet) and sum the results:
(note: this assumes your data is entered with a space between the ' and
the next character, e.g. 1'_3")

=LEFT(A1,FIND("'",A1)-1)+(MID(A1,FIND(" ",A1)+1,LEN(A1)-FIND("
",A1)-1)/12)

HTH


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=390229

  #3   Report Post  
Gary's Student
 
Posts: n/a
Default

If you have a column of data in the form:

1&2

meaning one foot, two inches, then use Data Text to Columns.. feature to
separate the data into a column for feet and a column for inches.

Once you have summed th columns, you can either convert the inches to feet
or feet to inches and add them up.
--
Gary's Student


"calimari" wrote:


Is it possible to get the sum of cells using numbers entered in feet? In
other words...I need to calculate a sum using numbers with the ' & "
symbol next to the number indicating feet & inches.

Is there a special way to do this, or do I need to convert the data to
whole numbers?

Thank you in advance. :)


--
calimari


------------------------------------------------------------------------
calimari's Profile: http://www.excelforum.com/member.php...o&userid=24537
View this thread: http://www.excelforum.com/showthread...hreadid=390229


  #4   Report Post  
swatsp0p
 
Posts: n/a
Default


my original formula for finding feet only did not take into account for
numbers larger than 9. Use this instead:

=SUM(VALUE(LEFT(F15:F17,FIND("'",F15:F17)-1)))

again, this is an array formula and need to be entered using
CTRL+SHIFT+ENTER.

Good Luck

Bruce


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=390229

  #5   Report Post  
calimari
 
Posts: n/a
Default


Thank you. I really appreciate the assistance! ;)


--
calimari


------------------------------------------------------------------------
calimari's Profile: http://www.excelforum.com/member.php...o&userid=24537
View this thread: http://www.excelforum.com/showthread...hreadid=390229

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
special characters (little box) YuChieh Excel Discussion (Misc queries) 9 June 14th 05 01:41 PM
Special Characters on Labels BillCPA Excel Discussion (Misc queries) 7 May 12th 05 02:46 PM
excel data label format special number characters (part 2) todd Excel Discussion (Misc queries) 1 May 4th 05 04:08 PM
REMOVE SPECIAL CHARACTERS FROM TEXT CELLS javila255 Excel Worksheet Functions 1 April 2nd 05 06:24 PM
Special Characters in Headers and Footers LPS Excel Discussion (Misc queries) 5 February 26th 05 06:02 PM


All times are GMT +1. The time now is 05:07 PM.

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

About Us

"It's about Microsoft Excel"