Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-10-2008, 01:33 AM
mjones
 
Posts: n/a
Validation Criteria & Ignore Blank (cells at bottom)

Hi All,

I have a named list that has a bunch of blank cells at the bottom so
the user can grow the list as needed. The ignore blank check box in
data validation looks tempting, but I still get all the blank cells at
the bottom of my drop down list. Does anyone know how to get it so
the blank cells don't show in the list.

Worksheet called License_Only has data from C2:C210. The data is
pulled from a second file as follows:

C2 - =IF(ISBLANK([Ontario_MGS_Price_List.xls]License_Only!C2),"",
[Ontario_MGS_Price_List.xls]License_Only!C2)
C3 - =IF(ISBLANK([Ontario_MGS_Price_List.xls]License_Only!C3),"",
[Ontario_MGS_Price_List.xls]License_Only!C3)

etc. to C252. Even thought C211 to C252 are blank, I'm hoping to have
the spreadsheet still work when new licenses are added to the bottom
of the price list in these blank cells.

Defined Name called License_Only is set to =OFFSET(License_Only!$C
$2,0,0,COUNTA(License_Only!$C:$C),1)

Worksheet called Definition has the drop down cell T39 with - Data
Validation > Settings: List, Ignore Blank checked, In-cell Dropdown
checked and Source is =License_Only.

I'm trying to get T39 to not include C211 to C252 (the blank cells
from the License_Only worksheet) unless there is data in them.

Any ideas?

Thanks!

Michele

Reply With Quote
  #2 (permalink)  
Old 05-10-2008, 04:12 AM
Ken Johnson
 
Posts: n/a
Re: Validation Criteria & Ignore Blank (cells at bottom)

On May 10, 10:33 am, mjones <mich...@quality-computing.com> wrote:
> Hi All,
>
> I have a named list that has a bunch of blank cells at the bottom so
> the user can grow the list as needed. The ignore blank check box in
> data validation looks tempting, but I still get all the blank cells at
> the bottom of my drop down list. Does anyone know how to get it so
> the blank cells don't show in the list.
>
> Worksheet called License_Only has data from C2:C210. The data is
> pulled from a second file as follows:
>
> C2 - =IF(ISBLANK([Ontario_MGS_Price_List.xls]License_Only!C2),"",
> [Ontario_MGS_Price_List.xls]License_Only!C2)
> C3 - =IF(ISBLANK([Ontario_MGS_Price_List.xls]License_Only!C3),"",
> [Ontario_MGS_Price_List.xls]License_Only!C3)
>
> etc. to C252. Even thought C211 to C252 are blank, I'm hoping to have
> the spreadsheet still work when new licenses are added to the bottom
> of the price list in these blank cells.
>
> Defined Name called License_Only is set to =OFFSET(License_Only!$C
> $2,0,0,COUNTA(License_Only!$C:$C),1)
>
> Worksheet called Definition has the drop down cell T39 with - Data
> Validation > Settings: List, Ignore Blank checked, In-cell Dropdown
> checked and Source is =License_Only.
>
> I'm trying to get T39 to not include C211 to C252 (the blank cells
> from the License_Only worksheet) unless there is data in them.
>
> Any ideas?
>
> Thanks!
>
> Michele


Hi Michelle,

COUNTA in =OFFSET(License_Only!$C$2,0,0,COUNTA(License_Only! $C:$C),1)
is the problem. It counts ""s resulting in your dynamic named range
including those unwanted cells in the data validation drop down.

You could try...

=OFFSET(License_Only!$C$2,0,0,SUMPRODUCT(--(License_Only!$C$1:$C
$252<>""),1)

instead, to define your dynamic named range.

Ken Johnson
Reply With Quote
  #3 (permalink)  
Old 05-11-2008, 05:42 AM
mjones
 
Posts: n/a
Re: Validation Criteria & Ignore Blank (cells at bottom)

On May 9, 11:12 pm, Ken Johnson <KenCJohn...@gmail.com> wrote:
> On May 10, 10:33 am, mjones <mich...@quality-computing.com> wrote:
>
>
>
> > Hi All,

>
> > I have a named list that has a bunch of blank cells at the bottom so
> > the user can grow the list as needed. The ignore blank check box in
> > data validation looks tempting, but I still get all the blank cells at
> > the bottom of my drop down list. Does anyone know how to get it so
> > the blank cells don't show in the list.

>
> > Worksheet called License_Only has data from C2:C210. The data is
> > pulled from a second file as follows:

>
> > C2 - =IF(ISBLANK([Ontario_MGS_Price_List.xls]License_Only!C2),"",
> > [Ontario_MGS_Price_List.xls]License_Only!C2)
> > C3 - =IF(ISBLANK([Ontario_MGS_Price_List.xls]License_Only!C3),"",
> > [Ontario_MGS_Price_List.xls]License_Only!C3)

>
> > etc. to C252. Even thought C211 to C252 are blank, I'm hoping to have
> > the spreadsheet still work when new licenses are added to the bottom
> > of the price list in these blank cells.

>
> > Defined Name called License_Only is set to =OFFSET(License_Only!$C
> > $2,0,0,COUNTA(License_Only!$C:$C),1)

>
> > Worksheet called Definition has the drop down cell T39 with - Data
> > Validation > Settings: List, Ignore Blank checked, In-cell Dropdown
> > checked and Source is =License_Only.

>
> > I'm trying to get T39 to not include C211 to C252 (the blank cells
> > from the License_Only worksheet) unless there is data in them.

>
> > Any ideas?

>
> > Thanks!

>
> > Michele

>
> Hi Michelle,
>
> COUNTA in =OFFSET(License_Only!$C$2,0,0,COUNTA(License_Only! $C:$C),1)
> is the problem. It counts ""s resulting in your dynamic named range
> including those unwanted cells in the data validation drop down.
>
> You could try...
>
> =OFFSET(License_Only!$C$2,0,0,SUMPRODUCT(--(License_Only!$C$1:$C
> $252<>""),1)
>
> instead, to define your dynamic named range.
>
> Ken Johnson


Hi Ken, This works perfectly. Thanks! Michele
Reply With Quote
  #4 (permalink)  
Old 05-11-2008, 05:48 AM
Ken Johnson
 
Posts: n/a
Re: Validation Criteria & Ignore Blank (cells at bottom)

On May 11, 2:42 pm, mjones <mich...@quality-computing.com> wrote:
> On May 9, 11:12 pm, Ken Johnson <KenCJohn...@gmail.com> wrote:
>
>
>
> > On May 10, 10:33 am, mjones <mich...@quality-computing.com> wrote:

>
> > > Hi All,

>
> > > I have a named list that has a bunch of blank cells at the bottom so
> > > the user can grow the list as needed. The ignore blank check box in
> > > data validation looks tempting, but I still get all the blank cells at
> > > the bottom of my drop down list. Does anyone know how to get it so
> > > the blank cells don't show in the list.

>
> > > Worksheet called License_Only has data from C2:C210. The data is
> > > pulled from a second file as follows:

>
> > > C2 - =IF(ISBLANK([Ontario_MGS_Price_List.xls]License_Only!C2),"",
> > > [Ontario_MGS_Price_List.xls]License_Only!C2)
> > > C3 - =IF(ISBLANK([Ontario_MGS_Price_List.xls]License_Only!C3),"",
> > > [Ontario_MGS_Price_List.xls]License_Only!C3)

>
> > > etc. to C252. Even thought C211 to C252 are blank, I'm hoping to have
> > > the spreadsheet still work when new licenses are added to the bottom
> > > of the price list in these blank cells.

>
> > > Defined Name called License_Only is set to =OFFSET(License_Only!$C
> > > $2,0,0,COUNTA(License_Only!$C:$C),1)

>
> > > Worksheet called Definition has the drop down cell T39 with - Data
> > > Validation > Settings: List, Ignore Blank checked, In-cell Dropdown
> > > checked and Source is =License_Only.

>
> > > I'm trying to get T39 to not include C211 to C252 (the blank cells
> > > from the License_Only worksheet) unless there is data in them.

>
> > > Any ideas?

>
> > > Thanks!

>
> > > Michele

>
> > Hi Michelle,

>
> > COUNTA in =OFFSET(License_Only!$C$2,0,0,COUNTA(License_Only! $C:$C),1)
> > is the problem. It counts ""s resulting in your dynamic named range
> > including those unwanted cells in the data validation drop down.

>
> > You could try...

>
> > =OFFSET(License_Only!$C$2,0,0,SUMPRODUCT(--(License_Only!$C$1:$C
> > $252<>""),1)

>
> > instead, to define your dynamic named range.

>
> > Ken Johnson

>
> Hi Ken, This works perfectly. Thanks! Michele


Hi Michele,

You're welcome.

Ken Johnson
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:56 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Free Myspace Layouts | Credit Counseling | HP Coupon Codes | Auto Loans | Music Store



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114