Solved

Excel Easy Formula help

Posted on 2014-11-20
3
106 Views
Last Modified: 2014-11-20
Hello EXCELERS!

I need help with simple formula in the attached workbook ,

previously I got help with the similar formula http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28566529.html#a40455591 

this time, I want it to consider the product and the sequence as well. so the dynamic sum aggregated total should be based on the rank of sequence from smaller to greater. please see the example and then you will know what is needed.

thank you very much.
EE.xlsx
0
Comment
Question by:Flora
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
krishnakrkc earned 500 total points
ID: 40456583
With the help of a helper column.

In E5:

=COUNTIFS($A$5:$A$22,A5,$B$5:$B$22,"<"&B5)+1

In F5:

=SUMIFS($C$5:$C$22,$A$5:$A$22,A5,$E$5:$E$22,"<="&E5)

Copy down the formulas.

Kris
0
 
LVL 6

Author Comment

by:Flora
ID: 40456586
Thank you Kris.

but the formula did not work.  in E5 it gave me 1 and continuously in other rows as well same 1 and then in F5 copied down duplicated sum.  did not work. perhaps there is glitch in formula?
0
 
LVL 6

Author Closing Comment

by:Flora
ID: 40456599
Thanks a lot Kris.  =SUMIFS($C$5:$C$22,$A$5:$A$22,A5,$E$5:$E$22,"<="&E5)  worked without any helped column

I changed the E column to B.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question