+ Reply to Thread
Results 1 to 4 of 4

can area calculations be simplified in excel?

  1. #1
    Registered User
    Join Date
    07-04-2012
    Location
    pakistan
    MS-Off Ver
    Excel 2007
    Posts
    2

    can area calculations be simplified in excel?

    I have a problem ..i need to calculate the square FEET area of some shapes..now the dimensions I have for them are mostly like 1’7’’ and 45”…now what I want is that instead of converting 1’7” to 1.58333’ in the calculator every now and then…I want that I just enter 1’7” into excel and it should automatically take it in feet and perform the rest of the arithmetic calculations..what do I need to do for this?

    thanks

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: can area calculations be simplified in excel?

    If 1'7" is in A1
    In B1
    =TRIM(MID(A1,1,SEARCH("'",A1)-1))+TRIM(MID(A1,SEARCH("'",A1)+1,LEN(A1)-SEARCH("'",A1)-1))/12

    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: can area calculations be simplified in excel?

    Don't know if there is an easier way to do this, but this will convert a string in your format (1'7") to a decimal {assume your string is in A1}:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Note, there isn't any error checking in this formula, so if one of your measurements is less than 1', it would need to be entered as 0'7", etc.

    - Moo
    Last edited by Moo the Dog; 11-01-2012 at 11:07 AM.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,856

    Re: can area calculations be simplified in excel?

    A different thought (maybe because I am just not familiar or proficient with Excel's text manipulation functions). Rather than enter the text string 1'7" and use text formulas to extract the 1 and 7, how would you feel about entering it as a fraction? If you enter the number 1 7/12 (7 inches is 7/12 of a foot), Excel will receive that as a your fractional foot entry. For an entry like 45", you would enter 0 45/12 or (once the cell is formatted) as 45/12. An approach like this will avoid the difficulties that come from manipulating text strings, but it does mean you would have to deal with the difficulties related to entering fractions into Excel.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1