+ Reply to Thread
Results 1 to 2 of 2

How to fix my data

  1. #1
    Registered User
    Join Date
    07-13-2012
    Location
    Bristol
    MS-Off Ver
    Office 365
    Posts
    27

    How to fix my data

    Apologies if I don’t explain this very well!
    This issue is around my data, and how I can fix this so it works with a pivot table correctly. But if there is a better way to do this, other than a pivot table, please let me know. I want one line for each member of staff listed in column I and then repeat the exercise so I have one line for each of the weeks this occurs, so column E has “2, 4-8” This means the activity takes place in week 2, and in weeks 4,5,6,7 and 8.

    Data: attached is an example of the format it comes in.
    What I’d like to be able to:
    Filter by Module ID (Column A)
    Filter for week number (Column E) that will then give me a list of staff who have activities that week
    (staff listed on rows, and activities type (Column D) as column headers. Image of what i'd like attached - I'm i'm open to suggestions

    FYI the data will change every year!


    Any suggestions?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: How to fix my data

    The way your data is entered makes things painful

    for example I assume e5 needs splitting from 2, 4-8 into 2, 4,5,6,7,8
    And likewise you need to split the delimited staff in sperate values for each staff member

    How big is the actual file you need to look at?
    Do you know all the names of the staff to report on (does it exist in a sperate list)? If yes it can be matched against to get the answer.
    i suspect a powerquery or VBA solution will be the only way as the data you have given us needs to be transformed before a pivot can be used

+ 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. Replies: 5
    Last Post: 10-03-2019, 07:23 PM
  2. [SOLVED] Read ( FRONT ) page data then transfer that data to the main data Sheet (OPEN)
    By Potholes in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 08-22-2019, 01:35 AM
  3. Replies: 37
    Last Post: 08-02-2019, 05:47 AM
  4. Replies: 2
    Last Post: 04-30-2017, 08:28 PM
  5. Replies: 11
    Last Post: 12-23-2014, 01:01 PM
  6. Replies: 34
    Last Post: 01-21-2014, 03:07 PM
  7. [SOLVED] Copy Data from one sheet and paste the consolidated data into another (Data Range Varies)
    By kittu55 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-13-2013, 10:02 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