+ Reply to Thread
Results 1 to 4 of 4

Checking & matching values from 1 tab and placing result in another

  1. #1
    Registered User
    Join Date
    12-05-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    15

    Checking & matching values from 1 tab and placing result in another

    Please can someone assist.

    I have a spreadsheet with various tabs per month. Each tab contain some data, I am specifically interested in 2 columns (Column I and Column M). As an example, in the tab Oct, I want to see how many times the name 'Ade A' appears in Column I and how many times 'L' appears in Column M. The count/sum of this I want placed in the tab 'Totals YTD' in cell D7. Similarly I want to do the same where the combination is 'Ade A' in column I and 'M' in column M, this value should be placed in tab 'Totals YTD' in cell E7, and then for 'Ade A' and 'H' in cell F7. I then want to repeat this for all the people in the file.

    Additionally, in the 'Totals YTD' tab I want cells D7, E7 and F7 to count the data as above from each month, thus eventually cell D7 will have the data for 'Ade A' for each month as a total value.

    Can someone assist me with a formula on how to do this? Unfortunately, a pivot table isn't going to work for me as the data in the tabs is updated regularly, thus I would repeatedly need to create new pivot tables, thus I'm looking for a formula as then the data will auto-refresh.

    I have attached a spreadsheet which shows what I am trying to do.

    Thanks in advance.
    shaz_79
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Checking & matching values from 1 tab and placing result in another

    Firstly define a name as Sheets, on refers to use;

    =TEXT({1,2,3,4,5,6,7,8,9,10,11,12}*29,"mmm")

    Then, try this in D6, copy down.

    =SUMPRODUCT(--(T(OFFSET(INDIRECT("'"&Sheets&"'!I2"),ROW(A$1:A$1000)-ROW(A$1),))="L"),--(T(OFFSET(INDIRECT("'"&Sheets&"'!M2"),ROW(A$1:A$1000)-ROW(A$1),))=A6))

    Adjust the range for others. Note: INDIRECT/OFFSET both are volatile.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Registered User
    Join Date
    12-05-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Checking & matching values from 1 tab and placing result in another

    Are you able to provide me with a working example?

    Thanks!

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Checking & matching values from 1 tab and placing result in another

    See the attached. Hope this helps. In your sheet Col_M is Approver names & Col_I is Grades.
    Attached Files Attached Files

+ 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