ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Question about validation lists (https://www.excelbanter.com/excel-discussion-misc-queries/250566-question-about-validation-lists.html)

Gotroots

Question about validation lists
 
What causes the validation list to change the range to add one or more empty
cells to the end of the list. When playing round with the defined Name
formula I notice it can change the range to include empty cells. Anyone got
any thought on this?

=OFFSET(Sheet3!$F$1,0,0,COUNTIF(Sheet3!$F:$F,"?*") )



Bob Phillips[_4_]

Question about validation lists
 
If there are blanks in column F followed by data that could cause it.


---
HTH

Bob Phillips

"Gotroots" wrote in message
...
What causes the validation list to change the range to add one or more
empty
cells to the end of the list. When playing round with the defined Name
formula I notice it can change the range to include empty cells. Anyone
got
any thought on this?

=OFFSET(Sheet3!$F$1,0,0,COUNTIF(Sheet3!$F:$F,"?*") )





Jim Thomlinson

Question about validation lists
 
What is your reason for using
COUNTIF(Sheet3!$F:$F,"?*")
instead of
COUNTA(Sheet3!$F:$F)

In column F do you have any cell that just conatin blank characters / empty
spaces...
--
HTH...

Jim Thomlinson


"Gotroots" wrote:

What causes the validation list to change the range to add one or more empty
cells to the end of the list. When playing round with the defined Name
formula I notice it can change the range to include empty cells. Anyone got
any thought on this?

=OFFSET(Sheet3!$F$1,0,0,COUNTIF(Sheet3!$F:$F,"?*") )



Gotroots

Question about validation lists
 
The reason for using such a formula is that the range contains values that
are the result of a formula. No blanks occur until the end of the list,
however any empty cells thereafter will contain a formula.

"Jim Thomlinson" wrote:

What is your reason for using
COUNTIF(Sheet3!$F:$F,"?*")
instead of
COUNTA(Sheet3!$F:$F)

In column F do you have any cell that just conatin blank characters / empty
spaces...
--
HTH...

Jim Thomlinson


"Gotroots" wrote:

What causes the validation list to change the range to add one or more empty
cells to the end of the list. When playing round with the defined Name
formula I notice it can change the range to include empty cells. Anyone got
any thought on this?

=OFFSET(Sheet3!$F$1,0,0,COUNTIF(Sheet3!$F:$F,"?*") )




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

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