Not able to correct filter data date wise, Kindly correct my formula...

pankajgrover

Board Regular
Joined
Oct 27, 2022
Messages
157
Office Version
  1. 2021
Platform
  1. Windows
Already (Filter Ctrl+Shift+L) option is on my header. there are 3 dates 04 Aug, 05 Aug, 06 Aug.. when i select all date or only 06/08/2024 right side unique stocks average comes , but when i filter on date and select 04 Aug or 05 Aug dates unique stocks average data not visible , here screen shot attached.. kindly look where i am mistaken .. Thanks
I am not able to correct filter data date wise, here is below also xl2bb sheet..
here is the link for complete workbook also for download My Workbook


Shares Search Filter APPLE.xlsx
ABCDEFGHIJKL
1Advanced Search Bar - All Column Search
2
3
4
5Unique Stocks Average
6189Average2013.07380470.60
7DateParticularQtyBuy/SellPriceTotalsParticularQtyTotalsAVG
806/08/2024 MICROSOFT25BUY135.703392.501 MICROSOFT66286841.654346.09
906/08/2024 SAMSUNG5BUY643.503217.501 SAMSUNG1014300.751430.08
1006/08/2024 NETFLIX11BUY3347.7036824.701 NETFLIX3656832.201578.67
1106/08/2024 APPLE50BUY287.0014350.001 APPLE7722496.00292.16
1206/08/2024 MICROSOFT5SELL49899.90249499.501 0.00 
1306/08/2024 APPLE25BUY287.807195.001 0.00 
1406/08/2024 MICROSOFT11BUY1610.6517717.151 0.00 
1506/08/2024 SAMSUNG4BUY2651.6010606.401 0.00 
1605/08/2024 APPLE1SELL475.50475.501 0.00 
1705/08/2024 MICROSOFT25BUY649.3016232.501 0.00 
1805/08/2024 SAMSUNG1BUY476.85476.851 0.00 
1904/08/2024 NETFLIX25BUY800.3020007.501 0.00 
2004/08/2024 APPLE1SELL475.50475.501 0.00 
search_bar
Cell Formulas
RangeFormula
C6,F6C6=SUBTOTAL(9,C8:C1000)
E6E6=F6/C6
A8:F20A8=FILTER(my_data,NOT(ISERROR(SEARCH(A1,my_data[Particular]))),"")
G8:G20G8=MAP(INDEX(A8#,,1),LAMBDA(m,SUBTOTAL(103,m)))
I8:I11I8=FILTER(UNIQUE($B$8:$B$1000),UNIQUE($B$8:$B$1000)<>0)
J8J8=SUMIFS($C$8:$C$1000,$B$8:$B$1000,I8,$G$8:$G$1000,1)
K8K8=SUMIFS($F$8:$F$1000,$B$8:$B$1000,I8,$G$8:$G$1000,1)
L8:L20L8=IFERROR(K8/J8, "")
J9:J20J9=SUMIFS($C$8:$C$1000,$B$8:$B$1000,I9)
K9:K20K9=SUMIFS($F$8:$F$1000,$B$8:$B$1000,I9)
Dynamic array formulas.
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A8:F1000Celldoes not contain a blank value textNO
 

Attachments

  • Screenshot 2024-08-11 202116.png
    Screenshot 2024-08-11 202116.png
    37.7 KB · Views: 8

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
I am afraid you don't see the report just because the lines are hidden due to the filter

Try creating the Unique Stocks Average report either above (best choice?) or below the table rows; or on a different sheet
 
Upvote 0
Solution

Forum statistics

Threads
1,223,874
Messages
6,175,107
Members
452,613
Latest member
amorehouse

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