+ Reply to Thread
Results 1 to 2 of 2

Sum Values and comparison with coloum and give MSG using Macros

  1. #1
    Registered User
    Join Date
    01-14-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    1

    Sum Values and comparison with coloum and give MSG using Macros

    Hi,

    I need help to know how to write VBA coding to do SUM of rows and than comparison with one fixed coloum and give the error message if value exceeds,


    Fixed col. Jan Feb March April Comparison Pop Msg
    100 10 20 30 20 80
    200 20 30 40 50 140
    300 30 50 60 200 340 Value exceeds

    Thanks a lot

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Sum Values and comparison with coloum and give MSG using Macros

    hi Manojkanwar, welcome to the forum. it's always good to provide a sample Excel file. do you need a pop up message that shows 1 at a time which exceeds? or show all that exceeds? or have a text "Value exceeds" in the row?

    for the 1st:
    Please Login or Register  to view this content.
    for the 3rd:
    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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