Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Excel Easy Formula help

Posted on 2014-11-20
3
Medium Priority
?
112 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
krishnakrkc earned 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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,…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

722 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