Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-20-2008, 09:35 PM
iamnu
 
Posts: n/a
Correctly Identify Seasons

I have a spread sheet that has daily weather information.

I have a column "Seasons" that specifies if the date is "Summer",
"Fall", "Winter" or "Spring".

Since Winter begins on ~December 21 and ends on ~March 21, my Pivot
Table is showing the wrong information for "Winter", because it is not
using December values from the previous year.

Can someone give me a suggestion as to how to "fix" my spreadsheet to
properly display the "Seasons" information in a pivot table?
Reply With Quote
  #2 (permalink)  
Old 07-21-2008, 03:39 AM
T. Valko
 
Posts: n/a
Re: Correctly Identify Seasons

Are you using constant dates for the seasons? The seasonal dates aren't the
same every year.

Spring can be either March 20 or 21
Summer can be either June 20 or 21
Fall can be either September 22 or 23
Winter can be either December 21 or 22

Are your dates all within the same year?

--
Biff
Microsoft Excel MVP


"iamnu" <iamnubw@gmail.com> wrote in message
news:d8d7c9a7-07e4-48c7-b24c-e6c45c5876ad@k36g2000pri.googlegroups.com...
>I have a spread sheet that has daily weather information.
>
> I have a column "Seasons" that specifies if the date is "Summer",
> "Fall", "Winter" or "Spring".
>
> Since Winter begins on ~December 21 and ends on ~March 21, my Pivot
> Table is showing the wrong information for "Winter", because it is not
> using December values from the previous year.
>
> Can someone give me a suggestion as to how to "fix" my spreadsheet to
> properly display the "Seasons" information in a pivot table?



Reply With Quote
  #3 (permalink)  
Old 07-21-2008, 09:45 AM
iamnu
 
Posts: n/a
Re: Correctly Identify Seasons

On Jul 20, 9:39*pm, "T. Valko" <biffinp...@comcast.net> wrote:
> Are you using constant dates for the seasons? The seasonal dates aren't the
> same every year.
>
> Spring can be either March 20 or 21
> Summer can be either June 20 or 21
> Fall can be either September 22 or 23
> Winter can be either December 21 or 22
>
> Are your dates all within the same year?
>
> --
> Biff
> Microsoft Excel MVP
>
> "iamnu" <iamn...@gmail.com> wrote in message
>
> news:d8d7c9a7-07e4-48c7-b24c-e6c45c5876ad@k36g2000pri.googlegroups.com...
>
> >I have a spread sheet that has daily weather information.

>
> > I have a column "Seasons" that specifies if the date is "Summer",
> > "Fall", "Winter" or "Spring".

>
> > Since Winter begins on ~December 21 and ends on ~March 21, my Pivot
> > Table is showing the wrong information for "Winter", because it is not
> > using December values from the previous year.

>
> > Can someone give me a suggestion as to how to "fix" my spreadsheet to
> > properly display the "Seasons" information in a pivot table?


I thought it would be sufficient to indicate the dates were
approximate. That is not the issue.
The issue is displaying the dates in the pivot table, which would
require displaying dates from ~December 21 to December 31 of the
previous year, and January 1 to ~March 21 of the subsequent year.
How is this done?

Reply With Quote
  #4 (permalink)  
Old 07-21-2008, 12:44 PM
Bernard Liengme
 
Posts: n/a
Re: Correctly Identify Seasons

I would use a 'helper' column.
On Sheet2 I have in A1:A5 the numbers: 1,80,172,266 and 356
In B1:B5, I have text: Winter, Spring, Summer, Fall, Winter
On Sheet1 my dates for the pivot table are in column A
In my helper column I have:
=VLOOKUP(DATE(1900,MONTH(A1),DAY(A1)),Sheet2!$A$1: $B$5,2)
This gives me the season
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"iamnu" <iamnubw@gmail.com> wrote in message
news:361baa2c-fea3-495a-b5a7-a6ee3eb9f201@u6g2000prc.googlegroups.com...
On Jul 20, 9:39 pm, "T. Valko" <biffinp...@comcast.net> wrote:
> Are you using constant dates for the seasons? The seasonal dates aren't
> the
> same every year.
>
> Spring can be either March 20 or 21
> Summer can be either June 20 or 21
> Fall can be either September 22 or 23
> Winter can be either December 21 or 22
>
> Are your dates all within the same year?
>
> --
> Biff
> Microsoft Excel MVP
>
> "iamnu" <iamn...@gmail.com> wrote in message
>
> news:d8d7c9a7-07e4-48c7-b24c-e6c45c5876ad@k36g2000pri.googlegroups.com...
>
> >I have a spread sheet that has daily weather information.

>
> > I have a column "Seasons" that specifies if the date is "Summer",
> > "Fall", "Winter" or "Spring".

>
> > Since Winter begins on ~December 21 and ends on ~March 21, my Pivot
> > Table is showing the wrong information for "Winter", because it is not
> > using December values from the previous year.

>
> > Can someone give me a suggestion as to how to "fix" my spreadsheet to
> > properly display the "Seasons" information in a pivot table?


I thought it would be sufficient to indicate the dates were
approximate. That is not the issue.
The issue is displaying the dates in the pivot table, which would
require displaying dates from ~December 21 to December 31 of the
previous year, and January 1 to ~March 21 of the subsequent year.
How is this done?


Reply With Quote
  #5 (permalink)  
Old 07-21-2008, 12:57 PM
iamnu
 
Posts: n/a
Re: Correctly Identify Seasons

On Jul 21, 6:44*am, "Bernard Liengme" <blien...@stfx.TRUENORTH.ca>
wrote:
> I would use a 'helper' column.
> On Sheet2 I have in A1:A5 the numbers: 1,80,172,266 and 356
> In B1:B5, I have text: Winter, Spring, Summer, Fall, Winter
> On Sheet1 my dates for the pivot table are in column A
> In my helper column I have:
> =VLOOKUP(DATE(1900,MONTH(A1),DAY(A1)),Sheet2!$A$1: $B$5,2)
> This gives me the season
> best wishes
> --
> Bernard V Liengme
> Microsoft Excel MVPhttp://people.stfx.ca/bliengme
> remove caps from email
>
> "iamnu" <iamn...@gmail.com> wrote in message
>
> news:361baa2c-fea3-495a-b5a7-a6ee3eb9f201@u6g2000prc.googlegroups.com...
> On Jul 20, 9:39 pm, "T. Valko" <biffinp...@comcast.net> wrote:
>
>
>
> > Are you using constant dates for the seasons? The seasonal dates aren't
> > the
> > same every year.

>
> > Spring can be either March 20 or 21
> > Summer can be either June 20 or 21
> > Fall can be either September 22 or 23
> > Winter can be either December 21 or 22

>
> > Are your dates all within the same year?

>
> > --
> > Biff
> > Microsoft Excel MVP

>
> > "iamnu" <iamn...@gmail.com> wrote in message

>
> >news:d8d7c9a7-07e4-48c7-b24c-e6c45c5876ad@k36g2000pri.googlegroups.com....

>
> > >I have a spread sheet that has daily weather information.

>
> > > I have a column "Seasons" that specifies if the date is "Summer",
> > > "Fall", "Winter" or "Spring".

>
> > > Since Winter begins on ~December 21 and ends on ~March 21, my Pivot
> > > Table is showing the wrong information for "Winter", because it is not
> > > using December values from the previous year.

>
> > > Can someone give me a suggestion as to how to "fix" my spreadsheet to
> > > properly display the "Seasons" information in a pivot table?

>
> I thought it would be sufficient to indicate the dates were
> approximate. *That is not the issue.
> The issue is displaying the dates in the pivot table, which would
> require displaying dates from ~December 21 to December 31 of the
> previous year, and January 1 to ~March 21 of the subsequent year.
> How is this done?


Excellent, Mr. Liengme!
I understand your suggestion.
Thanks very much.
Bernie
Reply With Quote
  #6 (permalink)  
Old 07-21-2008, 03:18 PM
iamnu
 
Posts: n/a
Re: Correctly Identify Seasons

On Jul 21, 6:57*am, iamnu <iamn...@gmail.com> wrote:
> On Jul 21, 6:44*am, "Bernard Liengme" <blien...@stfx.TRUENORTH.ca>
> wrote:
>
>
>
> > I would use a 'helper' column.
> > On Sheet2 I have in A1:A5 the numbers: 1,80,172,266 and 356
> > In B1:B5, I have text: Winter, Spring, Summer, Fall, Winter
> > On Sheet1 my dates for the pivot table are in column A
> > In my helper column I have:
> > =VLOOKUP(DATE(1900,MONTH(A1),DAY(A1)),Sheet2!$A$1: $B$5,2)
> > This gives me the season
> > best wishes
> > --
> > Bernard V Liengme
> > Microsoft Excel MVPhttp://people.stfx.ca/bliengme
> > remove caps from email

>
> > "iamnu" <iamn...@gmail.com> wrote in message

>
> >news:361baa2c-fea3-495a-b5a7-a6ee3eb9f201@u6g2000prc.googlegroups.com...
> > On Jul 20, 9:39 pm, "T. Valko" <biffinp...@comcast.net> wrote:

>
> > > Are you using constant dates for the seasons? The seasonal dates aren't
> > > the
> > > same every year.

>
> > > Spring can be either March 20 or 21
> > > Summer can be either June 20 or 21
> > > Fall can be either September 22 or 23
> > > Winter can be either December 21 or 22

>
> > > Are your dates all within the same year?

>
> > > --
> > > Biff
> > > Microsoft Excel MVP

>
> > > "iamnu" <iamn...@gmail.com> wrote in message

>
> > >news:d8d7c9a7-07e4-48c7-b24c-e6c45c5876ad@k36g2000pri.googlegroups.com....

>
> > > >I have a spread sheet that has daily weather information.

>
> > > > I have a column "Seasons" that specifies if the date is "Summer",
> > > > "Fall", "Winter" or "Spring".

>
> > > > Since Winter begins on ~December 21 and ends on ~March 21, my Pivot
> > > > Table is showing the wrong information for "Winter", because it is not
> > > > using December values from the previous year.

>
> > > > Can someone give me a suggestion as to how to "fix" my spreadsheet to
> > > > properly display the "Seasons" information in a pivot table?

>
> > I thought it would be sufficient to indicate the dates were
> > approximate. *That is not the issue.
> > The issue is displaying the dates in the pivot table, which would
> > require displaying dates from ~December 21 to December 31 of the
> > previous year, and January 1 to ~March 21 of the subsequent year.
> > How is this done?

>
> Excellent, Mr. Liengme!
> I understand your suggestion.
> Thanks very much.
> Bernie


Well, I spoke too soon. Your suggestion does put the value Winter in
the column, but when looking at the Pivot Table, it still picks up the
values (Temperature for example) for a single year, not overlapping
years as is the case for Winter.
Do you have another suggestion?
Reply With Quote
  #7 (permalink)  
Old 07-21-2008, 03:40 PM
Bernard Liengme
 
Posts: n/a
Re: Correctly Identify Seasons

Not without seen the worksheet!
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"iamnu" <iamnubw@gmail.com> wrote in message
news:676b6599-f524-48ae-8a91-f931927e3679@l64g2000hse.googlegroups.com...
On Jul 21, 6:57 am, iamnu <iamn...@gmail.com> wrote:
> On Jul 21, 6:44 am, "Bernard Liengme" <blien...@stfx.TRUENORTH.ca>
> wrote:
>
>
>
> > I would use a 'helper' column.
> > On Sheet2 I have in A1:A5 the numbers: 1,80,172,266 and 356
> > In B1:B5, I have text: Winter, Spring, Summer, Fall, Winter
> > On Sheet1 my dates for the pivot table are in column A
> > In my helper column I have:
> > =VLOOKUP(DATE(1900,MONTH(A1),DAY(A1)),Sheet2!$A$1: $B$5,2)
> > This gives me the season
> > best wishes
> > --
> > Bernard V Liengme
> > Microsoft Excel MVPhttp://people.stfx.ca/bliengme
> > remove caps from email

>
> > "iamnu" <iamn...@gmail.com> wrote in message

>
> >news:361baa2c-fea3-495a-b5a7-a6ee3eb9f201@u6g2000prc.googlegroups.com...
> > On Jul 20, 9:39 pm, "T. Valko" <biffinp...@comcast.net> wrote:

>
> > > Are you using constant dates for the seasons? The seasonal dates
> > > aren't
> > > the
> > > same every year.

>
> > > Spring can be either March 20 or 21
> > > Summer can be either June 20 or 21
> > > Fall can be either September 22 or 23
> > > Winter can be either December 21 or 22

>
> > > Are your dates all within the same year?

>
> > > --
> > > Biff
> > > Microsoft Excel MVP

>
> > > "iamnu" <iamn...@gmail.com> wrote in message

>
> > >news:d8d7c9a7-07e4-48c7-b24c-e6c45c5876ad@k36g2000pri.googlegroups.com...

>
> > > >I have a spread sheet that has daily weather information.

>
> > > > I have a column "Seasons" that specifies if the date is "Summer",
> > > > "Fall", "Winter" or "Spring".

>
> > > > Since Winter begins on ~December 21 and ends on ~March 21, my Pivot
> > > > Table is showing the wrong information for "Winter", because it is
> > > > not
> > > > using December values from the previous year.

>
> > > > Can someone give me a suggestion as to how to "fix" my spreadsheet
> > > > to
> > > > properly display the "Seasons" information in a pivot table?

>
> > I thought it would be sufficient to indicate the dates were
> > approximate. That is not the issue.
> > The issue is displaying the dates in the pivot table, which would
> > require displaying dates from ~December 21 to December 31 of the
> > previous year, and January 1 to ~March 21 of the subsequent year.
> > How is this done?

>
> Excellent, Mr. Liengme!
> I understand your suggestion.
> Thanks very much.
> Bernie


Well, I spoke too soon. Your suggestion does put the value Winter in
the column, but when looking at the Pivot Table, it still picks up the
values (Temperature for example) for a single year, not overlapping
years as is the case for Winter.
Do you have another suggestion?


Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:31 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109