Text in cells but no text visible

SimonHughes

Well-known Member
Joined
Sep 16, 2009
Messages
507
Office Version
  1. 365
Platform
  1. Windows
Hello, I have a download which I am trying to format and one task is to delete all rows with empty cells. Problem is, that there are cells which look empty but an ISTEXT query comes up as TRUE. It is not a font format issue and hitting F2 places the cursor at the point 1 in the cell.

Any ideas how I can delete the rows where there is "invisible" text? TIA

New AR 17.07.2024.xlsx
AB
2NAMEISTEXT
3Site:TRUE
4Test DateTRUE
5Engineer NameTRUE
6Engineer SignatureTRUE
7Damper ReferenceTRUE
8LevelTRUE
9LocationTRUE
10Damper TypeTRUE
11Damper SizeTRUE
12Duct SizeTRUE
13Damper ManufacturerTRUE
14Installation ChecksTRUE
15Installed to specificationTRUE
16Access to damperTRUE
17Builders Hatch Size (if required)TRUE
18Firestopping integrity acceptable?TRUE
19Installation Pass/FailTRUE
20Functional TestingTRUE
21FD TestedTRUE
22Pass, Fail, Pass with issuesTRUE
23Damper CleanedTRUE
24FALSE
25TRUE
26TRUE
27FALSE
page 1 (3)
Cell Formulas
RangeFormula
B3:B27B3=ISTEXT(A3)
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Also, there are 21 rows that I wish to keep (from and including "Site" to "Damper Cleaned") and everything between "Damper Cleaned" and "Site" can be deleted. However, the number of rows between these two values are variable, it could be 10 rows or 17 rows that need deleting. So how do I go about deleting an unknown number of rows between two know conditions - many thanks
 
Upvote 0
Please answer hagia_sofia's question.
That will tell us exactly what Excel sees in those apparent blank cells.
 
Upvote 0
Can you maybe share a copy of the file since the XL2BB code does not copy the invisible text:

This is what i get with code:

Book1
AB
1
2NAMEISTEXT
3Site:TRUE
4Test DateTRUE
5Engineer NameTRUE
6Engineer SignatureTRUE
7Damper ReferenceTRUE
8LevelTRUE
9LocationTRUE
10Damper TypeTRUE
11Damper SizeTRUE
12Duct SizeTRUE
13Damper ManufacturerTRUE
14Installation ChecksTRUE
15Installed to specificationTRUE
16Access to damperTRUE
17Builders Hatch Size (if required)TRUE
18Firestopping integrity acceptable?TRUE
19Installation Pass/FailTRUE
20Functional TestingTRUE
21FD TestedTRUE
22Pass, Fail, Pass with issuesTRUE
23Damper CleanedTRUE
24FALSE
25FALSE
26FALSE
27FALSE
Sheet1
Cell Formulas
RangeFormula
B3:B27B3=ISTEXT(A3)
 
Upvote 0
What does

Excel Formula:
=CODE(A25)

return?
This is the answer. It returns a numeric where there is valid text and #VALUE where there is none. I can now sort by CODE (after paste values), delete #VALUE and sort back to original. Excellent, many thanks hagia_sofia!
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
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