+ Reply to Thread
Results 1 to 5 of 5

Summing Difficulty - Linking Data based on Condition

Hybrid View

  1. #1
    Registered User
    Join Date
    03-06-2008
    Posts
    10
    tks howard,

    that would make it easier... unfortunately this won't help in this case.

    I should have said, I need to do this without a helper column if possible. The application I'm using this in is from two independent files, and I need to be able to run this query without manipulating either.

    The only common item in both files is the ID. Is this possible?

    tks.

  2. #2
    Registered User
    Join Date
    03-06-2008
    Posts
    10
    bump

    still having trouble getting this to work... any ideas?

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try this formula in C6:

    =SUMPRODUCT(--(ISNUMBER(MATCH('Item Details'!$A$4:$A$12,IF(('Shop Info'!$C$9:$C$14=Summary!$A6)*('Shop Info'!$B$9:$B$14>150),'Shop Info'!$A$9:$A$14),0))),'Item Details'!$C$4:$C$12)
    and this formula in D6:

    =SUMPRODUCT(--(ISNUMBER(MATCH('Item Details'!$A$4:$A$12,IF(('Shop Info'!$C$9:$C$14=Summary!$A6)*('Shop Info'!$B$9:$B$14>150),'Shop Info'!$A$9:$A$14),0))),--('Item Details'!$B$4:$B$12=TRIM(SUBSTITUTE(D$5,"Quantity",""))),'Item Details'!$C$4:$C$12)
    Both formula are to be individually confirmed with CTRL+SHIFT+ENTER not just ENTER. You will see { } brackets appear around the formula.

    Then you can copy the formula in C6 down and the formula in D6 down and across to the right.

    EDIT: Took out the +0 from each formula... not needed.
    Last edited by NBVC; 08-25-2008 at 10:55 AM. Reason: Edited formulas
    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.

+ 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. Can Excel Draw Shapes or Angles based on Data?
    By chesspupil in forum Excel General
    Replies: 15
    Last Post: 04-30-2016, 03:31 PM
  2. Maximum & Minimum Dates based on Condition
    By figs in forum Excel General
    Replies: 3
    Last Post: 08-20-2008, 09:43 PM
  3. Linking Data from Excel in Word - Question
    By paulabrozek in forum Excel General
    Replies: 2
    Last Post: 03-27-2008, 01:48 PM
  4. Macro to filter based on identical column data as opposed to entire record
    By marielb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-27-2007, 12:27 PM
  5. finding data, based on location of other data.
    By davittp in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-14-2007, 11:51 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