+ Reply to Thread
Results 1 to 2 of 2

sumproduct with arrays of different size

  1. #1
    Registered User
    Join Date
    08-22-2017
    Location
    Bermuda
    MS-Off Ver
    Excel2016
    Posts
    1

    sumproduct with arrays of different size

    I am trying to use sumproduct with arrays of different size. I want to use last number of smaller array to multiply with remaining values of the large array. For example,

    Array 1 = {1,3,5,7,9}
    Array 2 = {1,2,3}

    I am looking for a formula for expanding the Array 2 to make it {1,2,3,3,3} -- where the last two 3s in this array is the last number of Array 2. Then, I want to make sure that it expand to make this of size of Array 1 so that I can use this for sumproduct.

    Any help will be greatly appreciated


  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
    79,398

    Re: sumproduct with arrays of different size

    Rule 08: Cross-posting Without Links

    Your post does not comply with Rule 8 of our Forum RULES. Do not cross-post your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    No further help to be offered, please, until the OP has complied 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.

+ 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. [SOLVED] Sumproduct with 2 arrays
    By rpinxt in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-05-2015, 05:12 AM
  2. Replies: 1
    Last Post: 01-19-2015, 05:47 PM
  3. Sumproduct, 2 arrays - do i need 3?
    By jinkeow in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-02-2013, 10:06 PM
  4. [SOLVED] SUMPRODUCT and different arrays
    By rodich in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 05-09-2013, 07:02 AM
  5. size limitations of VBA arrays?
    By broro183 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-21-2009, 09:10 PM
  6. Sumproduct arrays
    By L. Howard Kittle in forum Excel General
    Replies: 4
    Last Post: 04-11-2006, 08:20 AM
  7. [SOLVED] List Arrays of a Certain Size
    By Stratuser in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-14-2005, 01:06 AM

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