+ Reply to Thread
Results 1 to 12 of 12

Total hours by name from exported data

  1. #1
    Registered User
    Join Date
    04-08-2014
    Location
    Longview, Texas
    MS-Off Ver
    Excel 2010
    Posts
    32

    Total hours by name from exported data

    Good Morning,

    I am able to export some data from a DOS program I use at work that includes names and hours on work orders completed. I want to be able to pull the total by name into a separate, sortable column. I have included further guidance on the sheet. I appreciate your help in advance.

    Chrazyman
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: Total hours by name from exported data

    So it looks like your taking the data and need to get total hours for each person.

    The source data isnt arranged well. You can either arrange it into a more tabular form or get just that information from it as is.

    If you take the effort to get the data into a tabular format, it will give you the flexibility of doing stuff like creating a pivot table from it, sorting/filtering and further breaking down the data. Otherwise with a couple manual steps you can get the unique names from column E and then using formulas get the totals you desire.

    So manually I would copy the list of names in column E to another area/sheet and then with that range highlighted use Data | Remove Duplicates to eliminate duplicate names. Id then remove any blanks in the list of names I just created. You should then be able to use a SUMIF formula using the new unique names list as your criteria and having it look at E through I and summing the values in I for that name.

    Getting it to a tabular format you would want the names to repeat each row so that each row represents a single record and remove the existing subtotal rows and "-----" rows. You could then use that range as the source of a pivot table (to show total hours by name) and/or sort/filter the list itself.
    Ways to get help: Post clear questions, explain your overall goal, supply as much background as possible, respond to questions asked of you by those trying to help and post sample(s) files.

    "I am here to help, not do it for people" -Me

  3. #3
    Registered User
    Join Date
    04-08-2014
    Location
    Longview, Texas
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: Total hours by name from exported data

    I don't have any way to manipulate the data at the source. What you see is what you get. Are you able to help with the data that I currently have?

  4. #4
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: Total hours by name from exported data

    I didnt suggest you change it at the source. I suggested after you get it you take the steps I outlined to get it into a usable format.

    Did you try the manual steps I provided?

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Total hours by name from exported data

    You can do that with PowerQuery (add-in for Ex2010 Pro) if you fill Name column like I did then group by name with a sum of total hours

  6. #6
    Registered User
    Join Date
    04-08-2014
    Location
    Longview, Texas
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: Total hours by name from exported data

    I'm looking to not have to do it manually each time as I have to do it multiple times per day. I'm not able to utilize the add-on as this is a company computer.

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Total hours by name from exported data

    It's possible to do it automatically but as I said above - with PowerQuery
    maybe someone else will give you formula or VBA solution

    btw. in the name column "empty" rows has spaces so they are not empty
    and MARCO SARMIENTO doesn't exist in your source range so your result is incorrect
    Last edited by sandy666; 02-05-2018 at 04:15 PM. Reason: added btw.

  8. #8
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,257

    Re: Total hours by name from exported data

    Macro maybe ?
    With macro, for such a data layout as below in the image.
    Written "on the knee", so you have to check ...
    Please Login or Register  to view this content.
    Attached Images Attached Images
    Attached Files Attached Files

  9. #9
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Total hours by name from exported data

    OFF TOPIC

    @porucha vevrku
    I see you're a big enthusiast of twitter

  10. #10
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,257

    Re: Total hours by name from exported data

    No why ?
    I'm just sitting under the table.
    I'm hiding from the cat, he disturb me a lot.
    He likes to walk on the table and he puts his legs in my nose and eyes.
    Under the table is safer.

  11. #11
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Total hours by name from exported data

    If not, ok
    I had such a strange association

  12. #12
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,945

    Re: Total hours by name from exported data

    Are you importing to new workbooks each time or is it the same one (on the same or different sheets)? Does the data start in column A?
    Ben Van Johnson

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Formula to calculate hours worked w/lunch or w/o + OT column only total after 40 hours
    By blinhart in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-31-2023, 11:14 AM
  2. Total Hours From Imported Biometrics Data
    By humanpersona in forum Excel General
    Replies: 7
    Last Post: 11-19-2016, 08:21 AM
  3. distribute data accrording to total number of hours
    By mazan2010 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 10-16-2016, 02:52 PM
  4. Filtering Card Reader Data to Total After Hours Use
    By coneill89 in forum Excel General
    Replies: 3
    Last Post: 08-09-2016, 09:21 AM
  5. [SOLVED] Formula needed to total daily work hours and hours per week
    By amkampbell in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-24-2016, 07:33 PM
  6. [SOLVED] Formula Calculated total work hours - now need to remove breaks and standard hours?
    By smeem in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-10-2014, 12:15 AM
  7. [SOLVED] Calculating total number of hours and comparing data
    By ogriv_17 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-13-2013, 12:58 PM

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