ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Max value in validated list (https://www.excelbanter.com/excel-discussion-misc-queries/147500-max-value-validated-list.html)

Erin

Max value in validated list
 
I have a cell with a list of numbers used for validation in a drop down box.
Is there any way to retrieve the max possible value of that cell? For
example, if the choices in the dropdown are 0 - 15, how do I return the 15 so
I can use it in a function?

T. Valko

Max value in validated list
 
You'd have to list the numbers in a range of cells and then refer to that
range in a formula.

Say A1:A16 is your list of numbers from 0 to 15.
You can use the range A1:A16 as the source for the drop down list.
Then, to get the max value from that range:

=MAX(A1:A6)

Biff

"Erin" wrote in message
...
I have a cell with a list of numbers used for validation in a drop down
box.
Is there any way to retrieve the max possible value of that cell? For
example, if the choices in the dropdown are 0 - 15, how do I return the 15
so
I can use it in a function?




T. Valko

Max value in validated list
 
Typo:

Then, to get the max value from that range:
=MAX(A1:A6)


Should be:

=MAX(A1:A16)

Biff

"T. Valko" wrote in message
...
You'd have to list the numbers in a range of cells and then refer to that
range in a formula.

Say A1:A16 is your list of numbers from 0 to 15.
You can use the range A1:A16 as the source for the drop down list.
Then, to get the max value from that range:

=MAX(A1:A6)

Biff

"Erin" wrote in message
...
I have a cell with a list of numbers used for validation in a drop down
box.
Is there any way to retrieve the max possible value of that cell? For
example, if the choices in the dropdown are 0 - 15, how do I return the
15 so
I can use it in a function?






Erin

Max value in validated list
 
Thanks!

"T. Valko" wrote:

You'd have to list the numbers in a range of cells and then refer to that
range in a formula.

Say A1:A16 is your list of numbers from 0 to 15.
You can use the range A1:A16 as the source for the drop down list.
Then, to get the max value from that range:

=MAX(A1:A6)

Biff

"Erin" wrote in message
...
I have a cell with a list of numbers used for validation in a drop down
box.
Is there any way to retrieve the max possible value of that cell? For
example, if the choices in the dropdown are 0 - 15, how do I return the 15
so
I can use it in a function?





T. Valko

Max value in validated list
 
You're welcome!

Biff

"Erin" wrote in message
...
Thanks!

"T. Valko" wrote:

You'd have to list the numbers in a range of cells and then refer to that
range in a formula.

Say A1:A16 is your list of numbers from 0 to 15.
You can use the range A1:A16 as the source for the drop down list.
Then, to get the max value from that range:

=MAX(A1:A6)

Biff

"Erin" wrote in message
...
I have a cell with a list of numbers used for validation in a drop down
box.
Is there any way to retrieve the max possible value of that cell? For
example, if the choices in the dropdown are 0 - 15, how do I return the
15
so
I can use it in a function?








All times are GMT +1. The time now is 08:34 PM.

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