+ Reply to Thread
Results 1 to 7 of 7

Help without a pivot table

  1. #1
    Registered User
    Join Date
    03-23-2013
    Location
    egypt
    MS-Off Ver
    Excel 2007
    Posts
    30

    Help without a pivot table

    Hi Gents,

    Please help me in this issue, I need to make a report for a specific date, As per the attached, I need to type the date @ B22 and all data for that date start to appear at A27 and continue at the following cells, please help me but I don't want a pivot table.
    Attached Files Attached Files

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Help without a pivot table

    You can create advance data filter to view the desired output and reuse that filter again with help of a macro attached to a shape.

    Please find the attached sheet.

    Hope it helps.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: Help without a pivot table

    Here is a vba solution
    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Help without a pivot table

    Moreover if you are interested to get this done with the help of a formula, here is the formula......

    Please Login or Register  to view this content.
    Then drag this formula to right and down to get the desired output.
    Please find the attached sheet.
    Attached Files Attached Files
    Last edited by sktneer; 10-25-2013 at 11:17 PM.

  5. #5
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Help without a pivot table

    See if this works (using sample provided)
    in A27:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag down as far as needed (I would probably go a 100 or 1000 rows to be safe)
    in B27:
    =IFERROR(INDEX($B$1:$B$17,SUMPRODUCT(LARGE(($A$1:$A$17=$B$22)*ROW($B$1:$B$17),ROWS($1:1)))),"")
    fill down as far as previous formula
    (NOTE- This puts it in the reverse order of the appearance in the table, but is faster than trying to match appearance order, if appearance order is needed, I will adjust it to that )
    in C27:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Again extend down as far as A column formula goes

    see Attached

    Hope this helps
    Attached Files Attached Files
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  6. #6
    Registered User
    Join Date
    03-23-2013
    Location
    egypt
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Help without a pivot table

    Thank you all for your help,

    sktneer

    your two solutions are amazing, could you please explain them both

  7. #7
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Help without a pivot table

    Glad to help you. Please correct one error in the formula I mentioned above......

    Change reference within index part from INDEX(A2:A17, To INDEX(A$2:A$17,
    Rest part of the formula will remain same.

    In your sample book you have very small data set so probably you will not notice an error. But if you have a large data set, you will notice some error. So change the formula as suggested so that it will work on any size of data set.

+ 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. Identify table, Get Pivot, Copy the pivot table to new consolidated Sheet
    By akhileshgs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-27-2013, 04:09 AM
  2. Collapse/Expand - Pivot table Fields - Need equivalent option in Excel VBA Pivot table
    By ragavendraph in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2012, 03:00 PM
  3. Replies: 1
    Last Post: 06-22-2010, 09:10 AM
  4. Replies: 1
    Last Post: 06-20-2010, 04:00 AM
  5. Return pivot table range...not the data table, the PIVOT TABLE!
    By Air_Cooled_Nut in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2008, 01:07 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