+ Reply to Thread
Results 1 to 3 of 3

Moving dynamic data to a specific row despite row being filtered

  1. #1
    Registered User
    Join Date
    03-03-2010
    Location
    Oxfordshire
    MS-Off Ver
    Excel 2007
    Posts
    19

    Moving dynamic data to a specific row despite row being filtered

    Hi,

    Maybe biting off a bit too much here however this is the problem

    I have one main sheet in the example, it is sheet 1

    I have then have an input sheet where a variety of people place information. (Input)

    there is a number of companies all of whom has paid a certain amount and some companies a multiple of times.

    These entries need in the turnover section need to be added up and sent over to sheet one in the correct section

    The problems I am having:

    The categories are filtered so they are constantly changing position

    and the Input page is constantly updated

    I am hoping there is a formula or a bit of VBA that maybe able to help.

    Many Thanks,

    Daniel1234
    Attached Files Attached Files
    Last edited by Daniel1234; 03-12-2010 at 06:30 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Moving dynamic data to a specific row despite row being filtered

    In E2, this will show the sum of all the rows that match the 3 criteria:

    =SUMPRODUCT((Input!$B$7:$B$200=$A2)*(Input!$C$7:$C$200=$B2)*(Input!$D$7:$D$200=$C2)*Input!$E$7:$E$200)
    ...copy that down

    For D2, this will get the top date in the list that matches, presumably the most recent, yes?
    =INDEX(Input!$F$7:$F$200, MATCH(Sheet1!A2&Sheet1!B2&Sheet1!C2, INDEX(Input!$B$7:$B$200&Input!$C$7:$C$200&Input!$D$7:$D$200, 0), 0))
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    03-03-2010
    Location
    Oxfordshire
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: Moving dynamic data to a specific row despite row being filtered

    That works like a charm thank-you so much.

    Daniel1234

+ 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