+ Reply to Thread
Results 1 to 6 of 6

*0 Sum Variance Macro* Please help

  1. #1
    Registered User
    Join Date
    06-20-2017
    Location
    charlotte,nc
    MS-Off Ver
    nc
    Posts
    12

    Question *0 Sum Variance Macro* Please help

    Hello,

    Is there a way to automate finding all numbers that sum to "0" in a raw data sheet and highlighting them?

    i can attach an example file if you need more info..

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,613

    Re: *0 Sum Variance Macro* Please help

    If you want to do it manually, you can use solver for that.
    And of course solver could be used/invoked in macro code.
    But the useability of solver depends on your data, so yes, attach the example file (it is almost always a good idea).

    Also - have a look if you can adopt some of the already published solutions for similar problems, (to show just few):
    https://www.excelforum.com/excel-for...ain-value.html
    http://www.excelforum.com/excel-prog...ing-macro.html
    http://www.excelforum.com/excel-prog...sum-split.html
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    06-20-2017
    Location
    charlotte,nc
    MS-Off Ver
    nc
    Posts
    12

    Re: *0 Sum Variance Macro* Please help

    0.PNG


    here is a sample file - the highlights are variances under $5 threshold. I want to automate finding the 0 sums.

  4. #4
    Registered User
    Join Date
    06-20-2017
    Location
    charlotte,nc
    MS-Off Ver
    nc
    Posts
    12

    Re: *0 Sum Variance Macro* Please help

    Here is a sample file to look at
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-20-2017
    Location
    charlotte,nc
    MS-Off Ver
    nc
    Posts
    12

    Re: *0 Sum Variance Macro* Please help

    columns F,G, and H are the reconciling columns in the raw data sheet. don't worry about any other sheets. Thanks gurus!

  6. #6
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,613

    Re: *0 Sum Variance Macro* Please help

    1) The picture you posted is not reflected in worksheet data, so not very helpful :-(
    2) As other sheets are not needed - why clutter?

+ 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: 08-01-2016, 09:07 PM
  2. toggle between variance in units and % variance
    By ammartino44 in forum Excel General
    Replies: 3
    Last Post: 06-03-2014, 07:21 PM
  3. [SOLVED] Find the date of a variance amount over a limit and count the days since the variance.
    By avidcat in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-21-2013, 12:00 PM
  4. Price Variance and Dollar Variance for multiple stores on certain products
    By hutchgeo4 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-22-2013, 05:49 PM
  5. mean and variance
    By Dirk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2006, 12:20 PM
  6. [SOLVED] Pivot Tables - Variance and Variance %
    By PJS in forum Excel General
    Replies: 2
    Last Post: 01-17-2006, 11:15 PM
  7. [SOLVED] Pivot Tables - Variance and % Variance fields
    By CraigS in forum Excel General
    Replies: 5
    Last Post: 01-05-2005, 09:06 PM

Tags for this Thread

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