Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 231
Default Subtracting sumed figures from the YR before

I have this whole spreadsheet which i had to subtracted sum of YEAR 2 figures
from sum of YEAR 1 in the corresponding period.

For example:
Pdt 1 Result = (Year 2 M3+M2)-(Year 1 M3+M2)
Pdt 2 Result = (Year 2 M3)-(Year 1 M3)


YEAR 2 YEAR 1
M3 M2 M1 M3 M2 M1

PDT 1 200 200 400 400 400

PDT 2 400 500 500 500
PDT 3 100 100 100 200

PDT 4 500 500 200 200 200
PDT 5 100 100 100 100


Is there anyway i can do this effectively?


--
sarah
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default Subtracting sumed figures from the YR before

Assuming PDT1 is in B2:D2, PDT2 is in F2:H2. Then, in J2 you can put
your figure for PDT1:

=SUMPRODUCT((B2:D2<"")*(F2:H2<"")*(B2:D2-F2:H2))

HTH
Kostis Vezerides

sarah wrote:
I have this whole spreadsheet which i had to subtracted sum of YEAR 2 figures
from sum of YEAR 1 in the corresponding period.

For example:
Pdt 1 Result = (Year 2 M3+M2)-(Year 1 M3+M2)
Pdt 2 Result = (Year 2 M3)-(Year 1 M3)


YEAR 2 YEAR 1
M3 M2 M1 M3 M2 M1

PDT 1 200 200 400 400 400

PDT 2 400 500 500 500
PDT 3 100 100 100 200

PDT 4 500 500 200 200 200
PDT 5 100 100 100 100


Is there anyway i can do this effectively?


--
sarah


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
Subtracting JS Excel Worksheet Functions 2 March 9th 07 10:49 PM
Subtracting JS Excel Worksheet Functions 1 March 9th 07 06:48 PM
Subtracting petrino Charts and Charting in Excel 2 January 9th 07 09:56 AM
add figures to existing figures in excel Barkster Excel Worksheet Functions 0 June 21st 06 02:54 PM
Changing positive figures to minus figures Louise Excel Worksheet Functions 2 September 14th 05 10:05 AM


All times are GMT +1. The time now is 09:48 PM.

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

About Us

"It's about Microsoft Excel"