Closed Thread
Results 1 to 4 of 4

Help with an array

  1. #1
    Registered User
    Join Date
    08-02-2012
    Location
    rockville,maryland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Help with an array

    I have two ranges that I specify as part of a function:
    6 10.00
    12 9.00
    12 8.00

    Based on these two ranges, I want to create a single array that would look like:
    10
    10
    10
    10
    10
    10
    9
    9
    9
    ...basically 10 for the first 6 itesm, 9 for the next 12, and 8 for the 12 after that....

    so if my resulting array is called array then essentially array(0,0) = 10 and array(6,0) = 9

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Help with an array

    No need to post twice


    http://www.excelforum.com/excel-form...rray-help.html
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    08-02-2012
    Location
    rockville,maryland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Help with an array

    Thanks for your help. Are these the kind of responses that earned you your title of "valued forum contributor"
    I didn't even mean to post it twice. It looked like it got cut off the first time.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Help with an array

    Wonger - Fotis wouldnt know whether the duplicate thread was a system issue or by mistake from your side. He has been very helpful in pointing out duplicate threads to the moderators and this was one of them. He is a "valued" forum contributor and has high repute in this forum.

    Your thread has been closed on account of a system issue causing the duplicates.
    Last edited by arlu1201; 02-27-2013 at 09:57 AM.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed 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