ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   If text then number (https://www.excelbanter.com/excel-worksheet-functions/133495-if-text-then-number.html)

Sally in Toronto

If text then number
 
Simple problem I'm sure...

if(A1= "*",3,"")

A1 contains a formula that may or may not copy text from another worksheet.

I realize that the wildcard doesn't work in this context but anything else I
have tried comes back "true".

Thanks

Max

If text then number
 
Maybe: =IF(ISTEXT(A1),3,"")
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Sally in Toronto" wrote:
Simple problem I'm sure...

if(A1= "*",3,"")

A1 contains a formula that may or may not copy text from another worksheet.

I realize that the wildcard doesn't work in this context but anything else I
have tried comes back "true".

Thanks


T. Valko

If text then number
 
A1 contains a formula that may or may not copy text from another
worksheet.


When you say "may not" does that mean the cell is blank?

Maybe this:

=IF(A1<"",3,"")

< means: is not equal to

Biff

"Sally in Toronto" wrote in
message ...
Simple problem I'm sure...

if(A1= "*",3,"")

A1 contains a formula that may or may not copy text from another
worksheet.

I realize that the wildcard doesn't work in this context but anything else
I
have tried comes back "true".

Thanks





All times are GMT +1. The time now is 02:21 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com