+ Reply to Thread
Results 1 to 4 of 4

Automate calculation in different sheets

  1. #1
    Registered User
    Join Date
    03-21-2023
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    2

    Automate calculation in different sheets

    Dear forum,

    As I'm new here, pls forgive things a may not do according to forumrules.

    I generate through out the year lots of Excelfiles. You can see one in the example.

    The sheet "Tellingen" is the original one. This is what I do and would like to automate. Is this possible?
    - Add collum "Betrouwbaarheidheid" as % in sheet "tellingen"
    - fill in formula =ALS(G3<>"";ALS.FOUT(MAX(0;1-(ABS(H3-G3)/G3)*1);0);"")
    - Fill all the rows
    - Add sheet "Locatie"
    - Add pivot table
    - Add sheet "voorraad"
    - Add formula =ALS(B4<>"";ALS.FOUT(MAX(0;1-(ABS(C4-B4)/B4)*1);0);"")
    - Fill all the rows

    Hepl would be appriciated.

    Regards,

    Gijs

    And the results of "eindtotaal" I put in a different Excelsheet to make a graph

    Test.xlsx

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Automate calculation in different sheets

    Here is an option for you.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-21-2023
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    2

    Re: Automate calculation in different sheets

    Thank you Maniacb for your quick response!

    As I am a complete noob on Excel, would it be possible for you for you to guide me into the direction how to use this in the testfile?
    Maybe you can insert it there so I can understand how it is used?

    Many thanks,

    Gijs

  4. #4
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Automate calculation in different sheets

    Here is the file with the code embedded. I would use this file as a template where once you open it, save the file with a new name, copy and paste in the data in the Telligen tab, then run the code by pressing ctrl-g. I can also rewrite it so that the code is saved in your personal file(always opens with excel in the background) so that you can run the code and select a file to apply the update to. Let me know.
    Attached Files Attached Files

+ 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. [SOLVED] automate average calculation
    By Mike_F in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 05-09-2017, 01:02 PM
  2. To automate Calculation of time taken
    By rshnkmr39 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-15-2014, 03:00 PM
  3. HELP: macro to automate a calculation
    By sampsulo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2013, 09:05 AM
  4. Excel 2007 : How to automate calculation of threshold value?
    By sandyjune1988 in forum Excel General
    Replies: 1
    Last Post: 12-28-2011, 02:50 AM
  5. Automate Calculation with help of VBA
    By Dongfang in forum Excel General
    Replies: 2
    Last Post: 03-11-2011, 04:29 AM
  6. Automate simple calculation/formula
    By Leslie in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 AM
  7. [SOLVED] Help required to automate calculation
    By Tom in forum Excel General
    Replies: 1
    Last Post: 02-02-2005, 10:06 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