+ Reply to Thread
Results 1 to 13 of 13

Calculation box to change Data VBA

  1. #1
    Registered User
    Join Date
    06-07-2017
    Location
    Bluffton, SC
    MS-Off Ver
    2013
    Posts
    15

    Calculation box to change Data VBA

    Hello,

    I am trying to create a data box that will increase or decrease my data "volume" by a percentage! I have attached a sample document.

    I want to accomplish the following:
    - When I type a percentage in the box the volume cells change by that percentage
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,475

    Re: Calculation box to change Data

    Cells cannot at the same time contain a manually entered value and a formula, so I don't believe this is something you can do easily, if at all, using formulae. Shall I move your thread to the VBA section?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    06-07-2017
    Location
    Bluffton, SC
    MS-Off Ver
    2013
    Posts
    15

    Re: Calculation box to change Data

    Yes, that would be great thank you!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,475

    Re: Calculation box to change Data VBA

    All done.

  5. #5
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523

    Re: Calculation box to change Data VBA

    The code to do this could be,
    Please Login or Register  to view this content.
    if you wanted a worksheet change event then this code would go into the worksheet module.

    So when you change E2 the code will kick in.

    Please Login or Register  to view this content.
    How you enter the percentage could be a factor
    Last edited by davesexcel; 07-27-2017 at 10:53 AM.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,475

    Re: Calculation box to change Data VBA

    No code, Dave ...

    EDIT: Code added by Dave.
    Last edited by AliGW; 07-28-2017 at 09:03 AM.

  7. #7
    Registered User
    Join Date
    06-07-2017
    Location
    Bluffton, SC
    MS-Off Ver
    2013
    Posts
    15

    Re: Calculation box to change Data VBA

    Is there anyway to do it without code??

  8. #8
    Registered User
    Join Date
    06-07-2017
    Location
    Bluffton, SC
    MS-Off Ver
    2013
    Posts
    15

    Re: Calculation box to change Data

    This issue is still not resolved! Is there something else that I need to do to get someone to look at it?

  9. #9
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523

    Re: Calculation box to change Data VBA

    Refer to post#2 in this thread

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,475

    Re: Calculation box to change Data VBA

    Quote Originally Posted by Balzer13 View Post
    Is there anyway to do it without code??
    No. As Dave has said, refer to my first response in this thread.

    Quote Originally Posted by davesexcel View Post
    Refer to post#2 in this thread

    Quote Originally Posted by Balzer13 View Post
    This issue is still not resolved! Is there something else that I need to do to get someone to look at it?
    You have been given a working solution - have you tried it?

  11. #11
    Registered User
    Join Date
    06-07-2017
    Location
    Bluffton, SC
    MS-Off Ver
    2013
    Posts
    15

    Re: Calculation box to change Data VBA

    Yes, I have tried and am still not achieving the result I am trying to reach

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,475

    Re: Calculation box to change Data VBA

    If the result you are trying to reach is a formula only solution, then you aren't going to reach it.

  13. #13
    Registered User
    Join Date
    07-28-2017
    Location
    South Yorkshire
    MS-Off Ver
    365
    Posts
    1

    Re: Calculation box to change Data VBA

    why not place your data in a column and hide it then place the formula in the column where the data is now ?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 11-06-2015, 08:02 AM
  2. [SOLVED] Calculation change for the daylight savings time change
    By icetoken in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-02-2015, 10:22 AM
  3. Change Start dates upon duration days change in Project timeline calculation.
    By skyping in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-10-2015, 10:28 AM
  4. Calculation formula on Change by Val
    By cajand in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-28-2015, 04:51 AM
  5. Calculation table - change 1 parameter and save data
    By dourpil in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-30-2014, 06:51 AM
  6. [SOLVED] Percentage of change calculation
    By maddog9486 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-20-2009, 05:28 PM
  7. % Change calculation
    By al in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-08-2005, 01:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1