automate the sheet

mwvirk

Active Member
Joined
Mar 2, 2011
Messages
293
Office Version
  1. 2016
Platform
  1. Windows
hello

I need a favor to resolve some of my issues to automate my sheet:
- is it possible to add a drop-down date selection for cells A and N and R (the reason I need this: is to reduce typing)
- if cell B contains the word KOHE or SPWL or HUBC then it should automatically change the cell B color and 7.50% should automatically come in cell H (the reason I need this: to identify the different rates)
- similarly, if cell B contains the word PABC then it should automatically change the cell B color and 25.00% should automatically come in cell H (the reason I need this: to identify the different rates)
- if cell E is <> 0 then the color for the cell E to K should change to yellow but once there is a value in cell N then the same cells must change to green (the reason I need this: if there is no item then I have the blank cells. but once there are expectations of receiving some results in the future then temporarily change to yellow as a reminder and once it is received then change to green)
- in rows 38 39 40 41, i want to get rid of unnecessary 0s - these should be blank and clean and only particular row should change and have value once i have some to add in that row

== i am trying to add a mini sheet here but please note that total range for the sheet is 2 to 1200 (so formulas, conditions etc will be applied like 2:1200

thank you


Payout Sheet.xlsx
ABCDEFGHIJKLMNOPQRSTUVWX
1Ex-DateScriptSharesFace ValueCash Dividend %Cash Dividend ReceivableCash Dividend Receivable Per ShareTax Deductions %Tax Deductions AmountCash Dividend Tax Charged Per ShareCash Dividend Received Per ShareCash Dividend ReceivedDividend Warrant ReceivedDate Dividend Cash ReceivedBonus Shares %Bonus SharesBonus Shares Confirmation ReceivedDate Bonus Shares ReceivedRight Shares %Right SharesRight Shares PremiumRight Shares Face Value With PremiumRight Shares Confirmation ReceivedDate Right Shares Received
215-Apr-2021PKGS10010225.00%2,250.0022.5015.00%338.003.3819.121,912.00Yes25-May-20210.00%0  
316-Sep-2021KOHE1,0001052.50%5,250.005.257.50%394.000.394.864,856.00Yes04-Oct-20210.00%0  
406-Oct-2021NATF1,0005100.00%5,000.005.0015.00%750.000.754.254,250.00Yes03-Nov-202125.00%250Yes05-Nov-2021  
510-Nov-2021SPWL5,0001020.00%10,000.002.007.50%750.000.151.859,250.00Yes25-Nov-20210.00%0  
610-Nov-2021GHGL2,0001015.00%3,000.001.5015.00%450.000.231.282,550.00Yes24-Nov-20210.00%0  
710-Dec-2021KOHE1,0001077.50%7,750.007.757.50%581.250.587.177,168.75Yes23-Dec-20210.00%0  
831-Jan-2022SPWL5,0001050.00%25,000.005.007.50%1,875.000.384.6323,125.00Yes21-Feb-20220.00%0  
907-Feb-2022KAPCO3,5001040.00%14,000.004.0015.00%2,100.000.603.4011,900.00Yes24-Feb-20220.00%0  
1010-Feb-2022APL50010150.00%7,500.0015.0015.00%1,125.002.2512.756,375.00Yes01-Mar-20220.00%0  
1124-Feb-2022KOHE1,0001027.50%2,750.002.757.50%206.250.212.542,543.75Yes08-Mar-20220.00%0  
1228-Feb-2022SUTM2001050.00%1,000.005.0015.00%150.000.754.25850.00Yes15-Mar-20220.00%0  
1318-Apr-2022PAKOXY520100.00%0.000.0015.00%0.000.000.000.0025.00%130Yes19-May-2022  
1413-Apr-2022SPWL5,0001010.00%5,000.001.007.50%375.000.080.934,625.00Yes18-May-20220.00%0  
1520-Apr-2022SGF1,0001020.00%2,000.002.0015.00%300.000.301.701,700.00Yes18-May-20220.00%0  
1627-Apr-2022ENGRO50010120.00%6,000.0012.0015.00%900.001.8010.205,100.00Yes17-May-20220.00%0  
1713-May-2022PABC1,0001015.00%1,500.001.5025.00%375.000.381.131,125.00Yes26-May-20220.00%0  
1821-Jul-2022SPWL5,0001045.00%22,500.004.507.50%1,687.000.344.1620,813.00Yes05-Aug-20220.00%0  
1911-Aug-2022KOHE1,0001015.00%1,500.001.507.50%113.000.111.391,387.00Yes19-Aug-20220.00%0  
2018-Aug-2022WAVES7,500100.00%0.000.0015.00%0.000.000.000.0020.00%1,500Yes05-Dec-2022  
2120-Sep-2022CEPB2,150100.00%0.000.0015.00%0.000.000.000.0010.00%215Yes21-Oct-2022  
2211-Oct-2022HUBC3010155.00%465.0015.507.50%34.881.1614.34430.12Yes01-Nov-20220.00%0  
2312-Oct-2022NATF8,2505100.00%41,250.005.0015.00%6,187.500.754.2535,062.50Yes01-Nov-20220.00%0  
2428-Oct-2022ENGRO50010100.00%5,000.0010.0015.00%750.001.508.504,250.00Yes16-Nov-20220.00%0  
2504-Nov-2022SPWL5,0001015.00%7,500.001.507.50%563.000.111.396,937.00Yes21-Nov-20220.00%0  
2609-Nov-2022FABL1,0001055.00%5,500.005.5015.00%825.000.834.684,675.00Yes23-Nov-20220.00%0  
2702-Dec-2022GGL11,000100.00%0.000.0015.00%0.000.000.000.0010.00%1,100Yes16-Dec-2022  
2823-Feb-2023KOHE1,0001030.00%3,000.003.007.50%225.000.232.782,775.00Yes06-Mar-20230.00%0  
2907-Mar-2023KAPCO3,5001035.00%12,250.003.5015.00%1,838.000.532.9710,412.00Yes21-Mar-20230.00%0  
3020-Apr-2023PAKOXY1,000100.00%0.000.0015.00%0.000.000.000.0025.00%250Yes20-May-2023  
3120-Apr-2023SPWL5,0001025.00%12,500.002.507.50%938.000.192.3111,562.00Yes05-May-20230.00%0  
3203-May-2023KOHE1,0001020.00%2,000.002.007.50%150.000.151.851,850.00Yes11-May-20230.00%0  
3328-Sep-2023APL2,00010150.00%30,000.0015.0015.00%4,500.002.2512.7525,500.00No0.00%0  
3428-Sep-2023POL2,00010600.00%120,000.0060.0015.00%18,000.009.0051.00102,000.00No0.00%0  
3506-Oct-2023HUBC5001060.00%3,000.006.007.50%225.000.455.552,775.00No0.00%0  
3618-Oct-2023AIRLINK3,0001025.00%7,500.002.5015.00%1,125.000.382.136,375.00No0.00%0  
3719-Oct-2023TGL5,0001060.00%30,000.006.0015.00%4,500.000.905.1025,500.00No0.00%0  
380.00%0.000.0015.00%0.000.000.000.000.00%0  
390.00%0.000.0015.00%0.000.000.000.000.00%0  
400.00%0.000.0015.00%0.000.000.000.000.00%0  
410.00%0.000.0015.00%0.000.000.000.000.00%0  
PSX Payouts Status
Cell Formulas
RangeFormula
F2:F41F2=(C2*E2)*D2
G2:G41G2=IF(C2>0,F2/C2,0)
J2:J41J2=G2-K2
K2:K41K2=IF(C2>0,L2/C2,0)
L23:L41,L2:L21L2=F2-I2
I32:I41,I30,I26:I28,I20:I24,I4:I17I4=F4*H4
P2:P41P2=C2*O2
T2:T41T2=IF(AND(C2<>"",S2<>""),C2*S2,"")
V2:V41V2=IF(AND(D2<>"",U2<>""),D2+U2,"")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
M1001:M1131,Q1001:Q1131,M2:M168,Q2:Q168,W2:W168Cell Valuecontains "No"textNO
M1001:M1131,Q1001:Q1131,M2:M168,Q2:Q168,W2:W168Cell Valuecontains "Yes"textNO
Cells with Data Validation
CellAllowCriteria
B2:B41List=#REF!
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Forum statistics

Threads
1,223,886
Messages
6,175,198
Members
452,616
Latest member
intern444

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