+ Reply to Thread
Results 1 to 6 of 6

How to reference a dynamic array

  1. #1
    Registered User
    Join Date
    06-29-2017
    Location
    Los Angeles, CA
    MS-Off Ver
    2010
    Posts
    43

    How to reference a dynamic array

    Hi,

    I'm trying to use a series of lookup and index functions to divide one product's monthly sales by the sales of all products in a given month. The trick is to have both the numerator (the individual product sales) and the denominator (the array of all product sales) shift over time by updating just the month name. Please let me know what is wrong with my formula starting in cell R5 for achieving this!

    Thanks in advance, and I've uploaded a sample file of what I'm trying to do!
    Attached Files Attached Files
    Last edited by jdriscol; 12-07-2017 at 06:41 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,734

    Re: Help with Lookup Functions

    Welcome to the forum! Please take a moment to re-read forum rule #1 and then amend your thread title to something that better explains your problem. Changing your thread title is not optional, which means you must change it. Thanks!

    • Use concise, accurate thread titles.
    • Your post title should describe your problem, not your anticipated solution.
    • Use terms appropriate to a Google search - poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice tell us nothing.
    • Responding to a request to change your thread title by doing so is mandatory.

    To change a title go to your first post, click EDIT then Go Advanced and change your title.

    No help to be offered, please, until the OP complies with this request.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Help with Lookup Functions

    Removed by FR: Posted before refreshing warning.
    Dave

  4. #4
    Registered User
    Join Date
    06-29-2017
    Location
    Los Angeles, CA
    MS-Off Ver
    2010
    Posts
    43

    Re: How to reference a dynamic array

    Actually, figured out how to do what I'm going for. I must have incorrectly entered a formula in the first time around because the method I was trying to use works now. Thanks.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,734

    Re: How to reference a dynamic array

    Thanks for changing the title.

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: How to reference a dynamic array

    ReportMonth =Sheet1!$D$4:INDEX(Sheet1!$4:$4,,COUNT(Sheet1!$4:$4)+3)
    SalesData =Sheet1!$D$5:INDEX(Sheet1!$1:$1048576,COUNTA(Sheet1!$C:$C)+4,COUNT(ReportMonth)+3)
    M6:
    Please Login or Register  to view this content.
    Ben Van Johnson

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Combining multiple functions>lookup/sum functions
    By mush106 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-22-2013, 07:47 AM
  2. [SOLVED] Help with multiple IF functions and possible lookup functions.
    By englishfellow in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-29-2013, 01:49 PM
  3. Lookup functions
    By maher in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-21-2009, 08:24 PM
  4. Lookup functions
    By lpn in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-15-2008, 09:47 AM
  5. Help with lookup or if functions
    By tsammons in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-12-2006, 07:16 PM
  6. [SOLVED] lookup functions
    By soph in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 AM
  7. [SOLVED] lookup functions
    By soph in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  8. lookup functions
    By soph in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM

Tags for this Thread

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