+ Reply to Thread
Results 1 to 5 of 5

Compare Sum of 2 Columns and Give Message Box

  1. #1
    Valued Forum Contributor
    Join Date
    03-23-2008
    Location
    Tennessee
    MS-Off Ver
    Office 2007
    Posts
    706

    Compare Sum of 2 Columns and Give Message Box

    Greeting Gurus - I am trying to include script that would compare the Sum of Columns "M" and "N" and give me a message box that says "Net Wt. is Higher Than Gross Wt." if the sum of "N" is higher than "M".

    Thanks in advance for any help you can offer.

    Have a good one.
    Last edited by [email protected]; 02-08-2019 at 03:12 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    02-06-2014
    Location
    N/A
    MS-Off Ver
    N/A
    Posts
    373

    Re: Compare Sum of 2 Columns and Give Message Box

    Hiya, try something like this?

    Please Login or Register  to view this content.

  3. #3
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,777

    Re: Compare Sum of 2 Columns and Give Message Box

    Assuming values to add start in row 2, try:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  4. #4
    Valued Forum Contributor
    Join Date
    03-23-2008
    Location
    Tennessee
    MS-Off Ver
    Office 2007
    Posts
    706

    Re: Compare Sum of 2 Columns and Give Message Box

    Perfect, Mumps. Thanks!

    Poizhan, (love the name), i didn't try yours, but I do appreciate the help.

    Health, Harmony, and Happiness!

  5. #5
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,777

    Re: Compare Sum of 2 Columns and Give Message Box

    You are very welcome.

+ 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. Compare 2 columns and give % difference
    By grafx77 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-24-2018, 05:38 AM
  2. Compare multiple columns for match then give MIN
    By em1335 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-01-2016, 03:43 PM
  3. please help with compare two columns and give me result?
    By tomislav91 in forum Excel General
    Replies: 3
    Last Post: 01-24-2015, 02:48 PM
  4. Replies: 0
    Last Post: 10-21-2014, 06:52 AM
  5. [SOLVED] Compare two ranges of data and give unique values in two different columns ignoring blanks
    By rampulaparthi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-16-2013, 04:17 PM
  6. Compare 2 columns then give count
    By George4 in forum Excel General
    Replies: 27
    Last Post: 10-02-2008, 11:43 PM
  7. Help with macro to give a message box
    By nik_gujarathi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-24-2006, 11:37 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