Results 1 to 5 of 5

Multiple AND/ OR criteria and summation

Threaded View

  1. #1
    Registered User
    Join Date
    08-21-2012
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    8

    Multiple AND/ OR criteria and summation

    Excuse my ignorance..

    Essentially in column A I have a list of products; for argument sakes vegetables. (Note there are a few thousand unique entries)
    In column B I have a list of the amount of stock we have left of each of the product.

    What I need is to order the products in a set of defined subgroups. Using vegetables as an example I would want to put them all into sub groups based on colour. I know what subgroup each vegetable will go in, but it’s a pain to go through them all, as you may well imagine, so I’m trying to do it by determining a set of rules.

    In column C, I used the equation ‘=LEFT(A:A,5)’ to get the first 5 characters. And based on this can do a SUMIF(C:C, “(a 5 character code I define)”, B:B) and that works fine.

    In column D I use the ‘=RIGHT(A:A,3)’ to get the last 3 characters. What I am looking to sum in one of the subgroups is where the last 3 characters is “IIL” (for example) AND where in column C they have a range of 5 character codes that I want to sum.

    So I’m looking to sum everything in column D with last 3 characters “IIL” which also has column C of “XXXX1” or “XXXX2”.
    I hope the spreadsheet I attach clears up any doubts in my questions. Thank you in advance.

    LJ.

    ---------- Post added at 02:31 PM ---------- Previous post was at 02:30 PM ----------

    Can not actually upload at the moment. So i will try my best to make it as easy as I can for you to help me.
    Last edited by leg_jabber; 08-21-2012 at 04:00 PM.

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