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;
}







1















Image 1



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?










share|improve this question




















  • 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


















1















Image 1



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?










share|improve this question




















  • 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














1












1








1








Image 1



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?










share|improve this question
















Image 1



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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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














  • 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










3 Answers
3






active

oldest

votes


















1














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.






share|improve this answer
























  • 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



















1














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 should Rage("A:C") or even Range("A1:C10") also.






share|improve this answer

































    0














    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.




    1. Go into the Developer Tab.

    2. Click on Visual Basic button to open,

    3. In the Visual Basic window that pops up look at the Project - VBAProject pane (on the left side of the window),

    4. Find your Worksheet, double click on it,

    5. Paste the above code in, save your workbook.


    Steps from comment






    share|improve this answer


























    • 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












    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    1














    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.






    share|improve this answer
























    • 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
















    1














    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.






    share|improve this answer
























    • 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














    1












    1








    1







    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.






    share|improve this answer













    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.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    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



















    • 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













    1














    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 should Rage("A:C") or even Range("A1:C10") also.






    share|improve this answer






























      1














      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 should Rage("A:C") or even Range("A1:C10") also.






      share|improve this answer




























        1












        1








        1







        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 should Rage("A:C") or even Range("A1:C10") also.






        share|improve this answer















        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 should Rage("A:C") or even Range("A1:C10") also.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Feb 7 at 6:54

























        answered Feb 7 at 6:49









        Rajesh SRajesh S

        4,4282724




        4,4282724























            0














            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.




            1. Go into the Developer Tab.

            2. Click on Visual Basic button to open,

            3. In the Visual Basic window that pops up look at the Project - VBAProject pane (on the left side of the window),

            4. Find your Worksheet, double click on it,

            5. Paste the above code in, save your workbook.


            Steps from comment






            share|improve this answer


























            • 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
















            0














            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.




            1. Go into the Developer Tab.

            2. Click on Visual Basic button to open,

            3. In the Visual Basic window that pops up look at the Project - VBAProject pane (on the left side of the window),

            4. Find your Worksheet, double click on it,

            5. Paste the above code in, save your workbook.


            Steps from comment






            share|improve this answer


























            • 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














            0












            0








            0







            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.




            1. Go into the Developer Tab.

            2. Click on Visual Basic button to open,

            3. In the Visual Basic window that pops up look at the Project - VBAProject pane (on the left side of the window),

            4. Find your Worksheet, double click on it,

            5. Paste the above code in, save your workbook.


            Steps from comment






            share|improve this answer















            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.




            1. Go into the Developer Tab.

            2. Click on Visual Basic button to open,

            3. In the Visual Basic window that pops up look at the Project - VBAProject pane (on the left side of the window),

            4. Find your Worksheet, double click on it,

            5. Paste the above code in, save your workbook.


            Steps from comment







            share|improve this answer














            share|improve this answer



            share|improve this answer








            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



















            • 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


















            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Сан-Квентин

            8-я гвардейская общевойсковая армия

            Алькесар