View Single Post
  #3   Report Post  
Mike Peter
 
Posts: n/a
Default

In 'Data validation' dialog box, i selected 'list', before entering this
formula.
This will make the data entry easy for a target cell, because the cell will
display a list box of values from B4, C4, D4 and E4. No chance of wrong date
in the target cell.

I am trying to let excel select the number '4' using the column() formula.
This will make life easy for me, when I copy the cell to another cell. The
number will be decided based on the column of the cell.

Any idea how to do this? Just try to enter a formula of "=$c$4" in another
cell. This will copy the value from cell c4 in to the target cell. Now, how
do I change the formula to "=$c$(column())" ?

thanks.


"JulieD" wrote:

Hi Mike

when i try entering
=$B$4:$E$4
i get a error message from data/validation
"you can not use a direct reference to a worksheet range in a data
validation formula"

do you get the same error?
what are you trying to achieve with this formula? the cell with the
validation on it must be equal to the sum of the four values in the range
or???

Cheers
JulieD


"Mike Peter" <Mike wrote in message
...
I need to enter a formula using Data Validation. The formula is
"=$B$4:$E$4".
How do I change this formula to use the Column() function instead of
constant
'4'.

I want it to get the number '4' using current Column(). The formula has to
look like "=$B$(Column()):$E$(Column())". But the data validation dialog's
'Source' input box refuses to accept this as valid formula. Is there any
work
around? thanks.