+ Reply to Thread
Results 1 to 2 of 2

Applying Formulae to Filtered Data

  1. #1
    Registered User
    Join Date
    02-09-2014
    Location
    Oklahoma City
    MS-Off Ver
    Excel 2010
    Posts
    2

    Applying Formulae to Filtered Data

    I have a spreadsheet with formulae that I'm now trying to modify to only apply to filtered data. I've done the simpler AVG and SUM formulae (via SUBTOTAL and SUMPRODUCT) but I have two I just cannot figure out.

    {=SUM(IFERROR(--LEFT(J4:J999;FIND("m";J4:J999)-1);0)) &"m - "&SUM(IFERROR(-SUBSTITUTE(MID(J4:J999;FIND("-";J4:J999);99);"b";"");0))&"b"}

    and

    =IFERROR((SUMIF(M4:M999;">0";L4:L999)+SUMIF(M4:M999;"<0";L4:L999)+SUM(M4:M999))/(SUMIF(M4:M999;">0";L4:L999)+SUMIF(M4:M999;"<0";L4:L999));"N/A")

    Any help on either or both will be much appreciated

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Applying Formulae to Filtered Data

    Hi and welcome to the foum

    I've done the simpler AVG and SUM formulae (via SUBTOTAL and SUMPRODUCT)
    what formula did you use?

    It may be easier to understand what you are doing if you attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Replies: 8
    Last Post: 07-14-2012, 10:22 AM
  2. Applying Named Ranges to Existing Formulae
    By Usman_W in forum Excel General
    Replies: 3
    Last Post: 06-26-2012, 01:59 PM
  3. Applying Formulae to Ranges
    By RexG in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-31-2011, 09:20 AM
  4. Applying 2 formulae to columns of varying length
    By WangDoodle in forum Excel General
    Replies: 10
    Last Post: 11-12-2010, 02:28 PM
  5. Applying formulas to a table of filtered results
    By jovialtom in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-21-2007, 07:21 AM

Tags for this Thread

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