+ Reply to Thread
Results 1 to 4 of 4

Fish record calculator

  1. #1
    Registered User
    Join Date
    08-15-2009
    Location
    London,England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Fish record calculator

    Hi, I am trying to make a worksheet that will log the fish I catch in lbs, ozs and drams then calculate that cell as a percentage of the record fish of that species but can't even get to format a cell as weight. I'm a novice on Excel and wondered if any genius out there could do this for me. I have uploaded a .jpg of what I am trying to do for example:
    B2 = 5lb 4oz 0drms
    C2 = 1lb 15oz 06drms
    D2 = percentage C2 is of B2
    if any one could do this for me that would be greatly appreciated

    Thanks The Monk
    Attached Images Attached Images
    Last edited by The Monk; 05-26-2010 at 07:48 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,970

    Re: Fish record calculator

    You may find some useful information in this thread

    http://www.excelforum.com/excel-gene...g-weights.html

    with a problem very similar to yours.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Fish record calculator

    its a bit long but :-

    =(LEFT(C2,FIND("lb",C2)-1)+SUBSTITUTE(MID(C2,FIND("lb",C2)+3,2),"o","")/16+SUBSTITUTE(MID(C2,FIND("oz",C2)+2,3),"d","")/256)/(LEFT(B2,FIND("lb",B2)-1)+SUBSTITUTE(MID(B2,FIND("lb",B2)+3,2),"o","")/16+SUBSTITUTE(MID(B2,FIND("oz",B2)+2,3),"d","")/256)

    will allow you to type your B2 and C2 cells exactly as they are! (ie 5lb 4oz 10drm)

    =(LEFT(C2,FIND("lb",C2)-1)+SUBSTITUTE(MID(C2,FIND("lb",C2)+3,2),"o","")/16+SUBSTITUTE(MID(C2,FIND("oz",C2)+2,3),"d","")/256)

    converts a value in this format to decimal pounds

    you cant format a cell like this but you can enter values as text and convert to a value for calculation!
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


  4. #4
    Registered User
    Join Date
    08-15-2009
    Location
    London,England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Thumbs up Re: Fish record calculator

    Thanks very much, you are a genius squiggler47 your formula does exactly what I wanted, once again thank you so much for your time and effort it is very much appreciated.

+ 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