ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   =(IF(ISTEXT('Data Report'!$L2:$L4),'Data Report'!N3,J11)) Response (https://www.excelbanter.com/excel-discussion-misc-queries/32470-%3D-if-istext-data-report-%24l2-%24l4-data-report-n3-j11-response.html)

s2frost

=(IF(ISTEXT('Data Report'!$L2:$L4),'Data Report'!N3,J11)) Response
 
I have 3 cells that may or may not contain text my statement is the following:
=(IF(ISTEXT('Data Report'!$L2:$L4),'Data Report'!N3,J11)). What I need to
happen is to have N3 posted in the cell of this formula if any of the three
cells have text in them. I feel I am close but not quite there. The
response I get is works only if all L2:L4 is FALSE,FALSE,FALSE or TRUE,TRUE,
TRUE.

Help is appreciated.

Fred

Try:
=if(or(istext($L2),istext($L3),istext($L4)),'Data Report!N3,J11)

HTH,

"s2frost" wrote:

I have 3 cells that may or may not contain text my statement is the following:
=(IF(ISTEXT('Data Report'!$L2:$L4),'Data Report'!N3,J11)). What I need to
happen is to have N3 posted in the cell of this formula if any of the three
cells have text in them. I feel I am close but not quite there. The
response I get is works only if all L2:L4 is FALSE,FALSE,FALSE or TRUE,TRUE,
TRUE.

Help is appreciated.


RagDyeR

You can just add an OR() to your *array* formula.

=(IF(OR(ISTEXT('Data Report'!$L2:$L4)),'Data Report'!N3,J11))
--
Array formulas are entered using CSE, <Ctrl <Shift <Enter, instead of the
regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually.

--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"s2frost" wrote in message
...
I have 3 cells that may or may not contain text my statement is the
following:
=(IF(ISTEXT('Data Report'!$L2:$L4),'Data Report'!N3,J11)). What I need to
happen is to have N3 posted in the cell of this formula if any of the three
cells have text in them. I feel I am close but not quite there. The
response I get is works only if all L2:L4 is FALSE,FALSE,FALSE or TRUE,TRUE,
TRUE.

Help is appreciated.




All times are GMT +1. The time now is 02:36 PM.

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