Macro that filter whole list by date

Kartiksvn

New Member
Joined
Dec 31, 2018
Messages
26
Office Version
  1. 2019
Platform
  1. Windows
Mumbai Sale.xlsm
ABCDEFGHIJKLMNOPQRST
1Mumbai Sale
2
3Total CaratsAvg.TotalMainRoundBroConfirmBalance
413,387.0418,274.6924,46,44,0612,44,60143,0650043,065
5Search
6ક્રમCaratsDetailsRate%Ext %Bro %TotalMain RoundBro (rs.)BuyersBrokerdatedaysdue datedays remainbroOver DaysStatus
71102.94-2 Collection17250-4.0017,04,6861705-314S. VinodManish27-04-20211007-05-2021-101 Daysyes101 Days
8288.98-2 Jew2350020,91,030209130Lallu KhopalaK. Goti28-04-202115025-09-202140 Daysyes-40 Days
9323.88-2 Natts12851-4.002,94,607294607Chirag golAjay28-04-20213028-05-2021-80 Daysyes80 Days
10498.40+2 AAC24201-3.0023,09,9372309937Alfa (Mahek)Pravin22-04-202110505-08-2021-11 Daysyes11 Days
11554.70+2 Natts11350-4.005,96,01159611Dipak ManishAjay27-04-20213027-05-2021-81 Daysyes81 Days
126168.11+2 VVS3200053,79,5205379520J K bhansaliChirag Pipali27-04-20219026-07-2021-21 Daysyes21 Days
13721.01+2 LC161513,39,333339333Naresh decentRaju goli30-04-202112028-08-202112 Daysyes-12 Days
14818.36+2 AE Dagina270004,95,720495720Nice DiamondRaju goli24-04-202112022-08-20216 Daysyes-6 Days
15916.54-2 LC41500-3.006,65,818665818HirachandPradip07-04-20211017-04-2021-121 Daysyes121 Days
161016.66LB14555-10.002,18,238218238Bajrang Diamond Sharad11-05-2021516-05-2021-92 Daysno92 Days
171149.46-2 JEW2350011,62,3101162310Lavaji Khopala K. goti14-05-202115011-10-202156 Daysyes-56 Days
181243.71-2 AE Dagina3300014,42,4301442430JK BhansaliChirag Pipali17-05-20218510-08-2021-6 Daysyes6 Days
191350.73+2 AAA2700013,69,7101669-90Nice DiamondRaju goli18-05-202112015-09-202130 Daysyes-30 Days
207.52-2 Dagina320002,40,64018-05-202112015-09-202130 Daysyes-30 Days
211.83-2 AE Jew3200058,56018-05-202112015-09-202130 Daysyes-30 Days
221455.80+2 IF38000-3.0020,56,7882056788HirachandPradip19-05-2021524-05-2021-84 Daysyes84 Days
Sale List
Cell Formulas
RangeFormula
B4,H4B4=SUM(B7:B600)
D4D4=H4/B4
I4I4=SUMIF($T$7:$T$600,"",$I$7:$I$600)
J4J4=SUM($J$7:$J$600)
K4K4=SUM($K$7:$K$600)
L4L4=SUMIF($T$7:$T$600,"<>",$I$7:$I$600)
M4M4=SUM((L4*1000)+J4-K4)
P7:P22P7=IF(O7="","",SUM(N7+O7))
Q7:Q22Q7=IF(O7="","",SUM(P7-TODAY()))
H7:H22H7=IF(B7="","",SUM(AB7)-(AB7)*(-G7/100))
S7:S22S7=IF(O7="","",SUM(TODAY()-P7))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A7:P600,R7:S600Expression=$T7="OK"textYES
B7:B600,I7:M600,P7:P600Expression=$S7=""textYES
B7:B600,I7:M600,P7:P600Expression=$S7>=0textNO
S7:S600Other TypeColor scaleNO
S7:S600Cell Value<0textNO
Q7:Q600Cell Value<=0textNO
A7:G600,T7:U600,I7:O93,K94:O94,I95:O600,R7:R600Expression=OR(CELL("row")=ROW())textNO



I want macro that filter date wise P column with heading 'due date'. Thank you in advance.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
this is the screenshot of my worksheet. I am already using macros like clear all filter, over due list which is filter with orange cells. And I need help for date filter macro which is not harm full sheet sequence.
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,520
Members
449,088
Latest member
RandomExceller01

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