+ Reply to Thread
Results 1 to 2 of 2

data pivoting

  1. #1
    Registered User
    Join Date
    06-20-2018
    Location
    Utah
    MS-Off Ver
    2013
    Posts
    2

    data pivoting

    Apologies if this is in wrong section.

    I need some pivoting help, not necessarily a pivot table though. Columns A-C are what I currently have, and the other columns are what id like it to look like. (in this case, it has employee ids, sales, and what year they did those sales). Any formula suggestions are helpful.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,991

    Re: data pivoting

    F2=IFERROR(INDEX($A$2:$A$100,SMALL(IF(FREQUENCY(IF($A$2:$A$100<>"",MATCH($A$2:$A$100,$A$2:$A$100,0)),ROW($A$2:$A$100)-ROW($A$2)+1),ROW($A$2:$A$100)-ROW($A$2)+1),ROWS($A$2:A2))),"")


    Control+shift+enter

    copy down


    G1=IFERROR("Year"&" "&INDEX($C$2:$C$100,SMALL(IF(FREQUENCY(IF($C$2:$C$100<>"",MATCH($C$2:$C$100,$C$2:$C$100,0)),ROW($C$2:$C$100)-ROW($C$2)+1),ROW($C$2:$C$100)-ROW($C$2)+1),COLUMNS($G$1:G1))),"")

    Control+shift+enter

    copy across



    G2=IF(AND(G$1<>"",$F2<>""),SUMIFS($B$2:$B$100,$A$2:$A$100,$F2,$C$2:$C$100,TRIM(SUBSTITUTE(G$1,"Year","")+0)),"")


    Copy across and down
    Attached Files Attached Files
    Last edited by CARACALLA; 10-30-2020 at 06:43 PM.

+ 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: 9
    Last Post: 10-17-2019, 07:45 AM
  2. Pivoting data
    By dbwhite64 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-20-2018, 02:39 PM
  3. New to Excel: Pivoting alpha data
    By Susan W in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-09-2016, 09:36 AM
  4. Replies: 3
    Last Post: 01-07-2014, 06:13 AM
  5. Rotate charts without pivoting the data
    By SNLGomes in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-23-2012, 04:56 AM
  6. run-time error 5 in the macro for pivoting the sheet data
    By kunwar.singh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2012, 04:22 AM
  7. Replies: 1
    Last Post: 02-27-2009, 03:18 PM

Tags for this Thread

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