Results 1 to 3 of 3

Summation across row using sumproduct/isnumber/match and named array(s)

Threaded View

  1. #1
    Registered User
    Join Date
    01-12-2013
    Location
    Sheffield, UK
    MS-Off Ver
    Excel 2010
    Posts
    11

    Exclamation Summation across row using sumproduct/isnumber/match and named array(s)

    [solved using an {array}]

    Dataset description.

    = Company ID and info is followed by the 'share type' for the top ten shareholders (type1 to type10)
    = This is followed by the NAME of shareholder and their percentage of the company held for each of shareholders1-10

    =Column AM is the important column and contains a formula kindly worked out by Spencer from this forum. I need to be able to make some adjustments to this formula as below.

    This looks across the row and sums only those percentages whose corresponding name is on the 'qfii2' list on the sheet named 'qfii2'

    However I need some ways to add filters.

    FIRSTLY, I want it to sum those values ONLY if the individual (qfii2) shareholder percentage is <5%. Can you help me add this filter to the formula? (1)

    SECONDLY, I wonder how I can add a filter so that it only adds the percentage if it not only matches the NAME on the qfii2 list but ALSO the shareholder (e.g. shareholder 2) is NOT of corresponding type (i.e. type2) of all those appearing on the 'nottypes' list (i.e. column A of sheet 5 - sharetypes). (2)

    THIRDLY, the same as (1) I want to add a filter so that it only adds percentage when individual (qfii2) shareholder is >5% for another column of results.

    FOURTHLY, I want to have a column that add the percentages along the row for ONLY those shareholders having a corresponding sharetype as those in the 'nottypes' list.

    The sfjv2 list is simply another list of names, for which I want to perform a similar analysis. It can therefore be ignored.

    To recap:

    1) Sum percentages across row if name appears on QFII list AND corresponding percentage is <5%
    2) Sum percentages across row if name appears on QFII list AND corresponding percentage is <5% AND corresponding typeN (n=1,...,10) for each qfii2 shareholder does NOT appear on the 'nottypes' list
    3) Sum percentages across row if name appears on QFII list AND corresponding percentage is >5%
    4) A column that sums percentages for all shareholders, regardless of name, provided that their corresponding type appears on the 'nottypes' list.

    I am desperate for help on this issue I have been struggling with for literally months.

    Thank you to the genius/guru who can help me to solve it.

    I enclose a dummy sheet (as the dataset I am working with is quite large - this has only 3 rows rather than 20,000+).

    Attached Files Attached Files
    Last edited by samuk1000; 08-15-2013 at 11:23 AM. Reason: title change (forum rule)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Tricky problem to solve - adding a row and then changing place
    By D-smoke in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-21-2013, 07:11 AM
  2. Excel code required to solve puzzle
    By vasant in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-09-2011, 04:25 AM
  3. Help required to solve rounding problem with macro
    By sarath25 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2011, 05:36 AM
  4. Help required for a tricky problem(s)
    By zybatu01 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-03-2008, 12:19 PM
  5. Replies: 1
    Last Post: 08-19-2006, 08:20 PM

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