+ Reply to Thread
Results 1 to 4 of 4

Excel lookup function or conditional formula?

  1. #1
    Registered User
    Join Date
    06-14-2012
    Location
    Solihull, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Excel lookup function or conditional formula?

    I'm not sure which is the correct approach to use here, but I am trying to create a spreadsheet that will allow me to sum any unpaid invoices and then compare this value with a user inputted credit limit.

    There will be a column containing the amount due for each invoice, and another column where a value ("y") will be entered if the invoice has been paid. There will then be a box which shows the total amount of all unpaid invoices (where there is no "y" in the Paid column). If the amount in this total unpaid invoices cell is below the credit limit, a further cell will display "Supply", if the value exceeds the clients credit limit the cell will display the value "Do not supply".

    Does anyone know how best to go about this?

    Thanks,

    Mark

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Excel lookup function or conditional formula?

    Assuming data in
    A2:A10 and y's in B2:B10

    to sum the values with "Y", =SUMIF(B2:B10,"Y",A2:A10)

    then assuming you put that in B11


    =IF(B11<X1,"Supply","Do Not Supply")

    where X1 contains the credit limit.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    02-14-2011
    Location
    West Valley City, Utah
    MS-Off Ver
    Excel 2010
    Posts
    108

    Re: Excel lookup function or conditional formula?

    Dear atlpersonnel,

    You could use NBVC's option, but I believe my solution is a bit closer to what you are looking for. Attached is a file I created to reference everything. If And And Statements.xlsx

    If you have any questions, let me know!
    Last edited by Sky188; 06-14-2012 at 12:50 PM.

  4. #4
    Registered User
    Join Date
    06-14-2012
    Location
    Solihull, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Excel lookup function or conditional formula?

    NBVC thank you, that is exactly what I was looking for, who knew it could be so simple.

+ 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