Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Numbers or Text 1

Status
Not open for further replies.

luceze

Programmer
Apr 26, 2001
842
US
Is there any kind of worksheet function that can tell if the contents of a cell is text or a number. For example, b1=x, b2=3. I would like a formula in a1 that looks at b1 and returns some value depending on whether b1 is a number or text.

Thanks,
Eric
Excel 2000
 
try the isnumber function


example:


=IF(ISNUMBER(A1),"Number","Text")
 
Thanks. I knew it was something easy but I couldn't find it in the help file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top