Results 1 to 3 of 3

Function or macro to convert string with weeks, days, hours, minutes to Hours

Threaded View

  1. #1
    Registered User
    Join Date
    05-13-2010
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    20

    Function or macro to convert string with weeks, days, hours, minutes to Hours

    Hi,

    I would like some help coming up with a function or macro that will enable me to convert the below estimates stored as strings in excel into hours. I also want to avoid using text to columns.

    Original Estimate
    1 week, 6 hours
    1 week, 1 day, 6 hours
    2 hours, 35 minutes
    2 weeks
    1 hour, 1 minute

    The results should be:
    Hours
    174
    198
    2.58
    336
    1.02

    I'm really stumped and would appreciate any help.

    Thanks!
    Attached Files Attached Files

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