|
|
#1 |
|
Totally Addicted
Join Date: Dec 2004
Location: I live in the hearts of the weak and the wounded.
Posts: 6,624
vCash: 2000 |
I am using a formula to perform a repetitive calculation and have protected the sheet so people can't edit the formula. I want to set it so that when people close the file, the values they entered are not saved with it....in fact, I don't want the save option to show up at all.
So if the formula is =sum(c1+c3)/12, I want c1, c3, and the answer cell to go blank upon closing the file. Can anyone tell me how to do this?
__________________
Retire #80 - Wayne Chrebet |
|
|
|
|
#2 |
|
THE Dead Rabbit
Join Date: Apr 2009
Location: n/a Current Quest: Searching for my Unicorn
Posts: 10,824
vCash: 25 |
Just make it read only-
They can still use the formula you entered but would have to save the file as their own to keep the changes. It's under the save settings when you click save as. Is this 2007?? |
|
|
| MadBacker Prime |
| View Public Profile |
| Find More Posts by MadBacker Prime |
|
|
#3 | |
|
Banned
Join Date: Feb 2008
Location: Kanadia
Posts: 18,134
vCash: 65830 |
Quote:
If you know how to code in Visual Basic...this will be an easy fix.....If you PM me what you want done in full detail...I could probably write the script for you. |
|
|
|
|
|
#4 |
|
Totally Addicted
Join Date: Dec 2004
Location: I live in the hearts of the weak and the wounded.
Posts: 6,624
vCash: 2000 |
Yeah unfortunately I can't write macros. What I am doing right now would be so much easier if I could...
ok MB I might PM you....sort of complex though...I'd have to figure out how to explain it. It's in 2003.
__________________
Retire #80 - Wayne Chrebet |
|
|
|
|
#5 |
|
Banned
Join Date: Feb 2008
Location: Kanadia
Posts: 18,134
vCash: 65830 |
|
|
|
|
|
#6 |
|
Trolls
Join Date: Aug 2008
Posts: 8,063
vCash: 50 |
|
|
|
|
|
#7 |
|
Banned
Join Date: Feb 2008
Location: Kanadia
Posts: 18,134
vCash: 65830 |
^ gross...yet...funny.
lawl. |
|
|
|
|
#8 |
|
Trolls
Join Date: Aug 2008
Posts: 8,063
vCash: 50 |
Wait, nevermind. That comment could be construed wrong...
|
|
|
|
|
#9 |
|
Banned
Join Date: Feb 2008
Location: Kanadia
Posts: 18,134
vCash: 65830 |
what you do in your spare time is your business, man.....doesn't mean the rest of us can't enjoy a hearty laugh over it.
At least, now we know why all those pics of hot broads were considered to be "butterfaces" in your opinion........ |
|
|
|
|
#10 |
|
Totally Addicted
Join Date: Dec 2004
Location: I live in the hearts of the weak and the wounded.
Posts: 6,624
vCash: 2000 |
Got it sorted out now....and learned about IF statements
__________________
Retire #80 - Wayne Chrebet |
|
|
|
|
#11 |
|
Banned
Join Date: Feb 2008
Location: Kanadia
Posts: 18,134
vCash: 65830 |
|
|
|
|
|
#12 |
|
Totally Addicted
Join Date: Jan 2003
Location: Las Vegas, NV
Posts: 9,367
vCash: 400 |
Especially when combined with other if statements. The most essential Excel formula for me over the last couple years:
{=sum(if(A=B,C,0)*if(X=Y,Z,0))} Well, that and VLOOKUP. |
|
|
|
|
#13 |
|
Totally Addicted
Join Date: Dec 2004
Location: I live in the hearts of the weak and the wounded.
Posts: 6,624
vCash: 2000 |
New request.
In column G I have =$f2-$e2 I want to drag that formula down the page but I dont want to have a 0 in column G for every single row. I just want the numbers to appear in each row of column G as info gets entered into columns F and E as we go down the worksheet. So basically, I don't want anything to populate in column G unless there's data in the corresponding cell in column F. I think it is an IF statement but I cant rememeber how to do it. I used to know how to make all this stuff easier and enjoyed usng these formulas, now I can't remember any of this stuff
__________________
Retire #80 - Wayne Chrebet Last edited by Jtuds; 04-20-2012 at 02:19 PM. |
|
|
|
|
#14 |
|
Totally Addicted
Join Date: Dec 2004
Location: 1000+ posts FTW!
Posts: 2,470
vCash: 500 |
Try this
=IF(And(Not($f2=0), Not($g2=0)), $f2-$e2, "") |
|
|
| nyscene911 |
| View Public Profile |
| Find More Posts by nyscene911 |
|
|
#15 |
|
Totally Addicted
Join Date: Nov 2008
Location: Westchester, NY
Posts: 3,893
vCash: 25 |
Or you could also simply use:
=If($F2="","",$F2-$E2)
__________________
In the warrior's code, there's no surrender. Though his body says stop, his spirit cries - never! |
|
|
|
|
#16 |
|
Totally Addicted
Join Date: Jan 2003
Location: Las Vegas, NV
Posts: 9,367
vCash: 400 |
The first is more flashy, but the second is easier. Both work just as well, thouh I think you need "" instead of 0 in the first one.
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|