Results 1 to 11 of 11

Exclude certain cells from min calculation if criteria not met

Threaded View

  1. #1
    Registered User
    Join Date
    01-25-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    37

    Exclude certain cells from min calculation if criteria not met

    Hello all,

    I am working a project to compare the lowest price of three companies on multiple products.

    I want to add a column to show if the item is in stock. I have applied a formula to show if there is a sufficient number of items in stock producing either "Y" or "N". I need excel to check this column before telling me the lowest priced item. I have therefore worked out this formula for if all items are in stock
    Formula: copy to clipboard
    =IF(ISBLANK(B5),"",IF(AND(E5="",G5="",I5=""),"",IF(AND(G5="Y",K5="Y",O5="Y"),(MIN(E5,I5,M5)),FALSE)))
    .

    ( Please note the following part of the formula is to prevent errors
    Formula: copy to clipboard
    =IF(ISBLANK(B5),"",IF(AND(E5="",G5="",I5=""),"",
    )

    My issue is that they are 11 possible outcomes in how the items could be in stock, I.E. all in stock, all out of stock, one in stock and the other two out of stock in various combinations.

    Whilst the "false" part of the above formula could be substituted for each different possible solution, is there a simplified way of doing this?

    I have attached a copy of my workbook for your ease.

    Many thanks,

    PER11

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Exclude empty cells from a calculation
    By Andrew87.. in forum Excel General
    Replies: 9
    Last Post: 01-03-2015, 11:28 AM
  2. IF statement needed to exclude criteria for calculation
    By petevang in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-25-2013, 05:21 PM
  3. AVERAGE calculation to exclude blank cells
    By andrewc in forum Excel General
    Replies: 8
    Last Post: 09-04-2009, 03:30 AM
  4. exclude cells with certain criteria
    By Bram in forum Excel General
    Replies: 2
    Last Post: 10-10-2005, 02:05 PM
  5. calculation to exclude weekends
    By Need2Know in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  6. calculation to exclude weekends
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-06-2005, 07:05 AM
  7. calculation to exclude weekends
    By Need2Know in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 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