Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 116
  • Last Modified:

Excel Easy Formula help

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
Flora
Asked:
Flora
  • 2
1 Solution
 
krishnakrkcCommented:
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
 
FloraAuthor Commented:
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
 
FloraAuthor Commented:
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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now