+ Reply to Thread
Results 1 to 3 of 3

Function with unlimited range inputs

  1. #1
    Registered User
    Join Date
    02-03-2015
    Location
    Raleigh, NC
    MS-Off Ver
    2010
    Posts
    16

    Function with unlimited range inputs

    I'm sure there is a way to do this, I just haven't figured it out yet...

    I need a function that is basically a combination of vlookup and sum that doesn't have to have a specific number of inputs. For Example;

    TotalLength(a, b, c, d....., table array, column index value)

    The result would be the sum of the corresponding table values for a, b, c and d. suggestions?
    Last edited by adamsdr3; 02-16-2017 at 12:29 PM.

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Function with unlimited range inputs

    Hi,

    Here is one way with a UDF
    Please Login or Register  to view this content.
    I assumed you wanted an exact match.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Registered User
    Join Date
    02-03-2015
    Location
    Raleigh, NC
    MS-Off Ver
    2010
    Posts
    16

    Re: Function with unlimited range inputs

    That's perfect! thanks!

+ 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. Function which defines n-dimensional array, function inputs as variable.
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-13-2016, 08:35 AM
  2. Function to handle an unlimited amount of named variables and ranges
    By Boo123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-06-2015, 02:39 PM
  3. [SOLVED] Unlimited Range for VlookUp in Macro Code
    By fmfernandez11 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-16-2013, 06:09 AM
  4. [SOLVED] Define a range of fixed number of columns, but unlimited number of rows
    By ccopac in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-22-2012, 02:23 PM
  5. How to define an unlimited range ?!
    By M-----K in forum Excel General
    Replies: 2
    Last Post: 10-15-2011, 08:47 AM
  6. Unlimited Range in a macro
    By fredaldous in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-07-2010, 12:51 PM
  7. Cascading Combobox - unlimited range in frst box
    By tasel17 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-29-2009, 01:07 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