Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default using text as a "true" condition in an if function.

You're welcome!

--
Biff
Microsoft Excel MVP


"diggyroo" wrote in message
...
Thank you all very much. The funny thing is i new it as soon as i read the
replys. Thanks for the reminder.

"T. Valko" wrote:

One way:

=IF(ISTEXT(A1),"Enter a number!","")

However, if cell A1 is formatted as TEXT and a number is entered it will
be
evaluated as TEXT and return the message.

--
Biff
Microsoft Excel MVP


"diggyroo" wrote in message
...
I need to write an if function that says when text is enterd in a cell
it
needs to return "please enter a value!!!" I cant remember how to define
text
in the if function. example. if(A1="text","Please enter a value!!!") I
need
it to say that if anything other than a # is entered in the cell beside
it.
And ive tried the one i put here and it only works if i put the word
text
in
the cell.

Thanks for any help






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Text "comparison" operator for "contains" used in an "IF" Function Pawaso Excel Worksheet Functions 4 April 4th 23 11:35 AM
a formula to "go to" another cell if a condition is true? Rope Excel Discussion (Misc queries) 2 January 4th 08 06:16 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Typing "true" excel 2007 change it to "TRUE" Mr. T Excel Discussion (Misc queries) 2 April 11th 07 01:24 PM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


All times are GMT +1. The time now is 12:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"