Is it possible to enter a value into an Excel cell and have the same cell output a result?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
Basically I want to be able to input the pay rate (ex: enter "14" to symbolize 14 dollars per hour) into the cell that already has a formula to get a result (In the same cell.).
If I input 14 in D20
I'll get 2426.67
as the result.
The formula is (((inputed value) * (40) * (52)) / (12))
- 40 weekly hours
- 52 is weeks in a year
- 12 is monthly
Is it possible?
microsoft-excel
add a comment |
Basically I want to be able to input the pay rate (ex: enter "14" to symbolize 14 dollars per hour) into the cell that already has a formula to get a result (In the same cell.).
If I input 14 in D20
I'll get 2426.67
as the result.
The formula is (((inputed value) * (40) * (52)) / (12))
- 40 weekly hours
- 52 is weeks in a year
- 12 is monthly
Is it possible?
microsoft-excel
4
Only if you build a macro that does the calculation, The formula and the result can't exist in the cell and not be overwritten by input
– datatoo
Feb 7 at 1:34
add a comment |
Basically I want to be able to input the pay rate (ex: enter "14" to symbolize 14 dollars per hour) into the cell that already has a formula to get a result (In the same cell.).
If I input 14 in D20
I'll get 2426.67
as the result.
The formula is (((inputed value) * (40) * (52)) / (12))
- 40 weekly hours
- 52 is weeks in a year
- 12 is monthly
Is it possible?
microsoft-excel
Basically I want to be able to input the pay rate (ex: enter "14" to symbolize 14 dollars per hour) into the cell that already has a formula to get a result (In the same cell.).
If I input 14 in D20
I'll get 2426.67
as the result.
The formula is (((inputed value) * (40) * (52)) / (12))
- 40 weekly hours
- 52 is weeks in a year
- 12 is monthly
Is it possible?
microsoft-excel
microsoft-excel
edited Feb 8 at 0:41
angelofdev
929120
929120
asked Feb 7 at 1:21
Brian OlivasBrian Olivas
112
112
4
Only if you build a macro that does the calculation, The formula and the result can't exist in the cell and not be overwritten by input
– datatoo
Feb 7 at 1:34
add a comment |
4
Only if you build a macro that does the calculation, The formula and the result can't exist in the cell and not be overwritten by input
– datatoo
Feb 7 at 1:34
4
4
Only if you build a macro that does the calculation, The formula and the result can't exist in the cell and not be overwritten by input
– datatoo
Feb 7 at 1:34
Only if you build a macro that does the calculation, The formula and the result can't exist in the cell and not be overwritten by input
– datatoo
Feb 7 at 1:34
add a comment |
3 Answers
3
active
oldest
votes
MS Excel doesn't work that way. Once you input something in to the cell, it overwrites it's contents.
You may be able to write a macro to do this, as suggested by @datatoo, however you still have the issue of the cell changing values when the answer is determined, which may trigger another calculation.
Why do you want to do this? Maybe we can suggest an alternate method for you.
The only reason for doing this was to keep it clean and simple. I am a mortgage lender and I made this application to pre qualify clients however not all of my other loan officers are tech savvy
– Brian Olivas
Feb 7 at 22:34
For that use case, this is the opposite of what you want to do. You want to put your user inputs in separate fields with explanation written next to them, then write your calculations in separate fields. Then protect the sheet, then unprotect ONLY the cells with input fields, then and only then distribute the workbook to your users. Speaking as someone who has worked with many non 'tech savvy' users of spreadsheets I've designed, the LAST thing you want to do is blur the lines between where your users are allowed to type and where they must leave things alone.
– Alex M
Feb 8 at 0:52
add a comment |
Any cell can have either a Formula or a Value, not both, This is how basically the Excel works for.
Now to attain what you describe, you would need VBA (Macro) to do the calculation when the cell value is changed.
The VBA code I'm suggesting in bit improvised and it works on entire Column or on any particular Data range, rather than only on a Cell, also prevents from Non numeric data.
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("A:A")) Is Nothing Then Exit Sub
If IsNumeric(Target.Value) Then
Application.EnableEvents = False
Target = (Target * 40 * 52) / 12
Application.EnableEvents = True
Else
MsgBox ("Only calculate numeric values")
End If
End Sub
N.B.
- Copy & Paste this Code as Standard module.
Range("A:A")
is editable and shouldRage("A:C")
or evenRange("A1:C10")
also.
add a comment |
It is possible only with using VBA and listening out for the the Worksheet_Change Event.
Give the below code a try, I have added informative comments in hopes you will learn how it works.
Private Sub Worksheet_Change(ByVal Target As Range)
' The below If statement uses Intersect to check,
' if the cell being changed is NOT cell D20 it gets ignored.
If Not Intersect(Target, Target.Worksheet.Range("D20")) Is Nothing Then
Application.EnableEvents = False 'Disables events to prevent endless loop
On Error GoTo Finalise 'Re-enable events
' The below code gets the value from cell D20,
' and stores the value to the inputVal variable.
inputVal = Range("D20").Value
' The below code does your calculation,
' and stores the value to the newValue variable.
newValue = (inputVal * 40 * 52) / 12
'Changes the value in cell D20 to the value of the newValue variable.
Range("D20").Value = newValue
End If
Finalise:
Application.EnableEvents = True
End Sub
Note: This code has to go into the sheet itself and not in a module.
Edit: Steps from comment.
- Go into the Developer Tab.
- Click on Visual Basic button to open,
- In the Visual Basic window that pops up look at the Project - VBAProject pane (on the left side of the window),
- Find your Worksheet, double click on it,
- Paste the above code in, save your workbook.
I am sorry, how would I do the above? Go to macros and record ? or use relative references?
– Brian Olivas
Feb 7 at 23:05
You'll have to open Visual Basic from the Developer Tab. In the Visual Basic window that pops up look at the Project - VBAProject pane (on the left side of the window) and find your Worksheet, double click on it, then paste your code in there.
– angelofdev
Feb 8 at 0:04
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1402925%2fis-it-possible-to-enter-a-value-into-an-excel-cell-and-have-the-same-cell-output%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
MS Excel doesn't work that way. Once you input something in to the cell, it overwrites it's contents.
You may be able to write a macro to do this, as suggested by @datatoo, however you still have the issue of the cell changing values when the answer is determined, which may trigger another calculation.
Why do you want to do this? Maybe we can suggest an alternate method for you.
The only reason for doing this was to keep it clean and simple. I am a mortgage lender and I made this application to pre qualify clients however not all of my other loan officers are tech savvy
– Brian Olivas
Feb 7 at 22:34
For that use case, this is the opposite of what you want to do. You want to put your user inputs in separate fields with explanation written next to them, then write your calculations in separate fields. Then protect the sheet, then unprotect ONLY the cells with input fields, then and only then distribute the workbook to your users. Speaking as someone who has worked with many non 'tech savvy' users of spreadsheets I've designed, the LAST thing you want to do is blur the lines between where your users are allowed to type and where they must leave things alone.
– Alex M
Feb 8 at 0:52
add a comment |
MS Excel doesn't work that way. Once you input something in to the cell, it overwrites it's contents.
You may be able to write a macro to do this, as suggested by @datatoo, however you still have the issue of the cell changing values when the answer is determined, which may trigger another calculation.
Why do you want to do this? Maybe we can suggest an alternate method for you.
The only reason for doing this was to keep it clean and simple. I am a mortgage lender and I made this application to pre qualify clients however not all of my other loan officers are tech savvy
– Brian Olivas
Feb 7 at 22:34
For that use case, this is the opposite of what you want to do. You want to put your user inputs in separate fields with explanation written next to them, then write your calculations in separate fields. Then protect the sheet, then unprotect ONLY the cells with input fields, then and only then distribute the workbook to your users. Speaking as someone who has worked with many non 'tech savvy' users of spreadsheets I've designed, the LAST thing you want to do is blur the lines between where your users are allowed to type and where they must leave things alone.
– Alex M
Feb 8 at 0:52
add a comment |
MS Excel doesn't work that way. Once you input something in to the cell, it overwrites it's contents.
You may be able to write a macro to do this, as suggested by @datatoo, however you still have the issue of the cell changing values when the answer is determined, which may trigger another calculation.
Why do you want to do this? Maybe we can suggest an alternate method for you.
MS Excel doesn't work that way. Once you input something in to the cell, it overwrites it's contents.
You may be able to write a macro to do this, as suggested by @datatoo, however you still have the issue of the cell changing values when the answer is determined, which may trigger another calculation.
Why do you want to do this? Maybe we can suggest an alternate method for you.
answered Feb 7 at 4:19
Scottie HScottie H
715
715
The only reason for doing this was to keep it clean and simple. I am a mortgage lender and I made this application to pre qualify clients however not all of my other loan officers are tech savvy
– Brian Olivas
Feb 7 at 22:34
For that use case, this is the opposite of what you want to do. You want to put your user inputs in separate fields with explanation written next to them, then write your calculations in separate fields. Then protect the sheet, then unprotect ONLY the cells with input fields, then and only then distribute the workbook to your users. Speaking as someone who has worked with many non 'tech savvy' users of spreadsheets I've designed, the LAST thing you want to do is blur the lines between where your users are allowed to type and where they must leave things alone.
– Alex M
Feb 8 at 0:52
add a comment |
The only reason for doing this was to keep it clean and simple. I am a mortgage lender and I made this application to pre qualify clients however not all of my other loan officers are tech savvy
– Brian Olivas
Feb 7 at 22:34
For that use case, this is the opposite of what you want to do. You want to put your user inputs in separate fields with explanation written next to them, then write your calculations in separate fields. Then protect the sheet, then unprotect ONLY the cells with input fields, then and only then distribute the workbook to your users. Speaking as someone who has worked with many non 'tech savvy' users of spreadsheets I've designed, the LAST thing you want to do is blur the lines between where your users are allowed to type and where they must leave things alone.
– Alex M
Feb 8 at 0:52
The only reason for doing this was to keep it clean and simple. I am a mortgage lender and I made this application to pre qualify clients however not all of my other loan officers are tech savvy
– Brian Olivas
Feb 7 at 22:34
The only reason for doing this was to keep it clean and simple. I am a mortgage lender and I made this application to pre qualify clients however not all of my other loan officers are tech savvy
– Brian Olivas
Feb 7 at 22:34
For that use case, this is the opposite of what you want to do. You want to put your user inputs in separate fields with explanation written next to them, then write your calculations in separate fields. Then protect the sheet, then unprotect ONLY the cells with input fields, then and only then distribute the workbook to your users. Speaking as someone who has worked with many non 'tech savvy' users of spreadsheets I've designed, the LAST thing you want to do is blur the lines between where your users are allowed to type and where they must leave things alone.
– Alex M
Feb 8 at 0:52
For that use case, this is the opposite of what you want to do. You want to put your user inputs in separate fields with explanation written next to them, then write your calculations in separate fields. Then protect the sheet, then unprotect ONLY the cells with input fields, then and only then distribute the workbook to your users. Speaking as someone who has worked with many non 'tech savvy' users of spreadsheets I've designed, the LAST thing you want to do is blur the lines between where your users are allowed to type and where they must leave things alone.
– Alex M
Feb 8 at 0:52
add a comment |
Any cell can have either a Formula or a Value, not both, This is how basically the Excel works for.
Now to attain what you describe, you would need VBA (Macro) to do the calculation when the cell value is changed.
The VBA code I'm suggesting in bit improvised and it works on entire Column or on any particular Data range, rather than only on a Cell, also prevents from Non numeric data.
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("A:A")) Is Nothing Then Exit Sub
If IsNumeric(Target.Value) Then
Application.EnableEvents = False
Target = (Target * 40 * 52) / 12
Application.EnableEvents = True
Else
MsgBox ("Only calculate numeric values")
End If
End Sub
N.B.
- Copy & Paste this Code as Standard module.
Range("A:A")
is editable and shouldRage("A:C")
or evenRange("A1:C10")
also.
add a comment |
Any cell can have either a Formula or a Value, not both, This is how basically the Excel works for.
Now to attain what you describe, you would need VBA (Macro) to do the calculation when the cell value is changed.
The VBA code I'm suggesting in bit improvised and it works on entire Column or on any particular Data range, rather than only on a Cell, also prevents from Non numeric data.
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("A:A")) Is Nothing Then Exit Sub
If IsNumeric(Target.Value) Then
Application.EnableEvents = False
Target = (Target * 40 * 52) / 12
Application.EnableEvents = True
Else
MsgBox ("Only calculate numeric values")
End If
End Sub
N.B.
- Copy & Paste this Code as Standard module.
Range("A:A")
is editable and shouldRage("A:C")
or evenRange("A1:C10")
also.
add a comment |
Any cell can have either a Formula or a Value, not both, This is how basically the Excel works for.
Now to attain what you describe, you would need VBA (Macro) to do the calculation when the cell value is changed.
The VBA code I'm suggesting in bit improvised and it works on entire Column or on any particular Data range, rather than only on a Cell, also prevents from Non numeric data.
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("A:A")) Is Nothing Then Exit Sub
If IsNumeric(Target.Value) Then
Application.EnableEvents = False
Target = (Target * 40 * 52) / 12
Application.EnableEvents = True
Else
MsgBox ("Only calculate numeric values")
End If
End Sub
N.B.
- Copy & Paste this Code as Standard module.
Range("A:A")
is editable and shouldRage("A:C")
or evenRange("A1:C10")
also.
Any cell can have either a Formula or a Value, not both, This is how basically the Excel works for.
Now to attain what you describe, you would need VBA (Macro) to do the calculation when the cell value is changed.
The VBA code I'm suggesting in bit improvised and it works on entire Column or on any particular Data range, rather than only on a Cell, also prevents from Non numeric data.
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("A:A")) Is Nothing Then Exit Sub
If IsNumeric(Target.Value) Then
Application.EnableEvents = False
Target = (Target * 40 * 52) / 12
Application.EnableEvents = True
Else
MsgBox ("Only calculate numeric values")
End If
End Sub
N.B.
- Copy & Paste this Code as Standard module.
Range("A:A")
is editable and shouldRage("A:C")
or evenRange("A1:C10")
also.
edited Feb 7 at 6:54
answered Feb 7 at 6:49
Rajesh SRajesh S
4,4282724
4,4282724
add a comment |
add a comment |
It is possible only with using VBA and listening out for the the Worksheet_Change Event.
Give the below code a try, I have added informative comments in hopes you will learn how it works.
Private Sub Worksheet_Change(ByVal Target As Range)
' The below If statement uses Intersect to check,
' if the cell being changed is NOT cell D20 it gets ignored.
If Not Intersect(Target, Target.Worksheet.Range("D20")) Is Nothing Then
Application.EnableEvents = False 'Disables events to prevent endless loop
On Error GoTo Finalise 'Re-enable events
' The below code gets the value from cell D20,
' and stores the value to the inputVal variable.
inputVal = Range("D20").Value
' The below code does your calculation,
' and stores the value to the newValue variable.
newValue = (inputVal * 40 * 52) / 12
'Changes the value in cell D20 to the value of the newValue variable.
Range("D20").Value = newValue
End If
Finalise:
Application.EnableEvents = True
End Sub
Note: This code has to go into the sheet itself and not in a module.
Edit: Steps from comment.
- Go into the Developer Tab.
- Click on Visual Basic button to open,
- In the Visual Basic window that pops up look at the Project - VBAProject pane (on the left side of the window),
- Find your Worksheet, double click on it,
- Paste the above code in, save your workbook.
I am sorry, how would I do the above? Go to macros and record ? or use relative references?
– Brian Olivas
Feb 7 at 23:05
You'll have to open Visual Basic from the Developer Tab. In the Visual Basic window that pops up look at the Project - VBAProject pane (on the left side of the window) and find your Worksheet, double click on it, then paste your code in there.
– angelofdev
Feb 8 at 0:04
add a comment |
It is possible only with using VBA and listening out for the the Worksheet_Change Event.
Give the below code a try, I have added informative comments in hopes you will learn how it works.
Private Sub Worksheet_Change(ByVal Target As Range)
' The below If statement uses Intersect to check,
' if the cell being changed is NOT cell D20 it gets ignored.
If Not Intersect(Target, Target.Worksheet.Range("D20")) Is Nothing Then
Application.EnableEvents = False 'Disables events to prevent endless loop
On Error GoTo Finalise 'Re-enable events
' The below code gets the value from cell D20,
' and stores the value to the inputVal variable.
inputVal = Range("D20").Value
' The below code does your calculation,
' and stores the value to the newValue variable.
newValue = (inputVal * 40 * 52) / 12
'Changes the value in cell D20 to the value of the newValue variable.
Range("D20").Value = newValue
End If
Finalise:
Application.EnableEvents = True
End Sub
Note: This code has to go into the sheet itself and not in a module.
Edit: Steps from comment.
- Go into the Developer Tab.
- Click on Visual Basic button to open,
- In the Visual Basic window that pops up look at the Project - VBAProject pane (on the left side of the window),
- Find your Worksheet, double click on it,
- Paste the above code in, save your workbook.
I am sorry, how would I do the above? Go to macros and record ? or use relative references?
– Brian Olivas
Feb 7 at 23:05
You'll have to open Visual Basic from the Developer Tab. In the Visual Basic window that pops up look at the Project - VBAProject pane (on the left side of the window) and find your Worksheet, double click on it, then paste your code in there.
– angelofdev
Feb 8 at 0:04
add a comment |
It is possible only with using VBA and listening out for the the Worksheet_Change Event.
Give the below code a try, I have added informative comments in hopes you will learn how it works.
Private Sub Worksheet_Change(ByVal Target As Range)
' The below If statement uses Intersect to check,
' if the cell being changed is NOT cell D20 it gets ignored.
If Not Intersect(Target, Target.Worksheet.Range("D20")) Is Nothing Then
Application.EnableEvents = False 'Disables events to prevent endless loop
On Error GoTo Finalise 'Re-enable events
' The below code gets the value from cell D20,
' and stores the value to the inputVal variable.
inputVal = Range("D20").Value
' The below code does your calculation,
' and stores the value to the newValue variable.
newValue = (inputVal * 40 * 52) / 12
'Changes the value in cell D20 to the value of the newValue variable.
Range("D20").Value = newValue
End If
Finalise:
Application.EnableEvents = True
End Sub
Note: This code has to go into the sheet itself and not in a module.
Edit: Steps from comment.
- Go into the Developer Tab.
- Click on Visual Basic button to open,
- In the Visual Basic window that pops up look at the Project - VBAProject pane (on the left side of the window),
- Find your Worksheet, double click on it,
- Paste the above code in, save your workbook.
It is possible only with using VBA and listening out for the the Worksheet_Change Event.
Give the below code a try, I have added informative comments in hopes you will learn how it works.
Private Sub Worksheet_Change(ByVal Target As Range)
' The below If statement uses Intersect to check,
' if the cell being changed is NOT cell D20 it gets ignored.
If Not Intersect(Target, Target.Worksheet.Range("D20")) Is Nothing Then
Application.EnableEvents = False 'Disables events to prevent endless loop
On Error GoTo Finalise 'Re-enable events
' The below code gets the value from cell D20,
' and stores the value to the inputVal variable.
inputVal = Range("D20").Value
' The below code does your calculation,
' and stores the value to the newValue variable.
newValue = (inputVal * 40 * 52) / 12
'Changes the value in cell D20 to the value of the newValue variable.
Range("D20").Value = newValue
End If
Finalise:
Application.EnableEvents = True
End Sub
Note: This code has to go into the sheet itself and not in a module.
Edit: Steps from comment.
- Go into the Developer Tab.
- Click on Visual Basic button to open,
- In the Visual Basic window that pops up look at the Project - VBAProject pane (on the left side of the window),
- Find your Worksheet, double click on it,
- Paste the above code in, save your workbook.
edited Feb 8 at 0:11
answered Feb 7 at 3:51
angelofdevangelofdev
929120
929120
I am sorry, how would I do the above? Go to macros and record ? or use relative references?
– Brian Olivas
Feb 7 at 23:05
You'll have to open Visual Basic from the Developer Tab. In the Visual Basic window that pops up look at the Project - VBAProject pane (on the left side of the window) and find your Worksheet, double click on it, then paste your code in there.
– angelofdev
Feb 8 at 0:04
add a comment |
I am sorry, how would I do the above? Go to macros and record ? or use relative references?
– Brian Olivas
Feb 7 at 23:05
You'll have to open Visual Basic from the Developer Tab. In the Visual Basic window that pops up look at the Project - VBAProject pane (on the left side of the window) and find your Worksheet, double click on it, then paste your code in there.
– angelofdev
Feb 8 at 0:04
I am sorry, how would I do the above? Go to macros and record ? or use relative references?
– Brian Olivas
Feb 7 at 23:05
I am sorry, how would I do the above? Go to macros and record ? or use relative references?
– Brian Olivas
Feb 7 at 23:05
You'll have to open Visual Basic from the Developer Tab. In the Visual Basic window that pops up look at the Project - VBAProject pane (on the left side of the window) and find your Worksheet, double click on it, then paste your code in there.
– angelofdev
Feb 8 at 0:04
You'll have to open Visual Basic from the Developer Tab. In the Visual Basic window that pops up look at the Project - VBAProject pane (on the left side of the window) and find your Worksheet, double click on it, then paste your code in there.
– angelofdev
Feb 8 at 0:04
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1402925%2fis-it-possible-to-enter-a-value-into-an-excel-cell-and-have-the-same-cell-output%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
4
Only if you build a macro that does the calculation, The formula and the result can't exist in the cell and not be overwritten by input
– datatoo
Feb 7 at 1:34