PC Review


Reply
Thread Tools Rate Thread

How to change where validation should be?

 
 
=?Utf-8?B?bWlrZWI=?=
Guest
Posts: n/a
 
      10th Nov 2006
I created a validaton, it should be in column b only upto the last row of
data in col a, and the amount of rows with data in col a will change all the
time, what should I do? Do I have to delete and recreate the location every
time, if so then how? thanks in advance!

 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      10th Nov 2006
Use a formula of

=OFFSET($A$1,,,COUNTA($A:$A),1)

in the list formula of the DV.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"mikeb" <(E-Mail Removed)> wrote in message
news:AECD68DA-7165-4632-B9B5-(E-Mail Removed)...
> I created a validaton, it should be in column b only upto the last row of
> data in col a, and the amount of rows with data in col a will change all

the
> time, what should I do? Do I have to delete and recreate the location

every
> time, if so then how? thanks in advance!
>



 
Reply With Quote
 
=?Utf-8?B?bWlrZWI=?=
Guest
Posts: n/a
 
      10th Nov 2006
Bob, what I'm trying to do is have validation list in column B consisting of
all the unique values in column A and if col A goes to row 100 col B goes to
Row 100, the number of rows in col a changes. In my code I get the unique
values and place them in another sheet, I now want to create a dynamic named
range and use that for validation in col B.

"Bob Phillips" wrote:

> Use a formula of
>
> =OFFSET($A$1,,,COUNTA($A:$A),1)
>
> in the list formula of the DV.
>
> --
> HTH
>
> Bob Phillips
>
> (replace somewhere in email address with gmail if mailing direct)
>
> "mikeb" <(E-Mail Removed)> wrote in message
> news:AECD68DA-7165-4632-B9B5-(E-Mail Removed)...
> > I created a validaton, it should be in column b only upto the last row of
> > data in col a, and the amount of rows with data in col a will change all

> the
> > time, what should I do? Do I have to delete and recreate the location

> every
> > time, if so then how? thanks in advance!
> >

>
>
>

 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      11th Nov 2006
Just use the formula that I provided to create the named range then.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"mikeb" <(E-Mail Removed)> wrote in message
news:5455E413-A835-4FE5-A914-(E-Mail Removed)...
> Bob, what I'm trying to do is have validation list in column B consisting

of
> all the unique values in column A and if col A goes to row 100 col B goes

to
> Row 100, the number of rows in col a changes. In my code I get the unique
> values and place them in another sheet, I now want to create a dynamic

named
> range and use that for validation in col B.
>
> "Bob Phillips" wrote:
>
> > Use a formula of
> >
> > =OFFSET($A$1,,,COUNTA($A:$A),1)
> >
> > in the list formula of the DV.
> >
> > --
> > HTH
> >
> > Bob Phillips
> >
> > (replace somewhere in email address with gmail if mailing direct)
> >
> > "mikeb" <(E-Mail Removed)> wrote in message
> > news:AECD68DA-7165-4632-B9B5-(E-Mail Removed)...
> > > I created a validaton, it should be in column b only upto the last row

of
> > > data in col a, and the amount of rows with data in col a will change

all
> > the
> > > time, what should I do? Do I have to delete and recreate the location

> > every
> > > time, if so then how? thanks in advance!
> > >

> >
> >
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to trigger a validation change thomas donino Microsoft Excel Programming 3 28th Aug 2009 10:36 AM
RadioButton Change validation =?Utf-8?B?cmlubw==?= Microsoft C# .NET 0 26th Sep 2006 07:50 AM
How does Data Validation change with a formula change? =?Utf-8?B?TWF5Q2xhcmtPcmlnaW5hbHM=?= Microsoft Excel Worksheet Functions 3 5th Jul 2006 04:50 AM
Validation of text change =?Utf-8?B?Q2hhcmxpZQ==?= Microsoft Access 2 12th Mar 2006 10:13 PM
Re: change data validation Rowan Microsoft Excel Programming 1 14th Sep 2005 07:06 PM


Features
 

Advertising
 

Newsgroups
 


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