Oryon
New Member
- Joined
- May 21, 2022
- Messages
- 9
- Office Version
- 365
- 2021
- 2019
- 2016
- 2013
- 2011
- 2010
- 2007
- 2003 or older
- Prefer Not To Say
- Platform
- Windows
- MacOS
- Mobile
- Web
Hello,
I am working on an Excel spreadsheet where I would like it to be possible to sort while the sheet is protected, as it contains formulas and will be used by multiple users. So far, I have only managed to add a macro that allows filtering and clearing filters, but I would also like sorting to be possible.
Could you help me, please?
I am working on an Excel spreadsheet where I would like it to be possible to sort while the sheet is protected, as it contains formulas and will be used by multiple users. So far, I have only managed to add a macro that allows filtering and clearing filters, but I would also like sorting to be possible.
Could you help me, please?
TEST Sort and Filter.xlsm | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | ||||||
2 | ||||||
3 | ||||||
4 | ||||||
5 | ||||||
6 | ||||||
7 | NAME | NUMBER | EXIT DATE | MAX. EXIT DATE | ||
8 | 32224 | 05/02/2024 | 19/02/2024 | |||
9 | 04/01/2024 | 18/01/2024 | ||||
10 | 15/02/2024 | 29/02/2024 | ||||
11 | PEDRO | 568956 | 09/02/2024 | 23/02/2024 | ||
12 | MARIA | 235414 | 26/01/2024 | 09/02/2024 | ||
13 | ANA | 785412 | 26/01/2024 | 09/02/2024 | ||
14 | JUAN | 545856 | 09/02/2024 | 23/02/2024 | ||
Hoja1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D8:D14 | D8 | =IF(C8="","",WORKDAY.INTL(C8,10,1,)) |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
D8:D14 | Cell | contains a blank value | text | NO |
D8:D14 | Expression | =Y($D8<=HOY()+5;$D8>HOY()) | text | NO |
D8:D14 | Expression | =$D8>HOY()+5 | text | NO |
D8:D14 | Expression | =$D8<=HOY() | text | NO |