Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Variance Calculations

Hello,

Thanks in advance for the help. I have a worksheet that lists account names
in column A. In column B I have sales from January, column C is sales from
February, Column D is data from March€¦ all the way through to December.

I need help calculating variances on the months that double.

For example:
Jan $10
Feb $15 (no variance calculated)
March $15 (no variance calculated)
April $20 (the variance here would be $10 because April doubled January)
May $40 (the variance here would be $20 because May doubled April)
June $45 (no variance calculated)
July $10 (no variance calculated)
Aug $75 (no variance calculated €“ did not double high month)
Sep $135 (the variance here is $95, because it doubled May)
Oct $150 (no variance calculated)
Nov $250 (no variance calculated)
Dec $270 (the variance here is $135, because it doubled September)

I know this is complex but as I watch the board Im confident that someone
can help me.

Thanks
Jim

  #2   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Variance Calculations

And the final result should add all the variances together as a sum.




"Jim" wrote:

Hello,

Thanks in advance for the help. I have a worksheet that lists account names
in column A. In column B I have sales from January, column C is sales from
February, Column D is data from March€¦ all the way through to December.

I need help calculating variances on the months that double.

For example:
Jan $10
Feb $15 (no variance calculated)
March $15 (no variance calculated)
April $20 (the variance here would be $10 because April doubled January)
May $40 (the variance here would be $20 because May doubled April)
June $45 (no variance calculated)
July $10 (no variance calculated)
Aug $75 (no variance calculated €“ did not double high month)
Sep $135 (the variance here is $95, because it doubled May)
Oct $150 (no variance calculated)
Nov $250 (no variance calculated)
Dec $270 (the variance here is $135, because it doubled September)

I know this is complex but as I watch the board Im confident that someone
can help me.

Thanks
Jim

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 905
Default Variance Calculations

"Jim" wrote previously:
In column B I have sales from January, column C
is sales from February, Column D is data from March€¦
all the way through to December.
I need help calculating variances on the months that double.


If the B2:M2 contains the Jan-Dec sales figures, and you want to compute the
"variances" (differences) in C2:M2, if any is applicable according to your
rules, then one way to do this is....

Put zero into C2. If you want to hide the zero, use the Custom format
General;-General; (with both semicolons). Then put the following formula
into C3 and copy across through M3:

=IF(C2=2*INDEX($B$2:$M$2,MATCH(9E+307,$B$3:B3)),
C2-INDEX($B$2:$M$2,MATCH(9E+307,$B$3:B3)), "")

How it works.... The MATCH expression returns the index of the last column
in row 3 with a number ("variance"); the INDEX expression returns the
corresponding number (sales) in row 2.


"Jim" wrote:
And the final result should add all the variances
together as a sum.


=SUM(C3:M3)


----- original message -----

"Jim" wrote:
And the final result should add all the variances together as a sum.




"Jim" wrote:

Hello,

Thanks in advance for the help. I have a worksheet that lists account names
in column A. In column B I have sales from January, column C is sales from
February, Column D is data from March€¦ all the way through to December.

I need help calculating variances on the months that double.

For example:
Jan $10
Feb $15 (no variance calculated)
March $15 (no variance calculated)
April $20 (the variance here would be $10 because April doubled January)
May $40 (the variance here would be $20 because May doubled April)
June $45 (no variance calculated)
July $10 (no variance calculated)
Aug $75 (no variance calculated €“ did not double high month)
Sep $135 (the variance here is $95, because it doubled May)
Oct $150 (no variance calculated)
Nov $250 (no variance calculated)
Dec $270 (the variance here is $135, because it doubled September)

I know this is complex but as I watch the board Im confident that someone
can help me.

Thanks
Jim

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
% Variance Abdul[_2_] Excel Worksheet Functions 3 November 9th 09 06:25 AM
Variance FreddieP Excel Discussion (Misc queries) 5 September 28th 06 01:41 PM
variance % karibug Excel Worksheet Functions 5 June 14th 06 10:54 PM
Pivot Tables - Variance and Variance % PJS Excel Discussion (Misc queries) 2 January 18th 06 03:12 AM
Pivot Tables - Variance and % Variance fields CraigS Excel Discussion (Misc queries) 5 January 6th 05 12:22 AM


All times are GMT +1. The time now is 06:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"