+ Reply to Thread
Results 1 to 5 of 5

Calculating row by row after applying a filter and more

  1. #1
    Registered User
    Join Date
    10-21-2018
    Location
    Brazil
    MS-Off Ver
    16
    Posts
    22

    Calculating row by row after applying a filter and more

    Hello,
    I rarely ask for help online, only when I'm completely lost and don't know how to move further... Like now

    I've create a sheet to record sport betting results, to further look where I'm doing better or worse, check statistics, to being able to analyze and improve by myself.
    It's a little confusing for me to try to explain exactly what I'm trying to do, because I don't know if Excel is capable of it and I don't have much Excel knowledge, and of course, it's not as clear as the day what exactly I want... You know, that creating process... But I'll try to break down.

    - This is an example of what I'm using. I've made a column "Lucro Geral" which means "Total Profit", to being able to visualize a bet by bet graphic progression. It works perfectly, but do not works when I apply a filter.
    Note that the values in "Lucro Geral" remains the same after filtering. My goal is to recalculate it automatically after I apply any filter, and therefore, the graphic would also show a correct recalculated results.
    Example of the pre filtered, post filtered table/graphic and manually edited results:
    Attachment 595088

    - Also want to create more tables, showing the competitions/bets made/profit. Here is an example (did it manually):
    Attachment 595087
    Here I used Subtotal(9 function to calculate the profit and Subtotal(2 to calculate the number of bets in each competition and bet type. But of course my goal is to make it automatically, because the way I did was literally calculating one by one and writing down the results... This is just the beginning of what I want, still need to put Green/Red/Gray outcomes in these tables, also want to separate odds range to see if I'm being positive in these odds. I mean, filter like 1.95 to 2.05 odds to see the percentage of Green/Red/Gray outcomes I'm having in this odd range, to being able to see if they are bad odds or not. And of course, would like to filter these odd ranges while I'm also filtering by competition and bet type. But maybe I can get there by myself after I learn how to start doing this.

    Thank you guys, sorry if I'm not being clear enough.
    Attached Files Attached Files

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Calculating row by row after applying a filter and more

    .
    Not certain this is the answer you are seeking as I've not attempted what you are needing.

    First link is for visible rows : https://docs.microsoft.com/en-us/off...lotvisibleonly

    Second link is for hidden rows : https://www.thespreadsheetguru.com/t...in-your-charts
    But I presume if you replace FALSE with TRUE it would calculate on visible rows.

  3. #3
    Registered User
    Join Date
    10-21-2018
    Location
    Brazil
    MS-Off Ver
    16
    Posts
    22

    Re: Calculating row by row after applying a filter and more

    The first VB code didn't work and the second one worked, which is really helpful to show/not show the hidden data on graphic. But my goal is to still only show the visible data on the graphics...

    I tried the first VB and using my normal formula and also tried using this formula =IF(I20="";"";LOOKUP(2;1/(K2:K20<>"");K2:K20)+I20). But still it does not calculate only the visible cells. Also tried to put SUBTOTAL(9 in there just because I ran out of ideas

  4. #4
    Registered User
    Join Date
    10-21-2018
    Location
    Brazil
    MS-Off Ver
    16
    Posts
    22

    Re: Calculating row by row after applying a filter and more

    Any help? sos I'm lost

  5. #5
    Registered User
    Join Date
    10-21-2018
    Location
    Brazil
    MS-Off Ver
    16
    Posts
    22

    Re: Calculating row by row after applying a filter and more

    I really need help with this one

+ 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. Selecting all rows after applying filter.
    By Graham Pall in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-11-2014, 04:07 AM
  2. Auto Filter Not Applying
    By jvbeats in forum Excel General
    Replies: 7
    Last Post: 02-26-2013, 03:46 AM
  3. Replies: 0
    Last Post: 11-26-2012, 03:15 AM
  4. Replies: 4
    Last Post: 03-03-2010, 10:52 AM
  5. applying filter in a row
    By anuj_sethi1043 in forum Excel General
    Replies: 3
    Last Post: 04-29-2009, 10:45 AM
  6. Applying a filter to multiple sheets
    By LemonTwist in forum Excel General
    Replies: 2
    Last Post: 07-15-2008, 04:49 AM
  7. sequence numbers:applying filter.
    By Ashley in forum Excel General
    Replies: 1
    Last Post: 07-22-2005, 11:05 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