+ Reply to Thread
Results 1 to 12 of 12

DSUM formula

Hybrid View

  1. #1
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    V10
    Posts
    63

    DSUM formula

    Need to DSUM Cell K33 and P44, to reflect the change for the filtered/unfiltered table, with an IF function
    Last edited by PistolPete7; 05-12-2016 at 12:21 AM.

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Advanced Filtering requirements

    Hi
    Use in column
    [Job Role] [Yearly Salary]
    Business Analyst >=115000 (same line)
    Administrative Officer <=65000 (in other line)

    Do Advanced filter
    Is that you want?

  3. #3
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    V10
    Posts
    63

    Re: Advanced Filtering requirements

    Quote Originally Posted by José Augusto View Post
    Hi
    Use in column
    [Job Role] [Yearly Salary]
    Business Analyst >=115000 (same line)
    Administrative Officer <=65000 (in other line)

    Do Advanced filter
    Is that you want?
    Yeah that's prefect thanks

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Advanced Filtering requirements

    Hi
    You can then use in F21 and F23 the follwing formulas
    Formula: copy to clipboard
    =SUBTOTAL(9,$F$5:$F$17)
    =SUBTOTAL(101,$F$5:$F$17)


    Don't forget to mark this thread as SOLVED
    Regards

  5. #5
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Advanced Filtering requirements

    Hi
    You can then use in F21 and F23 the following formulas
    Formula: copy to clipboard
    =SUBTOTAL(9,$F$5:$F$17)
    =SUBTOTAL(101,$F$5:$F$17)


    Don't forget to mark this thread as SOLVED
    Regards

  6. #6
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    V10
    Posts
    63

    Re: Advanced Filtering requirements

    Quote Originally Posted by José Augusto View Post
    Hi
    You can then use in F21 and F23 the following formulas
    Formula: copy to clipboard
    =SUBTOTAL(9,$F$5:$F$17)
    =SUBTOTAL(101,$F$5:$F$17)


    Don't forget to mark this thread as SOLVED
    Regards
    Do you know how to DSUM Cell F21 and H21, to reflect the change for the filtered/unfiltered tabl, with an IF function to catch 'Zero listing' and return "No Records Found"

  7. #7
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: DSUM formula

    Try to use
    Formula: copy to clipboard
    =IFERROR(1/(1/(DSUM(A4:I17,F4,A31:I33))),"No records found")

  8. #8
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    V10
    Posts
    63

    Re: DSUM formula

    Quote Originally Posted by José Augusto View Post
    Try to use
    Formula: copy to clipboard
    =IFERROR(1/(1/(DSUM(A4:I17,F4,A31:I33))),"No records found")
    Worked, but didn't change when the value filter was applied

  9. #9
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    V10
    Posts
    63

    Re: DSUM formula

    Quote Originally Posted by PistolPete7 View Post
    Worked, but didn't change when the value filter was applied
    Meant, It worked but the value didn't change when the advanced filter was applied

  10. #10
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: DSUM formula

    Hi
    DSUM always changes whenever the advanced filter changes, even if you do not apply the filter to the table.
    To sincronize both (value and table) use the same strategy but with SUBTOTAL
    =IFERROR(1/(1/(SUBTOTAL(9,$F$5:$F$17))),"No records found")

  11. #11
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    V10
    Posts
    63

    Re: DSUM formula

    Quote Originally Posted by José Augusto View Post
    Hi
    DSUM always changes whenever the advanced filter changes, even if you do not apply the filter to the table.
    To sincronize both (value and table) use the same strategy but with SUBTOTAL
    =IFERROR(1/(1/(SUBTOTAL(9,$F$5:$F$17))),"No records found")
    If I was going to use the same formula for cells F23 and H23, except change DSUM to DAVERAGE, how could I incorperate: DAVERAGE, DCOUNT and IF function into the formula
    =IFERROR(1/(1/(DAVERAGE(A4:I17,F4,A31:I33))),"No records found")

  12. #12
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    V10
    Posts
    63

    Re: DSUM formula

    Quote Originally Posted by José Augusto View Post
    Hi
    DSUM always changes whenever the advanced filter changes, even if you do not apply the filter to the table.
    To sincronize both (value and table) use the same strategy but with SUBTOTAL
    =IFERROR(1/(1/(SUBTOTAL(9,$F$5:$F$17))),"No records found")
    Thanks also, you have been a big help

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Easy filtering method via vba/formula/advanced filtering?
    By jedemeyer1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-10-2014, 12:35 AM
  2. More advanced advanced filtering
    By Acceleracer in forum Excel General
    Replies: 2
    Last Post: 02-06-2014, 09:02 PM
  3. Excel 2007 : Advanced Filtering
    By Spenta in forum Excel General
    Replies: 3
    Last Post: 12-29-2008, 12:59 PM
  4. [SOLVED] advanced filtering in XLS
    By Debra Dalgleish in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 05:05 AM
  5. [SOLVED] advanced filtering in XLS
    By Tina in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 AM
  6. advanced filtering in XLS
    By Tina in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  7. Advanced Filtering
    By Tony in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-29-2005, 07:06 AM

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