Solved

excel pivot columns to cross years

Posted on 2014-03-22
2
209 Views
Last Modified: 2014-03-28
I have an excel table with an invoice date field. I would like to format this field or another using this field in a MMYY format. The purpose being to create a slicer for columns of data to cross years. example: select 1112; 1212; 0113; 0213 would create a pivot with cumulated data with 4 columns spanning 1112 to 0213. Is this possible?
0
Comment
Question by:actsoft
2 Comments
 
LVL 13

Accepted Solution

by:
usachrisk1983 earned 500 total points
ID: 39948057
If it's in date format in the cell, you can create a second column that has the formula:

=Year(A1) & "-" & Month(A1)

Open in new window


You can pull out the "-" if you don't want the hyphen there, and you'll want to replace A1 with the cell you're trying to reformat.
0
 

Author Closing Comment

by:actsoft
ID: 39961201
Thanks, I was trying to make it much more complicated than necessary.
0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
Viewers will learn a basic data manipulation technique of unpivoting data in Power Query for Excel 2013 and the importance of using good data. Start with data in a poor structure: Create a table on your data: Unpivot columns: Rename columns: …
Viewers will learn how to share Excel data with others from desktop Excel, as well as Excel Online via OneDrive, and embed an Excel file on a website.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question