Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default IF AND ISTEXT ISBLANK formula

I have two columns EA and EB, if EA istext and EB istext then EB, AND if EA
isblank and EB istext then EB, AND if EA istext and EB isblank then EA. I
wrote the formula below but it isn't returning values as I thought I had
written it. Your help is greatly appreciated.

=IF(AND(ISTEXT(EA6),ISTEXT(EB6)),EB6,IF(AND(ISBLAN K(EA6),ISTEXT(EB6)),EB6,IF(AND(ISTEXT(EA6),ISBLANK (EB6)),EA6,)))
--
Thank you,

scrowley(AT)littleonline.com
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,696
Default IF AND ISTEXT ISBLANK formula

the formula is entered as you were expecting. Not sure which error you're
getting. Try clicking on the fx vutton to see where you may be getting your
error...

"SCrowley" wrote:

I have two columns EA and EB, if EA istext and EB istext then EB, AND if EA
isblank and EB istext then EB, AND if EA istext and EB isblank then EA. I
wrote the formula below but it isn't returning values as I thought I had
written it. Your help is greatly appreciated.

=IF(AND(ISTEXT(EA6),ISTEXT(EB6)),EB6,IF(AND(ISBLAN K(EA6),ISTEXT(EB6)),EB6,IF(AND(ISTEXT(EA6),ISBLANK (EB6)),EA6,)))
--
Thank you,

scrowley(AT)littleonline.com

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default IF AND ISTEXT ISBLANK formula

Thank you, Sean. After poking around I found a hidden " ' " mark in the blank
cells. I did a Find and Replace as well as TRIM and CLEAN and neither one
removed the mark so I'm clearing contents of visually blank cells. Wow, I
actually wrote a working formula!!!
--
Thank you,

scrowley(AT)littleonline.com


"Sean Timmons" wrote:

the formula is entered as you were expecting. Not sure which error you're
getting. Try clicking on the fx vutton to see where you may be getting your
error...

"SCrowley" wrote:

I have two columns EA and EB, if EA istext and EB istext then EB, AND if EA
isblank and EB istext then EB, AND if EA istext and EB isblank then EA. I
wrote the formula below but it isn't returning values as I thought I had
written it. Your help is greatly appreciated.

=IF(AND(ISTEXT(EA6),ISTEXT(EB6)),EB6,IF(AND(ISBLAN K(EA6),ISTEXT(EB6)),EB6,IF(AND(ISTEXT(EA6),ISBLANK (EB6)),EA6,)))
--
Thank you,

scrowley(AT)littleonline.com

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default IF AND ISTEXT ISBLANK formula

If those cells contain formulas that might return formula blanks ("") then
ISBLANK might not be doing what you think it's doing.

ISBLANK means "is empty". If a cell contains a formula blank then the cell
*isn't empty* and ISBLANK evaluates to FALSE.

Also, a formula blank is a *text string* so ISTEXT will evaluate to TRUE.

--
Biff
Microsoft Excel MVP


"SCrowley" wrote in message
...
I have two columns EA and EB, if EA istext and EB istext then EB, AND if EA
isblank and EB istext then EB, AND if EA istext and EB isblank then EA. I
wrote the formula below but it isn't returning values as I thought I had
written it. Your help is greatly appreciated.

=IF(AND(ISTEXT(EA6),ISTEXT(EB6)),EB6,IF(AND(ISBLAN K(EA6),ISTEXT(EB6)),EB6,IF(AND(ISTEXT(EA6),ISBLANK (EB6)),EA6,)))
--
Thank you,

scrowley(AT)littleonline.com



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,696
Default IF AND ISTEXT ISBLANK formula

I guess that's a good thing. :-)

Not sure why a find/replace wouldn't have fixed the issue, unless it did too
much replacing....



"SCrowley" wrote:

Thank you, Sean. After poking around I found a hidden " ' " mark in the blank
cells. I did a Find and Replace as well as TRIM and CLEAN and neither one
removed the mark so I'm clearing contents of visually blank cells. Wow, I
actually wrote a working formula!!!
--
Thank you,

scrowley(AT)littleonline.com


"Sean Timmons" wrote:

the formula is entered as you were expecting. Not sure which error you're
getting. Try clicking on the fx vutton to see where you may be getting your
error...

"SCrowley" wrote:

I have two columns EA and EB, if EA istext and EB istext then EB, AND if EA
isblank and EB istext then EB, AND if EA istext and EB isblank then EA. I
wrote the formula below but it isn't returning values as I thought I had
written it. Your help is greatly appreciated.

=IF(AND(ISTEXT(EA6),ISTEXT(EB6)),EB6,IF(AND(ISBLAN K(EA6),ISTEXT(EB6)),EB6,IF(AND(ISTEXT(EA6),ISBLANK (EB6)),EA6,)))
--
Thank you,

scrowley(AT)littleonline.com



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,696
Default IF AND ISTEXT ISBLANK formula

Which would mean instead of ISBLANK, do EA=""

"T. Valko" wrote:

If those cells contain formulas that might return formula blanks ("") then
ISBLANK might not be doing what you think it's doing.

ISBLANK means "is empty". If a cell contains a formula blank then the cell
*isn't empty* and ISBLANK evaluates to FALSE.

Also, a formula blank is a *text string* so ISTEXT will evaluate to TRUE.

--
Biff
Microsoft Excel MVP


"SCrowley" wrote in message
...
I have two columns EA and EB, if EA istext and EB istext then EB, AND if EA
isblank and EB istext then EB, AND if EA istext and EB isblank then EA. I
wrote the formula below but it isn't returning values as I thought I had
written it. Your help is greatly appreciated.

=IF(AND(ISTEXT(EA6),ISTEXT(EB6)),EB6,IF(AND(ISBLAN K(EA6),ISTEXT(EB6)),EB6,IF(AND(ISTEXT(EA6),ISBLANK (EB6)),EA6,)))
--
Thank you,

scrowley(AT)littleonline.com




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
Blank cells: ISBLANK = FALSE, ISTEXT = TRUE Raj[_2_] Excel Worksheet Functions 3 January 4th 08 04:47 PM
IF(ISTEXT Concatenate formula question SCrowley Excel Worksheet Functions 15 October 9th 07 02:43 AM
IF-ISTEXT formula Cardian Excel Discussion (Misc queries) 6 August 6th 07 04:52 PM
ISTEXT TRUE then copy formula from cell X E Cobb Excel Worksheet Functions 7 May 31st 07 08:19 PM
I need help with a =sum IF ISTEXT formula. I keep getting 0. PullingMyHairOut Excel Discussion (Misc queries) 2 May 6th 05 01:31 PM


All times are GMT +1. The time now is 07:16 AM.

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

About Us

"It's about Microsoft Excel"