+ Reply to Thread
Results 1 to 7 of 7

1 Cell to Formulate Cumulative Total Excluding Top & Bottom 10%

  1. #1
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    1 Cell to Formulate Cumulative Total Excluding Top & Bottom 10%

    hey guys, i have described my question inside the attachment. basically, i hope to achieve the same result as the cell highlighted in blue without using helper columns. thanks~
    Attached Files Attached Files

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  2. #2
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: 1 Cell to Formulate Cumulative Total Excluding Top & Bottom 10%

    =sumproduct(b4:b17,c4:c17)

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: 1 Cell to Formulate Cumulative Total Excluding Top & Bottom 10%

    hi Kevin, thanks for the reply. that would mean i have to eyeball which cells to exclude. the formula i want needs to exclude the yellow cells on its own

  4. #4
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: 1 Cell to Formulate Cumulative Total Excluding Top & Bottom 10%

    Hi benishiryo
    I read your specs after! sorry

  5. #5
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: 1 Cell to Formulate Cumulative Total Excluding Top & Bottom 10%

    no worries~ =)
    dont even know if this is possible

  6. #6
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: 1 Cell to Formulate Cumulative Total Excluding Top & Bottom 10%

    *bump*

    if i do have to use a macro, can i create a Function out of it? again, just using 1 cell to formulate without helper columns

  7. #7
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: 1 Cell to Formulate Cumulative Total Excluding Top & Bottom 10%

    Hello benishiryo,

    Give this a try.

    =SUMPRODUCT((SUBTOTAL(9,OFFSET(C2,,,ROW(C2:C20)-ROW(C2)+1))>C23)*(C22-SUBTOTAL(9,OFFSET(C2,,,ROW(C2:C20)-ROW(C2)+1))+C2:C20>C23),B2:B20,C2:C20)

    Or a little shorter with just 1 OFFSET.

    =SUMPRODUCT((MMULT(((C22*{0,1})-(SUBTOTAL(9,OFFSET(C2,,,ROW(C2:C20)-ROW(C2)+1))*{-1,1})+(C2:C20*{0,1})>C23)+0,{1;1})=2)+0,B2:B20,C2:C20)
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  8. #8
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: 1 Cell to Formulate Cumulative Total Excluding Top & Bottom 10%

    thanks again Haseeb. you're really awesome. couldnt up you twice in a row. will do it another time
    =)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1