Month, but not as serial + sort

Egg 'n' Bacon
5StarLounger
Posts: 736
Joined: 18 Mar 2010, 11:05

Month, but not as serial + sort

Post by Egg 'n' Bacon »

Hi, I've been asked to produce a pivot chart(in 2007) that has the title; "Supplier Performance Month Year" (with the month and year supplied form data) eg "Supplier Performance May 2010"

I've currently got;
=IF(A6="","","Supplier Perfomance " & MONTH(A6) & " " & YEAR(A6))
but of course, this gives the month serial, not the word of the month.

Secondly (this has been SO long since I played with pivots), how to sort the data according to result, i.e. lowest scores first
Last edited by Egg 'n' Bacon on 25 May 2010, 09:32, edited 1 time in total.

User avatar
HansV
Administrator
Posts: 78545
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Month, but not as serial + sort

Post by HansV »

You can use the TEXT function to get the month name:

=IF(A6="","","Supplier Perfomance " & TEXT(A6,"mmmm") & " " & YEAR(A6))

or use the TEXT function to get both month name and year:

=IF(A6="","","Supplier Perfomance " & TEXT(A6,"mmmm yyyy"))
Best wishes,
Hans

User avatar
HansV
Administrator
Posts: 78545
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Month, but not as serial + sort

Post by HansV »

BTW, shouldn't it be "Performance" instead of "Perfomance" in the formula?
Best wishes,
Hans

Egg 'n' Bacon
5StarLounger
Posts: 736
Joined: 18 Mar 2010, 11:05

Re: Month, but not as serial + sort

Post by Egg 'n' Bacon »

:cheers: Hans, just what I was after

I thought I had figured the sort, but no. Is there a setting to sort the results on refresh?

Egg 'n' Bacon
5StarLounger
Posts: 736
Joined: 18 Mar 2010, 11:05

Re: Month, but not as serial + sort

Post by Egg 'n' Bacon »

HansV wrote:BTW, shouldn't it be "Performance" instead of "Perfomance" in the formula?
:blush:

As one of our girls says; Ive got silly fingers today. Doh!

User avatar
HansV
Administrator
Posts: 78545
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Month, but not as serial + sort

Post by HansV »

Egg 'n' Bacon wrote:Is there a setting to sort the results on refresh?
Click in any cell of the data area.
Click the Sort button in the ribbon.
Best wishes,
Hans

Egg 'n' Bacon
5StarLounger
Posts: 736
Joined: 18 Mar 2010, 11:05

Re: Month, but not as serial + sort

Post by Egg 'n' Bacon »

Ah, I thought I remembered something in the pivot settings.

Ho hum