+ Reply to Thread
Results 1 to 6 of 6

Enter the percentage in cell A1, how to automatic update the data in columns C,H,M,R,W,AB,

  1. #1
    Registered User
    Join Date
    08-31-2020
    Location
    Japan
    MS-Off Ver
    2016
    Posts
    88

    Enter the percentage in cell A1, how to automatic update the data in columns C,H,M,R,W,AB,

    Enter the percentage in cell A1, how to automatic update the data in columns C,H,M,R,W,AB,AG,AL at once

    VBA CODE
    Example: C2 data is 1.7, C2 wants to change to 1.87 (C2+C2*$A$1) (1.7+1.7*10%=1.87) C3:C34 Other analogy
    Example: H2 data is 2.92, H2 wants to change to 3.212 (H2+H2*$A$1) (2.92+2.92*10%=3.212) H3:H34 Other analogy

    Any help would be appreciated! Thanks
    Attached Files Attached Files
    Last edited by Sakurayuki; 04-24-2021 at 12:36 AM.

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: Enter the percentage in cell A1, how to automatic update the data in columns C,H,M,R,W

    To sheet1 code module
    Please Login or Register  to view this content.
    Last edited by jindon; 04-23-2021 at 11:27 PM.

  3. #3
    Registered User
    Join Date
    08-31-2020
    Location
    Japan
    MS-Off Ver
    2016
    Posts
    88

    Re: Enter the percentage in cell A1, how to automatic update the data in columns C,H,M,R,W

    Excellent solution. Thank you Mr jindon , Thank you very much for the solution.

  4. #4
    Registered User
    Join Date
    08-31-2020
    Location
    Japan
    MS-Off Ver
    2016
    Posts
    88

    Re: Enter the percentage in cell A1, how to automatic update the data in columns C,H,M,R,W

    jindon Guru , How to put the following code

    .Value = Evaluate("if(isnumber(" & .Address & ")," & .Address & _
    "+" & .Address & "*a1,if(" & .Address & "<>""""," & .Address & ",""""))")


    Modify it like this , maybe C2 is .address

    C2 =IF($A$1>0,ROUND(C2/(1-$A$1),2),ROUND(C2-C2*ABS($A$1),2))
    C3 =IF($A$1>0,ROUND(C3/(1-$A$1),2),ROUND(C3-C3*ABS($A$1),2))
    ..
    .



    H2 =IF($A$1>0,ROUND(H2/(1-$A$1),2),ROUND(H2-H2*ABS($A$1),2))

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: Enter the percentage in cell A1, how to automatic update the data in columns C,H,M,R,W

    Try change to
    Please Login or Register  to view this content.
    and see if this works as you expected...

  6. #6
    Registered User
    Join Date
    08-31-2020
    Location
    Japan
    MS-Off Ver
    2016
    Posts
    88

    Re: Enter the percentage in cell A1, how to automatic update the data in columns C,H,M,R,W

    Fantastic exactly what I was looking for. Very much appreciated it.

+ 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. Import Data in a cell to another workbook, automatic update by Date
    By CaineSmith in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-11-2021, 07:39 AM
  2. Enter and Update Data on One Cell based on Date
    By amrit02 in forum Excel General
    Replies: 3
    Last Post: 12-27-2015, 12:21 PM
  3. How to generate automatic date when we enter data in a cell
    By semeer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2013, 10:24 AM
  4. Automatic enter then tab to next cell
    By HHR in forum Excel General
    Replies: 8
    Last Post: 10-25-2012, 03:02 AM
  5. match data in two columns, enter info in certain cell
    By mslavick in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 10-15-2012, 03:10 PM
  6. [SOLVED] Auto update another cell upon data enter
    By zonexs123 in forum Excel General
    Replies: 3
    Last Post: 03-14-2012, 07:47 PM
  7. update all rows and columns by a percentage
    By 2nd sight in forum Excel General
    Replies: 5
    Last Post: 05-20-2008, 12:36 PM

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