PC Review


Reply
Thread Tools Rate Thread

Compare one year to another, but just YTD

 
 
M.Siler
Guest
Posts: n/a
 
      1st Aug 2006
Let's see if I can explain this. I have two sheets, the first sheet is
labeled 2005 and the second one is 2006. In A1 thru A12 on both sheets is
Jan, Feb, Mar, etc. On 2005 B1 thru B12 we have monthly values. On 2006 B1
thru B7 (as we are just now going into Aug.) we have monthly values. In B13
on both sheets are totals. The problem is I can't compare on year to the
next as the total on the 2005 sheet is for the full year. I'd like to add
Label in A14 that says 2005 YTD and have a formula in B14 that looks at how
many cells in the range B1 thru B12 on 2006 have values then sum that same
number of cells from the B column on sheet 2005. This way I'd be able to
compare 2006's YTD with the same YTD of 2005.


 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      1st Aug 2006
=SUM(OFFSET('2005'!$B$1,,,COUNT('2006'!$B$1:$B$12),1))

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"M.Siler" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> Let's see if I can explain this. I have two sheets, the first sheet is
> labeled 2005 and the second one is 2006. In A1 thru A12 on both sheets is
> Jan, Feb, Mar, etc. On 2005 B1 thru B12 we have monthly values. On 2006

B1
> thru B7 (as we are just now going into Aug.) we have monthly values. In

B13
> on both sheets are totals. The problem is I can't compare on year to the
> next as the total on the 2005 sheet is for the full year. I'd like to add
> Label in A14 that says 2005 YTD and have a formula in B14 that looks at

how
> many cells in the range B1 thru B12 on 2006 have values then sum that same
> number of cells from the B column on sheet 2005. This way I'd be able to
> compare 2006's YTD with the same YTD of 2005.
>
>



 
Reply With Quote
 
M.Siler
Guest
Posts: n/a
 
      1st Aug 2006
I had to modify it to
=SUM(OFFSET('2005'!$B$1,,,COUNT('2006'!$B$1:$B$12)+1,1)) as it was off my
one month. I don't totally understand the fomula, but I'm looking at it now.


"Bob Phillips" <(E-Mail Removed)> wrote in message
news:u$(E-Mail Removed)...
> =SUM(OFFSET('2005'!$B$1,,,COUNT('2006'!$B$1:$B$12),1))
>
> --
>
> HTH
>
> Bob Phillips
>
> (replace xxxx in the email address with gmail if mailing direct)
>
> "M.Siler" <(E-Mail Removed)> wrote in message
> news:#(E-Mail Removed)...
>> Let's see if I can explain this. I have two sheets, the first sheet is
>> labeled 2005 and the second one is 2006. In A1 thru A12 on both sheets
>> is
>> Jan, Feb, Mar, etc. On 2005 B1 thru B12 we have monthly values. On 2006

> B1
>> thru B7 (as we are just now going into Aug.) we have monthly values. In

> B13
>> on both sheets are totals. The problem is I can't compare on year to the
>> next as the total on the 2005 sheet is for the full year. I'd like to add
>> Label in A14 that says 2005 YTD and have a formula in B14 that looks at

> how
>> many cells in the range B1 thru B12 on 2006 have values then sum that
>> same
>> number of cells from the B column on sheet 2005. This way I'd be able to
>> compare 2006's YTD with the same YTD of 2005.
>>
>>

>
>



 
Reply With Quote
 
M.Siler
Guest
Posts: n/a
 
      1st Aug 2006
I modified the formula to I could copy it to other columns

=SUM(OFFSET('2005'!B$1,,,COUNT('2006'!B$1:B$12)+1,1)) This worked
=SUM(OFFSET('2005'!C$1,,,COUNT('2006'!C$1:C$12)+1,1)) This did not I had to
remove the +1 so it looks like this
=SUM(OFFSET('2005'!C$1,,,COUNT('2006'!C$1:C$12),1)) What am I missing?? I
need to copy this to the right for columns B thru K

"M.Siler" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I had to modify it to
>=SUM(OFFSET('2005'!$B$1,,,COUNT('2006'!$B$1:$B$12)+1,1)) as it was off my
>one month. I don't totally understand the fomula, but I'm looking at it
>now.
>
>
> "Bob Phillips" <(E-Mail Removed)> wrote in message
> news:u$(E-Mail Removed)...
>> =SUM(OFFSET('2005'!$B$1,,,COUNT('2006'!$B$1:$B$12),1))
>>
>> --
>>
>> HTH
>>
>> Bob Phillips
>>
>> (replace xxxx in the email address with gmail if mailing direct)
>>
>> "M.Siler" <(E-Mail Removed)> wrote in message
>> news:#(E-Mail Removed)...
>>> Let's see if I can explain this. I have two sheets, the first sheet is
>>> labeled 2005 and the second one is 2006. In A1 thru A12 on both sheets
>>> is
>>> Jan, Feb, Mar, etc. On 2005 B1 thru B12 we have monthly values. On 2006

>> B1
>>> thru B7 (as we are just now going into Aug.) we have monthly values. In

>> B13
>>> on both sheets are totals. The problem is I can't compare on year to the
>>> next as the total on the 2005 sheet is for the full year. I'd like to
>>> add
>>> Label in A14 that says 2005 YTD and have a formula in B14 that looks at

>> how
>>> many cells in the range B1 thru B12 on 2006 have values then sum that
>>> same
>>> number of cells from the B column on sheet 2005. This way I'd be able to
>>> compare 2006's YTD with the same YTD of 2005.
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
M.Siler
Guest
Posts: n/a
 
      1st Aug 2006
Sorry... nothing wrong with the orginal formula... one of the numbers was
entered wrong so excel treated it as text and that messed up the formula.

Thank you.

"M.Siler" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I had to modify it to
>=SUM(OFFSET('2005'!$B$1,,,COUNT('2006'!$B$1:$B$12)+1,1)) as it was off my
>one month. I don't totally understand the fomula, but I'm looking at it
>now.
>
>
> "Bob Phillips" <(E-Mail Removed)> wrote in message
> news:u$(E-Mail Removed)...
>> =SUM(OFFSET('2005'!$B$1,,,COUNT('2006'!$B$1:$B$12),1))
>>
>> --
>>
>> HTH
>>
>> Bob Phillips
>>
>> (replace xxxx in the email address with gmail if mailing direct)
>>
>> "M.Siler" <(E-Mail Removed)> wrote in message
>> news:#(E-Mail Removed)...
>>> Let's see if I can explain this. I have two sheets, the first sheet is
>>> labeled 2005 and the second one is 2006. In A1 thru A12 on both sheets
>>> is
>>> Jan, Feb, Mar, etc. On 2005 B1 thru B12 we have monthly values. On 2006

>> B1
>>> thru B7 (as we are just now going into Aug.) we have monthly values. In

>> B13
>>> on both sheets are totals. The problem is I can't compare on year to the
>>> next as the total on the 2005 sheet is for the full year. I'd like to
>>> add
>>> Label in A14 that says 2005 YTD and have a formula in B14 that looks at

>> how
>>> many cells in the range B1 thru B12 on 2006 have values then sum that
>>> same
>>> number of cells from the B column on sheet 2005. This way I'd be able to
>>> compare 2006's YTD with the same YTD of 2005.
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      1st Aug 2006
I just sat back and sent hints across the ether <bg>

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"M.Siler" <(E-Mail Removed)> wrote in message
news:O#(E-Mail Removed)...
> Sorry... nothing wrong with the orginal formula... one of the numbers was
> entered wrong so excel treated it as text and that messed up the formula.
>
> Thank you.
>
> "M.Siler" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >I had to modify it to
> >=SUM(OFFSET('2005'!$B$1,,,COUNT('2006'!$B$1:$B$12)+1,1)) as it was off my
> >one month. I don't totally understand the fomula, but I'm looking at it
> >now.
> >
> >
> > "Bob Phillips" <(E-Mail Removed)> wrote in message
> > news:u$(E-Mail Removed)...
> >> =SUM(OFFSET('2005'!$B$1,,,COUNT('2006'!$B$1:$B$12),1))
> >>
> >> --
> >>
> >> HTH
> >>
> >> Bob Phillips
> >>
> >> (replace xxxx in the email address with gmail if mailing direct)
> >>
> >> "M.Siler" <(E-Mail Removed)> wrote in message
> >> news:#(E-Mail Removed)...
> >>> Let's see if I can explain this. I have two sheets, the first sheet is
> >>> labeled 2005 and the second one is 2006. In A1 thru A12 on both

sheets
> >>> is
> >>> Jan, Feb, Mar, etc. On 2005 B1 thru B12 we have monthly values. On

2006
> >> B1
> >>> thru B7 (as we are just now going into Aug.) we have monthly values.

In
> >> B13
> >>> on both sheets are totals. The problem is I can't compare on year to

the
> >>> next as the total on the 2005 sheet is for the full year. I'd like to
> >>> add
> >>> Label in A14 that says 2005 YTD and have a formula in B14 that looks

at
> >> how
> >>> many cells in the range B1 thru B12 on 2006 have values then sum that
> >>> same
> >>> number of cells from the B column on sheet 2005. This way I'd be able

to
> >>> compare 2006's YTD with the same YTD of 2005.
> >>>
> >>>
> >>
> >>

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare 1st qtr this year to 4th qtr last year diaare Microsoft Access Reports 13 7th Feb 2008 10:00 PM
compare this year to last year =?Utf-8?B?TWFlIFdlc3Q=?= Microsoft Access Queries 2 3rd Nov 2007 06:48 PM
Pivot Table - Compare Current Year Sales To Previous Year Sales =?Utf-8?B?Qm9iQUpvbmVz?= Microsoft Excel Discussion 0 18th Apr 2006 07:03 AM
How to compare current year to prior year in bar chart? =?Utf-8?B?c3Vic3RyaW5n?= Microsoft Excel Charting 4 12th May 2005 07:04 PM
Weeknum Year by Year Compare =?Utf-8?B?UkpC?= Microsoft Excel Charting 4 29th Dec 2004 10:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:38 PM.