+ Reply to Thread
Results 1 to 5 of 5

Adding cells from historic data base, as long as they meet two criteria

  1. #1
    Registered User
    Join Date
    08-22-2014
    Location
    Monterrey
    MS-Off Ver
    2010
    Posts
    42

    Adding cells from historic data base, as long as they meet two criteria

    I'm trying to come up with a formula that goes into a historic data base and sums up purchase orders, as long as these are within a specific rage, and they belong to a specific customer.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Adding cells from historic data base, as long as they meet two criteria

    Hi.
    If you can live with that, I would suggest adding a column for customer to your specific range, say at G4:G7.
    Then a simple SUMIF function would do the job.

    Please Login or Register  to view this content.
    Godspeed!

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Adding cells from historic data base, as long as they meet two criteria

    Maybe this, in G10:

    =SUMPRODUCT(SUMIFS($D$4:$D$13,$C$4:$C$13,F10,$D$4:$D$13,$G$4:$G$7))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    08-22-2014
    Location
    Monterrey
    MS-Off Ver
    2010
    Posts
    42

    Re: Adding cells from historic data base, as long as they meet two criteria

    Thanks!!! This works!

  5. #5
    Registered User
    Join Date
    08-22-2014
    Location
    Monterrey
    MS-Off Ver
    2010
    Posts
    42

    Re: Adding cells from historic data base, as long as they meet two criteria

    Let me check if adding additional info is feasable

+ 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. Replies: 3
    Last Post: 07-19-2017, 11:19 AM
  2. [SOLVED] Adding totals that meet a text and a data criteria
    By Telescope in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2013, 02:57 PM
  3. Adding rows that meet a criteria and consolidating data
    By matador_73 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-30-2012, 07:06 PM
  4. Adding up all Cells That Meet Criteria
    By fx101 in forum Excel General
    Replies: 1
    Last Post: 07-14-2011, 06:30 PM
  5. Delete data in cells that don't meet criteria
    By SITCFanTN in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-10-2006, 04:10 PM
  6. Adding cells that meet certain criteria
    By PattiP in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-14-2005, 02:25 PM
  7. RE: Adding cells that meet certain criteria
    By Charlie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-14-2005, 01:45 PM

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