ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Forumla to recognize text (https://www.excelbanter.com/excel-discussion-misc-queries/67061-forumla-recognize-text.html)

Woody13

Forumla to recognize text
 
I'm trying to use a basic IF THEN statement but I need the IF function to
recognize whether there is text in a cell or if its blank. =IF(cellA2 has
text, forumla,"") In other words, if cell A2 is blank I want the cell with
the formula in it blank. If A2 has text written in it, I want the cell with
the formula to use another formula. How can I accomplish this?

Ron Coderre

Forumla to recognize text
 
Maybe the reverse would be easier:

=IF(ISBLANK(A2),"",your_formula)

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Woody13" wrote:

I'm trying to use a basic IF THEN statement but I need the IF function to
recognize whether there is text in a cell or if its blank. =IF(cellA2 has
text, forumla,"") In other words, if cell A2 is blank I want the cell with
the formula in it blank. If A2 has text written in it, I want the cell with
the formula to use another formula. How can I accomplish this?


Max

Forumla to recognize text
 
Try something like:
=IF(A2="","",IF(ISTEXT(A2),<your formula,""))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Woody13" wrote in message
...
I'm trying to use a basic IF THEN statement but I need the IF function to
recognize whether there is text in a cell or if its blank. =IF(cellA2 has
text, forumla,"") In other words, if cell A2 is blank I want the cell

with
the formula in it blank. If A2 has text written in it, I want the cell

with
the formula to use another formula. How can I accomplish this?





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

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