+ Reply to Thread
Results 1 to 5 of 5

Need to be able to indentify each row that belongs to that specific user

  1. #1
    Forum Contributor
    Join Date
    05-04-2008
    Posts
    103

    Need to be able to indentify each row that belongs to that specific user

    I have a file that is imported from the district's server. I do not have a choice on how it is formatted so it causes problems for me to upload to my database. How can I get the staff members name associated with each of the row that belongs to them For example.

    Smith, Paul has 6 rows assigned to his name and StaffID but it is setup in a block. I want to be able to import each of his rows identified to him.

    Please Login or Register  to view this content.
    So under the Staff ID and name I want it to show on each row the staff ID and name. This will help me upload to my database much quicker and without error. Hope this makes sense. Thank you.

    I attached a sample file that is downloaded from their database. TeacherList_ForumExampleDec12012.xlsx

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Need to be able to indentify each row that belongs to that specific user

    This should do it:

    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Need to be able to indentify each row that belongs to that specific user

    If you can add 2 helper columns after be, you can use this method in the new C and new D...

    in C1 add =A1 in D1 add =B1
    in C2, add this, copied down...=IF(A2="",C1,A2)
    in D2, add this, copied down...=IF(B2="",D1,B2)

    if you cant insert the 2 helper columns, you could put them at the end and reference the other columns to suite
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Need to be able to indentify each row that belongs to that specific user

    another

    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Need to be able to indentify each row that belongs to that specific user

    Thanks for the feedback.

    If that takes care of your query, please select \Thread Tools\ from the menu above and mark the thread as solved. Thanks.

+ 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