Subtracting sumed figures from the YR before

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Lookup Formula Needed 2
Excel Complex Summing 3
Payback analysis using array SHIFT-CNTRL-ENTER 1
Sum columns dynamically 1
If then request 1
MS Query 1
Stock control question 4
LOOKUPS USING 2 SETS OF DATA 5

Back
Top