+ Reply to Thread
Results 1 to 6 of 6

How to receive an error if values exceed budget

  1. #1
    Registered User
    Join Date
    05-08-2012
    Location
    Afghanistan
    MS-Off Ver
    Excel 2007
    Posts
    4

    How to receive an error if values exceed budget

    Hi,
    I am not new to excel but I am not professional either, I am working on a budget plan and what I am trying to do is that e-g I have budget of 100,000 and then later we spend 30,000 out of it. So as it has a formula applied it will automatically show that 70,000 is left but later if we try to payout 80,000 still the sheet won't give error that I am exceeding the limit. So I was thinking what kind of function could be applied to it in what manner so that if I am exceeding my limits it warns me that you don't have that much in budget (I am not expecting it giving me long message a error written or False will work for me).

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to receive an error if values exceed budget

    Hi and welcome to the forum.

    You can use Custom Gormat to do this.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: How to receive an error if values exceed budget

    Something like

    A1 >> Budget
    B1 >> Spent

    C1 >> =IF(A1-B1<0,"Exceeded Budget",A1-B1)
    HTH
    Regards, Jeff

  4. #4
    Registered User
    Join Date
    05-08-2012
    Location
    Afghanistan
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: How to receive an error if values exceed budget

    Quote Originally Posted by jeffreybrown View Post
    Something like

    A1 >> Budget
    B1 >> Spent

    C1 >> =IF(A1-B1<0,"Exceeded Budget",A1-B1)
    Thanks you solved the issue ^^

  5. #5
    Registered User
    Join Date
    05-08-2012
    Location
    Afghanistan
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: How to receive an error if values exceed budget

    Quote Originally Posted by Fotis1991 View Post
    Hi and welcome to the forum.

    You can use Custom Gormat to do this.
    thanks for your welcome message, well I am unaware of Custom Gormat or maybe I know the thing but I don't know people call it Gormat ^^

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to receive an error if values exceed budget

    What i mean is this.

    In B1

    Data>>Validation>>Settings>Custom.

    Put this.

    =(A1-B1)>=0
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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