need to remove all data after "n"

sksanjeev786

Well-known Member
Joined
Aug 5, 2020
Messages
1,010
Office Version
  1. 365
  2. 2016
Platform
  1. 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

Cell Formulas
RangeFormula
F1:R1F1=E1+1
E2:Q2E2=INDEX(INDIRECT("'"&$A2&$B2&"'!A1:IV45"),9,E1)
E3:R3E3=IFERROR(VALUE(SUBSTITUTE(INDEX(INDIRECT("'"&$A3&$B3&"'!A1:IV45"),MATCH($A$1,INDIRECT("'"&$A3&$B3&"'!A1:A45"),0),E$1),"0","")),"")
E4:E10,F5:R10E4=INDEX(INDIRECT("'"&$A4&$B4&"'!A1:IV45"),MATCH($A$1,INDIRECT("'"&$A4&$B4&"'!A1:A45"),0),E$1)
F4:R4F4=IF(E4="n","",INDEX(INDIRECT("'"&$A4&$B4&"'!A1:IV45"),MATCH($A$1,INDIRECT("'"&$A4&$B4&"'!A1:A45"),0),F$1))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E4:BP82Cell Valuebetween 50 and 74.9textNO
E4:BP82Cell Valuecontains "n"textNO
E3:BP82Cell Value<50textNO
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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