+ Reply to Thread
Results 1 to 2 of 2

If and Greater Than or Absolute Amt Code required

  1. #1
    Registered User
    Join Date
    07-01-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    66

    If and Greater Than or Absolute Amt Code required

    Hi, need some help here in the below code.

    This code throws up a comment 'DISPUTE AMT MISMATCH' when the amt in a particular column is more than 1,000,000 (1million) However, i have amounts that are sometimes in the negative side and still more than a million. For e.g. (-25,000,000 or -5,000,000) and it doesnt populate the comment.

    What formula should i apply so that it still throws up the comment 'DISPUTE AMT MISMATCH'?

    Please Login or Register  to view this content.

    else, can i have an absolute amount as a result of the below code which would automatically make all the amouts positive and then my above code would not require any change.


    Please Login or Register  to view this content.

    Thanks

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,848

    Re: If and Greater Than or Absolute Amt Code required

    This code will insert a formula that shows the error if the amount is over 1,000,000 or less than -1,000,000.

    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. Help required with a greater than formula
    By Backroomgeeza in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-05-2012, 10:22 AM
  2. Replies: 12
    Last Post: 06-24-2012, 03:14 PM
  3. Relative code vs absolute code
    By dalewms2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-03-2011, 12:52 PM
  4. Relative code vs absolute code
    By dalewms2 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-22-2011, 04:17 PM
  5. absolute cell referencing in VBA code
    By phuang1226 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2007, 11:57 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