Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Blank cells: ISBLANK = FALSE, ISTEXT = TRUE | Excel Worksheet Functions | |||
IF(ISTEXT Concatenate formula question | Excel Worksheet Functions | |||
IF-ISTEXT formula | Excel Discussion (Misc queries) | |||
ISTEXT TRUE then copy formula from cell X | Excel Worksheet Functions | |||
I need help with a =sum IF ISTEXT formula. I keep getting 0. | Excel Discussion (Misc queries) |