ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   cell formular (https://www.excelbanter.com/excel-discussion-misc-queries/109243-cell-formular.html)

glenn

cell formular
 
I have setup a formular for a cell A24. This cell have the formular of
vlookup(c15,d25:e25,2). This returns the correct results in A24. My problem
is this:

I woulld like to be able to change the results in A24. Let say the resulet
in A24 is $500.00. I change A24 to $775. When I do this I loose the
originial vllok formulatr in A24. I have protected the sheet but then it
will not let me change the results in A24. Is there anyway to lock the
formular but change the results of A24 manually?

Dave Peterson

cell formular
 
A cell can contain a formula or a value--not both.

There are ways around it, but they'd be pretty convoluted.

Why not just use two cells--one with the formula, one with a manual override.

Then use a 3rd cell that decides on which of these two to use.

Glenn wrote:

I have setup a formular for a cell A24. This cell have the formular of
vlookup(c15,d25:e25,2). This returns the correct results in A24. My problem
is this:

I woulld like to be able to change the results in A24. Let say the resulet
in A24 is $500.00. I change A24 to $775. When I do this I loose the
originial vllok formulatr in A24. I have protected the sheet but then it
will not let me change the results in A24. Is there anyway to lock the
formular but change the results of A24 manually?


--

Dave Peterson

paul

cell formular
 
not without a macro.As an alternative you can have a "manual input cell"
somewhere else,say a25,and in a 24 have =if(A25="",vlookup(c15,d25:e25,2),a25)
..

--
paul

remove nospam for email addy!



"Glenn" wrote:

I have setup a formular for a cell A24. This cell have the formular of
vlookup(c15,d25:e25,2). This returns the correct results in A24. My problem
is this:

I woulld like to be able to change the results in A24. Let say the resulet
in A24 is $500.00. I change A24 to $775. When I do this I loose the
originial vllok formulatr in A24. I have protected the sheet but then it
will not let me change the results in A24. Is there anyway to lock the
formular but change the results of A24 manually?


paul

cell formular
 
Dave makes a good point.Is long as there is something in A25, A24 would not
display the lookup formula,if you go wih my suggestion in my other post
--
paul

remove nospam for email addy!



"paul" wrote:

not without a macro.As an alternative you can have a "manual input cell"
somewhere else,say a25,and in a 24 have =if(A25="",vlookup(c15,d25:e25,2),a25)
.

--
paul

remove nospam for email addy!



"Glenn" wrote:

I have setup a formular for a cell A24. This cell have the formular of
vlookup(c15,d25:e25,2). This returns the correct results in A24. My problem
is this:

I woulld like to be able to change the results in A24. Let say the resulet
in A24 is $500.00. I change A24 to $775. When I do this I loose the
originial vllok formulatr in A24. I have protected the sheet but then it
will not let me change the results in A24. Is there anyway to lock the
formular but change the results of A24 manually?



All times are GMT +1. The time now is 10:48 PM.

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