sksanjeev786
Well-known Member
- Joined
- Aug 5, 2020
- Messages
- 1,010
- Office Version
- 365
- 2016
- Platform
- Windows
Hi Team,
I want to remove all data after "n" in the below data ie. cell O4 has n so i need blank data from P4 to end column
I want to remove all data after "n" in the below data ie. cell O4 has n so i need blank data from P4 to end column
Cell Formulas | ||
---|---|---|
Range | Formula | |
F1:R1 | F1 | =E1+1 |
E2:Q2 | E2 | =INDEX(INDIRECT("'"&$A2&$B2&"'!A1:IV45"),9,E1) |
E3:R3 | E3 | =IFERROR(VALUE(SUBSTITUTE(INDEX(INDIRECT("'"&$A3&$B3&"'!A1:IV45"),MATCH($A$1,INDIRECT("'"&$A3&$B3&"'!A1:A45"),0),E$1),"0","")),"") |
E4:E10,F5:R10 | E4 | =INDEX(INDIRECT("'"&$A4&$B4&"'!A1:IV45"),MATCH($A$1,INDIRECT("'"&$A4&$B4&"'!A1:A45"),0),E$1) |
F4:R4 | F4 | =IF(E4="n","",INDEX(INDIRECT("'"&$A4&$B4&"'!A1:IV45"),MATCH($A$1,INDIRECT("'"&$A4&$B4&"'!A1:A45"),0),F$1)) |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
E4:BP82 | Cell Value | between 50 and 74.9 | text | NO |
E4:BP82 | Cell Value | contains "n" | text | NO |
E3:BP82 | Cell Value | <50 | text | NO |