ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   A fromula to pick up nontext in cell (https://www.excelbanter.com/excel-discussion-misc-queries/59706-fromula-pick-up-nontext-cell.html)

chris

A fromula to pick up nontext in cell
 
I 2 columns, A & B. I have data in colunm a cells that are text but the text
varies from cell to cell, over in some of the cells there is the words
INACTIVE. I want a fomrula that will look to colunm A and return the inactive
text into column B else if the colunm is not INACTIVE return blank cells.
hint I tried VLOOKUP, IF THEN, ISTEXT and no luck. Please HELP!!!

chris

Bob Phillips

A fromula to pick up nontext in cell
 
=IF(A1="INACTIVE",A1,"")

or is that too simplistic?

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"chris" wrote in message
...
I 2 columns, A & B. I have data in colunm a cells that are text but the

text
varies from cell to cell, over in some of the cells there is the words
INACTIVE. I want a fomrula that will look to colunm A and return the

inactive
text into column B else if the colunm is not INACTIVE return blank cells.
hint I tried VLOOKUP, IF THEN, ISTEXT and no luck. Please HELP!!!

chris




Chris Lavender

A fromula to pick up nontext in cell
 
or, if there's other text in there as well as INACTIVE

=IF(ISERR(FIND("inactive",A1,1)),"",A1)

Best rgds
Chris Lav

"Bob Phillips" wrote in message
...
=IF(A1="INACTIVE",A1,"")

or is that too simplistic?

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"chris" wrote in message
...
I 2 columns, A & B. I have data in colunm a cells that are text but the

text
varies from cell to cell, over in some of the cells there is the words
INACTIVE. I want a fomrula that will look to colunm A and return the

inactive
text into column B else if the colunm is not INACTIVE return blank

cells.
hint I tried VLOOKUP, IF THEN, ISTEXT and no luck. Please HELP!!!

chris







All times are GMT +1. The time now is 04:24 PM.

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