Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi There,
ISBLANK-function works only for a a single cell -to my knowledge-. Anyone has a UDF which can evaluate a range? Brgds Sige |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Sige,
Try: Application.CountA(Selection) = 0 --- Regards, Norman "Sige" wrote in message oups.com... Hi There, ISBLANK-function works only for a a single cell -to my knowledge-. Anyone has a UDF which can evaluate a range? Brgds Sige |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Norman,
That simple thx! |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Sige,
As you asked for a UDF, try: Function RangeBlank(Rng As Range) As Boolean RangeBlank = Application.CountA(Rng) = 0 End Function --- Regards, Norman "Sige" wrote in message oups.com... Hi There, ISBLANK-function works only for a a single cell -to my knowledge-. Anyone has a UDF which can evaluate a range? Brgds Sige |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thx Norman!
|
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
why not just =If(counta(rng)=0,"Blank","Not Blank")
rather than encasulate it in a UDF -- Regards, Tom Ogilvy "Sige" wrote in message oups.com... Thx Norman! |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Indeed Tom, why not ;o)
PS: I remember there was a way to add a "sort-of-comment" in a formula... without affecting the formula. Something like eg.: =If(counta(rng)=0,"Blank","Not Blank") *T("This is function returns true or false when range is empty") or =If(counta(rng)=0,"Blank","Not Blank") +Text("This is function returns true or false when range is empty") or .... I have no idea anymore how it was ... |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=If(counta(rng)=0,"Blank","Not Blank") &Left("This is function returns . . .
",0) seems to work. -- Regards, Tom Ogilvy "Sige" wrote in message oups.com... Indeed Tom, why not ;o) PS: I remember there was a way to add a "sort-of-comment" in a formula... without affecting the formula. Something like eg.: =If(counta(rng)=0,"Blank","Not Blank") *T("This is function returns true or false when range is empty") or =If(counta(rng)=0,"Blank","Not Blank") +Text("This is function returns true or false when range is empty") or ... I have no idea anymore how it was ... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
isblank | Excel Worksheet Functions | |||
Isblank | New Users to Excel | |||
IF AND ISBLANK | Excel Worksheet Functions | |||
isblank range | Excel Discussion (Misc queries) | |||
Can you test for a range (Q16:19) any cell is ISBLANK | Excel Programming |