+ Reply to Thread
Results 1 to 4 of 4

Multiple cell data comparison and addition

  1. #1
    Registered User
    Join Date
    06-04-2013
    Location
    Nottinghamshire, England
    MS-Off Ver
    Excel 2010
    Posts
    22

    Question Multiple cell data comparison and addition

    Hi

    I wonder if anyone can help me, I have two databases which I fill out everyday and they share some of the same values and I would like to combine them to the one database, to do this I need to make a formula to collect some data.

    For example I would like to know the total duration of setups that Ben did on machine 1 on the 04/06/13

    In columns A,B,C and D is the data, I need a formula that will search column A for the selected date in H8 (the date contents in H8 will be linked to a user selectable date so I can have seperate monthly databases), and on that date search the multiple rows for a key word (Ben) and if there are any values in column D then add the multiple values to the contents of the formulation cell in K9.

    I will taylor the formulas for each day and each machine, from this I can calculate my charts.

    Many thanks

    Carl
    Attached Files Attached Files
    Last edited by Car7os; 06-28-2013 at 07:30 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Multiple cell data comparison and addition

    One way.

    In H9 and copy down ans across.

    =SUMPRODUCT(($B$9:$B$24=$G9)*($A$9:$A$24=H$8)*($C$9:$C$24="Ben")*($D$9:$D$24))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    06-04-2013
    Location
    Nottinghamshire, England
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: Multiple cell data comparison and addition

    Hi Fotis

    That is brilliant thanks

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Multiple cell data comparison and addition

    ........................

    Also...

    =SUMPRODUCT(($B$9:$B$24=$G9)*($A$9:$A$24=H$8)*($C$9:$C$24=RIGHT(E6,3))*($D$9:$D$24))

+ 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