istext()

Gates Is Antichrist

Well-known Member
Joined
Aug 15, 2002
Messages
1,961
Side issue from thread "Making End-down et. al. respect empty cells":

When I paste a column of query results from Access to Excel, and there are text values (like "FL"), and I've formatted to cells to be text, and they smell, taste, and quack like text ... istext() begs to differ.

The column is copied directly from database view of an Access table (not a query); the field is text with length 2.

I've tried B1=A1 & "" without success.

How can I make istext see "FL" ?
 

Some videos you may like

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

elgringo56

Well-known Member
Joined
Apr 15, 2002
Messages
869
I am not 100% sure, but you may have to TRIM the cell. By the way, your name doesn't offend me.
 

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
So what does ISNUMBER applied the cell containing "FL" return? It must be one or the other.
 

Gates Is Antichrist

Well-known Member
Joined
Aug 15, 2002
Messages
1,961
I had to reboot and lost the file with the problem, and now can't reproduce it. istext() is now recognizing the Access paste. Perhaps autocalc was off or some other stupid user error. Forgive me for the false alarm (unless I can regenerate it later!).

Thanks to Andrew, not a 100% loss though - I didn't realize the ISNUMBER and ISTEXT were perfect compliments. That may well come in handy sometime. Thanks for responding.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,822
Messages
5,598,307
Members
414,224
Latest member
Crazy_FC

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
Top