#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 122
Default Cell formular

I have set up a cell to pull infromation via vlookup. It work fine. My
problem is i want to be aboe to change the results of that cell without
loosing the formular for that cell. When i porotect the worksheet it will
not let me do anything with that cell.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Cell formular

Can you give us a little more information?
If you have a vlookup in cell B1 and the first part of the vlookup formula
is looking at A1. If you click on A1 and go to Format-Cells-Protection tab
and uncheck locked. Then go to Tools-Protection-Protect Sheet, you will be
able to change A1. If you change A1, the result in B1 will change as well (if
the result of the vlookup formula is supposed to change).

"Glenn" wrote:

I have set up a cell to pull infromation via vlookup. It work fine. My
problem is i want to be aboe to change the results of that cell without
loosing the formular for that cell. When i porotect the worksheet it will
not let me do anything with that cell.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 122
Default Cell formular

OK LET ME SEE:
B1 HAS PULLED FROM OTHER CELL VIA VLOOKUP. B1 FORMULAR IS
=VLOOKUP(C1,Z1:Z25,2) THE RESULTS ARE IN B1. THE RESULTS IN B1 IS LET'S SAY
400. IF I WANT TO MANUALLY CHANGE THE RESULTS IN B1 TO SAY 600...WHEN I DO
THIS THE FORMULAR IN B1 IS ERASED. WHEN I PROTECT THE WORKSHEET IT WILL NOT
LET ME CHANGE ANYTHING IN B1. i NEED TO BE ABLE TO MANUALLY CHANGE B1 AND
NOT LOOSE THE VLOOK FORMULAR IN THAT CELL....I HOPE THIS MADE SINCE.


"Nick B" wrote:

Can you give us a little more information?
If you have a vlookup in cell B1 and the first part of the vlookup formula
is looking at A1. If you click on A1 and go to Format-Cells-Protection tab
and uncheck locked. Then go to Tools-Protection-Protect Sheet, you will be
able to change A1. If you change A1, the result in B1 will change as well (if
the result of the vlookup formula is supposed to change).

"Glenn" wrote:

I have set up a cell to pull infromation via vlookup. It work fine. My
problem is i want to be aboe to change the results of that cell without
loosing the formular for that cell. When i porotect the worksheet it will
not let me do anything with that cell.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Cell formular

The good news is that your copy of Excel is working properly.

The bad news is that you cannot do what you want in Excel. You can have a
formula that provides a value or you can have a value. Not both at the same
time. Once you type in that 600, the formula is forever gone until you
retype it in.

You might try something similar to this:
move your VLOOKUP() formula out to some other column, lets say X1 for
example's sake.
Then in column A you could have a regular cell with nothing in it to use as
the override value (your 600). Then in B1 you could do something like this:

=IF(A10,A1,X1)
so if nothing was in A1 (it could just as easily be Y1) then the results of
your VLOOKUP() formula in X1 show up, but if you put anything at all into A1,
then it replaces the value from X1.



"Glenn" wrote:

OK LET ME SEE:
B1 HAS PULLED FROM OTHER CELL VIA VLOOKUP. B1 FORMULAR IS
=VLOOKUP(C1,Z1:Z25,2) THE RESULTS ARE IN B1. THE RESULTS IN B1 IS LET'S SAY
400. IF I WANT TO MANUALLY CHANGE THE RESULTS IN B1 TO SAY 600...WHEN I DO
THIS THE FORMULAR IN B1 IS ERASED. WHEN I PROTECT THE WORKSHEET IT WILL NOT
LET ME CHANGE ANYTHING IN B1. i NEED TO BE ABLE TO MANUALLY CHANGE B1 AND
NOT LOOSE THE VLOOK FORMULAR IN THAT CELL....I HOPE THIS MADE SINCE.


"Nick B" wrote:

Can you give us a little more information?
If you have a vlookup in cell B1 and the first part of the vlookup formula
is looking at A1. If you click on A1 and go to Format-Cells-Protection tab
and uncheck locked. Then go to Tools-Protection-Protect Sheet, you will be
able to change A1. If you change A1, the result in B1 will change as well (if
the result of the vlookup formula is supposed to change).

"Glenn" wrote:

I have set up a cell to pull infromation via vlookup. It work fine. My
problem is i want to be aboe to change the results of that cell without
loosing the formular for that cell. When i porotect the worksheet it will
not let me do anything with that cell.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Cell formular

Come to think about it, you could put all of that into B1 like this:

=IF(A10,A1,VLOOKUP(C1,Z1:Z25,2))
it would work the same way, and one column saved.
You just need another cell to manually type in the value to override the
lookup results with.

"Glenn" wrote:

OK LET ME SEE:
B1 HAS PULLED FROM OTHER CELL VIA VLOOKUP. B1 FORMULAR IS
=VLOOKUP(C1,Z1:Z25,2) THE RESULTS ARE IN B1. THE RESULTS IN B1 IS LET'S SAY
400. IF I WANT TO MANUALLY CHANGE THE RESULTS IN B1 TO SAY 600...WHEN I DO
THIS THE FORMULAR IN B1 IS ERASED. WHEN I PROTECT THE WORKSHEET IT WILL NOT
LET ME CHANGE ANYTHING IN B1. i NEED TO BE ABLE TO MANUALLY CHANGE B1 AND
NOT LOOSE THE VLOOK FORMULAR IN THAT CELL....I HOPE THIS MADE SINCE.


"Nick B" wrote:

Can you give us a little more information?
If you have a vlookup in cell B1 and the first part of the vlookup formula
is looking at A1. If you click on A1 and go to Format-Cells-Protection tab
and uncheck locked. Then go to Tools-Protection-Protect Sheet, you will be
able to change A1. If you change A1, the result in B1 will change as well (if
the result of the vlookup formula is supposed to change).

"Glenn" wrote:

I have set up a cell to pull infromation via vlookup. It work fine. My
problem is i want to be aboe to change the results of that cell without
loosing the formular for that cell. When i porotect the worksheet it will
not let me do anything with that cell.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Cell formular

Check out JLatham's reply regarding the formula.

I just wanted to comment on the protection part of your question. By
default, all cells have a "Locked" property turned on. If you protect a
worksheet then all cells that are "Locked" cannot be modified. To make it so
you can change a cell when the worksheet is protected, you must first select
the cell (in this case B1) and go to Format-Cells, click on the Protection
tab, clear out the "Locked" checkbox and click OK. Then when you protect the
worksheet, you will be able to edit the contents of the cell.

See the below link to do the opposite (lock only a few cells rather than
unlock only a few cells):
http://office.microsoft.com/en-au/as...548251033.aspx

"Glenn" wrote:

OK LET ME SEE:
B1 HAS PULLED FROM OTHER CELL VIA VLOOKUP. B1 FORMULAR IS
=VLOOKUP(C1,Z1:Z25,2) THE RESULTS ARE IN B1. THE RESULTS IN B1 IS LET'S SAY
400. IF I WANT TO MANUALLY CHANGE THE RESULTS IN B1 TO SAY 600...WHEN I DO
THIS THE FORMULAR IN B1 IS ERASED. WHEN I PROTECT THE WORKSHEET IT WILL NOT
LET ME CHANGE ANYTHING IN B1. i NEED TO BE ABLE TO MANUALLY CHANGE B1 AND
NOT LOOSE THE VLOOK FORMULAR IN THAT CELL....I HOPE THIS MADE SINCE.


"Nick B" wrote:

Can you give us a little more information?
If you have a vlookup in cell B1 and the first part of the vlookup formula
is looking at A1. If you click on A1 and go to Format-Cells-Protection tab
and uncheck locked. Then go to Tools-Protection-Protect Sheet, you will be
able to change A1. If you change A1, the result in B1 will change as well (if
the result of the vlookup formula is supposed to change).

"Glenn" wrote:

I have set up a cell to pull infromation via vlookup. It work fine. My
problem is i want to be aboe to change the results of that cell without
loosing the formular for that cell. When i porotect the worksheet it will
not let me do anything with that cell.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cell formular glenn Excel Discussion (Misc queries) 1 September 8th 06 11:08 PM
Formular of one cell as text shown in another cell dan Excel Discussion (Misc queries) 2 August 22nd 06 01:13 AM
insert date Larry Excel Worksheet Functions 28 July 15th 06 02:41 AM
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM


All times are GMT +1. The time now is 02:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"