FILTER Formula ignoring initial data after columns being filled

Lacan

Board Regular
Joined
Oct 5, 2016
Messages
163
Office Version
  1. 365
Platform
  1. Windows
Hello Guys,

Very simple have Table 1 with Clients that want to Filter according with selection "S" in Table 2.

But then in Table 2 have to filled with sales in the previous months and registered accordingly.

So the goal is that the Clients in Table 2 who have total sum >0 avoid being remove of Table 2 even if in Table 1 after in the future decided to remove the "S" from the selection.

To Resume in Table 2 want to keep all the clients who have in sales the total amount >0 even if in the future I decided to remove the "S" from selection in Table 1.

Is it possible with out macros?

Thank you very much guys.


Novo Folha de Cálculo do Microsoft Excel.xlsx
BCDEFGHIJK
2TABLE 1TABLE 2
3NAMEPOTENCIALSELECTIONNAMEOCTNOVDECTOTAL
4JOHNASJOHN55515
5PETERCSPETER0
6ANDREABOLGA105621
7OLGABSFAISA0
8GABYCERBA20222
9FAISAASPURA0
10ERBACSJAINE402060
11PURAASLYON0
12EUROBJASY0
13YGORBOSCAR55
14JAINECSJACQUELINE0
15LYONASANTERD99
16JASYCSLEVIS0
17JASUSCC175050
18OSCARAS0
19FILIPEA0
20JACQUELINEBS0
21ANTERDCS0
22SOVIETA0
23LEVISCS0
24C17BS0
25FLYA0
Folha6
Cell Formulas
RangeFormula
G4:G17G4=FILTER(FILTER(B4:D25,D4:D25="S"),{1,0,0})
K4:K25K4=SUM(H4:J4)
Dynamic array formulas.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Is it possible with out macros?
In simple terms, no. A formula can only show results based on what is there now, not what was there before. Once you remove the 'S' it no longer meets the criteria for the formula so is subsequently excluded from the results.

Also, you don't need 2 filter functions to do what you're doing, 1 will suffice if written correctly.
Excel Formula:
=FILTER(B4:B25,D4:D25="S")
 
Upvote 0
In simple terms, no. A formula can only show results based on what is there now, not what was there before. Once you remove the 'S' it no longer meets the criteria for the formula so is subsequently excluded from the results.

Also, you don't need 2 filter functions to do what you're doing, 1 will suffice if written correctly.
Excel Formula:
=FILTER(B4:B25,D4:D25="S")
Thank you very much for the help.

In order to achieve that goal what is your opinion to get there?

Thanks again.
 
Upvote 0
In order to achieve that goal what is your opinion to get there?
Realistically, don't delete the 'S' from the source table.

There are a few options with vba but I think that they are all going to be error prone with the way that you want to do things.
 
Upvote 0
Realistically, don't delete the 'S' from the source table.

There are a few options with vba but I think that they are all going to be error prone with the way that you want to do things.

Thanks a lot my friend.

Im gonna think how can reach the goal keeping the "S".

Best regards. ?????
 
Upvote 0

Forum statistics

Threads
1,215,487
Messages
6,125,079
Members
449,205
Latest member
Healthydogs

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top