+ Reply to Thread
Results 1 to 8 of 8

Arrange data without using pivot table

  1. #1
    Registered User
    Join Date
    07-24-2017
    Location
    xxxx
    MS-Off Ver
    2007
    Posts
    13

    Arrange data without using pivot table

    Hello Guys I'm working on a list of data and I want to arrange it in such a way like a pivot table. I dont want to use the pivot table option in excel. Also the the data range is coming from a different tab.

    table.png
    Attached Images Attached Images

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,557

    Re: Arrange data without using pivot table

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  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,969

    Re: Arrange data without using pivot table

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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
    Registered User
    Join Date
    07-24-2017
    Location
    xxxx
    MS-Off Ver
    2007
    Posts
    13

    Re: Arrange data without using pivot table

    My apologies for posting an image. Kindly see sample spreadsheet. I want to do is arrange the data without using a pivot table.

  5. #5
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Arrange data without using pivot table

    Try
    M5
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Copy the formula towards N & O column and down.

    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    3
    Row Labels Row Labels Row Labels Day Date Leave Dates
    4
    VL EL SL
    Sun
    01-Jan OFF VL EL SL
    5
    **13-Jan **10-Mar **19-May
    Mon
    02-Jan
    22:00
    13.01.2017
    10.03.2017
    19.05.2017
    6
    **16-Jan **04-May **05-Jun
    Tue
    03-Jan
    22:00
    16.01.2017
    04.05.2017
    05.06.2017
    7
    **21-Feb **30-Jun **17-Aug
    Wed
    04-Jan
    22:00
    21.02.2017
    30.06.2017
    17.08.2017
    8
    **22-Feb **09-Nov **04-Sep
    Thu
    05-Jan
    22:00
    22.02.2017
    09.11.2017
    04.09.2017
    9
    **24-Mar Grand Total **25-Sep
    Fri
    06-Jan
    22:00
    24.03.2017
    25.09.2017
    10
    **19-Apr **26-Sep
    Sat
    07-Jan OFF
    19.04.2017
    26.09.2017
    11
    **29-May **02-Nov
    Sun
    08-Jan OFF
    29.05.2017
    02.11.2017
    12
    **22-Jun Grand Total
    Mon
    09-Jan
    22:00
    22.06.2017
    13
    **03-Jul
    Tue
    10-Jan
    22:00
    03.07.2017
    14
    **04-Jul
    Wed
    11-Jan
    22:00
    04.07.2017
    15
    **05-Jul
    Thu
    12-Jan
    22:00
    05.07.2017
    16
    **06-Jul
    Fri
    13-Jan VL
    06.07.2017
    17
    **07-Jul
    Sat
    14-Jan OFF
    07.07.2017
    18
    **23-Nov
    Sun
    15-Jan OFF
    23.11.2017
    19
    **24-Nov
    Mon
    16-Jan VL
    24.11.2017
    20
    Grand Total
    Tue
    17-Jan
    22:00
    21
    Wed
    18-Jan
    22:00
    22
    Thu
    19-Jan
    22:00
    23
    Fri
    20-Jan
    22:00
    24
    Sat
    21-Jan OFF
    25
    Sun
    22-Jan OFF
    26
    Mon
    23-Jan
    22:00
    27
    Tue
    24-Jan
    22:00
    28
    Wed
    25-Jan
    22:00
    29
    Thu
    26-Jan
    22:00
    30
    Fri
    27-Jan
    22:00
    31
    Sat
    28-Jan OFF
    32
    Sun
    29-Jan OFF
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,557

    Re: Arrange data without using pivot table

    In A3, copied across and down:

    =IFERROR(INDEX($J:$J,SMALL(IF($K$4:$K$368=A$2,ROW($K$4:$K$368)),ROWS(A$2:A2))),"")

    This is an array formula. Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-24-2017
    Location
    xxxx
    MS-Off Ver
    2007
    Posts
    13

    Re: Arrange data without using pivot table

    Appreciate the assistance on this.. this is what I'm looking for..

  8. #8
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Arrange data without using pivot table

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this 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)

Similar Threads

  1. How to arrange Data thanks to a Pivot Table
    By Yomdi in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 02-04-2015, 02:43 PM
  2. A new table based on PIVOT: filter & re-arrange the data
    By Ksenia in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-03-2014, 01:58 AM
  3. Replies: 6
    Last Post: 08-16-2013, 05:34 PM
  4. Arrange Data on Pivot table in Ascending order
    By Excel Dumbo in forum Excel General
    Replies: 1
    Last Post: 07-19-2012, 08:53 PM
  5. [SOLVED] Re-arrange a worksheet range to a pivot-friendly table?
    By Alabaster in forum Excel General
    Replies: 4
    Last Post: 12-01-2011, 09:19 AM
  6. Macro To Re-arrange Auto report from Pivot Table
    By tariqnaz2005 in forum Excel General
    Replies: 4
    Last Post: 12-14-2009, 09:53 AM
  7. [SOLVED] How do i arrange the data to create a pivot table?
    By mr1176 in forum Excel General
    Replies: 1
    Last Post: 01-29-2006, 01:35 AM

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