+ Reply to Thread
Results 1 to 4 of 4

Simplifying a formula

  1. #1
    Registered User
    Join Date
    09-02-2008
    Location
    London
    Posts
    73

    Simplifying a formula

    Hi all,

    I have need to count how many times someone's name appears in a particular column in an external sheet. I have the formula (provided by someone from this forum) and am using that in one of my sheets which works perfectly.

    I now need to use this in another sheet, except this sheet has multiple (10+) worksheets in it. So effectively I'm having to count how many times a name appears in each worksheet. Here's the formula I'm using for it :

    =SUMPRODUCT(--ISNUMBER(MATCH('X:\Folder\Joel\Temp Complaints\CCV & CBS Credits\CCV''s\CCV Weekly Results\Customer Support Temp\[Customer Support Temp - week 41.xls]Micheal Cole'!$Y$1:$Y$55, 'Week 41'!C5, 0))) + SUMPRODUCT(--ISNUMBER(MATCH('X:\Folder\Joel\Temp Complaints\CCV & CBS Credits\CCV''s\CCV Weekly Results\Customer Support Temp\[Customer Support Temp - week 41.xls]Sarah Blades'!$Y$1:$Y$75, 'Week 41'!C5, 0)))

    And copying the formula over and over again until all worksheets are included in the formula... the formula looks very messy and I was wondering what I can do to simplify it?

    C5 contains the name I want to match against the external sheets.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531
    You might want to take a look at MOREFUNC.xll and in particular the THREED function.... other than that no, I'm afraid you're left with what you have.

  3. #3
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264
    If the external workbook was open you would have another option too, but if it does in fact remain closed then I believe DonkeyOte is correct.

    Richard
    Richard Schollar
    Microsoft MVP - Excel

  4. #4
    Registered User
    Join Date
    09-02-2008
    Location
    London
    Posts
    73
    Yep, it does close and re-open at random points and we need to know the count at all times for tracking purposes.

    Thanks guys, I just split the formula over many cells and hid them instead of trying to merge them into one cell... Excel was also throwing 'Formula too long' at me so I thought it best to do it this way.

    Appreciate all the info though! Thanks.

+ 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