+ Reply to Thread
Results 1 to 4 of 4

On Save, Calculate to Restore Formulas is modified. And a add totals of unique values.

  1. #1
    Forum Contributor
    Join Date
    03-27-2022
    Location
    MS, USA
    MS-Off Ver
    Microsoft 365
    Posts
    143

    On Save, Calculate to Restore Formulas is modified. And a add totals of unique values.

    Evening,

    I have two macro request.

    1. I want a macro that will recalculate formulas in two different Columns [J & R], that if they are modified. When the file is saved, the formulas revert back to normal.

    2. I want to look at the range of S2:Y800. In Column AA starting at AA2, I want a list of all the unique values. and in Column AB, starting at AB2 a count of how many times that value appears in the range of S2:Y800. Just like the 1st formula, I want this macro to run when the file is saved.

    Thank you in advance for your time and efforts.
    Attached Files Attached Files
    Last edited by Ajaxs87; 05-27-2023 at 04:02 PM.

  2. #2
    Forum Contributor
    Join Date
    03-27-2022
    Location
    MS, USA
    MS-Off Ver
    Microsoft 365
    Posts
    143

    Re: On Save, Calculate to Restore Formulas is modified. And a add totals of unique values.

    Hi,

    This is where I am at currently with this.

    1. I tried this macro combo from another project I had back in the day, but its not working and not quite sure where I am messing up at.

    Macro in the sheet
    Please Login or Register  to view this content.
    Then in a module
    Please Login or Register  to view this content.
    I want column "TM in Process Where Made" and "Cost Calculator" to calculate the formulas back in on save.

    2. [SOLVED] I went with a formula of
    Please Login or Register  to view this content.
    instead with a countif formula in the next column.

    Any help would be appreciated .

    Thank you.

  3. #3
    Forum Contributor
    Join Date
    03-27-2022
    Location
    MS, USA
    MS-Off Ver
    Microsoft 365
    Posts
    143

    Re: On Save, Calculate to Restore Formulas is modified. And a add totals of unique values.

    I have made progress with this, but ran into a problem and not sure why. So I accomplished my task with the "TM in Process Where Made" column, but only when SelectionChange is the option for the worksheet. I want it the macro to activate when the file is saved to limited issues. Hoping to get the macro below to work in column J "TM in Process Where Made" when the file is saved. Thank you.

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    03-27-2022
    Location
    MS, USA
    MS-Off Ver
    Microsoft 365
    Posts
    143

    Re: On Save, Calculate to Restore Formulas is modified. And a add totals of unique values.

    I have been able to make this work for me. This is the macro I came up with, this is here to help anyone with a similar situation.

    Please Login or Register  to view this content.

+ 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: 5
    Last Post: 05-20-2023, 04:39 PM
  2. [SOLVED] Modified COUNTIF but only counting unique values
    By Badvgood in forum Excel General
    Replies: 5
    Last Post: 02-09-2021, 06:32 AM
  3. Sum ALL unique values into individual totals - see worksheet please
    By deemyBoy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-22-2012, 09:09 AM
  4. modified:YTD Totals
    By mycon73 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-23-2011, 07:18 PM
  5. Using an INI to save and restore check box values
    By SystemsAccountant in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-19-2010, 04:56 PM
  6. Count Unique values and summarize totals
    By MattG in forum Excel General
    Replies: 3
    Last Post: 06-26-2009, 04:59 PM
  7. Creating formulas to calculate daily totals and percentages
    By salinas_fam in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-14-2009, 01:57 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