+ Reply to Thread
Results 1 to 3 of 3

Fill out a row of cells based on 2 user entered variables (from a static array set)

  1. #1
    Registered User
    Join Date
    08-17-2014
    Location
    UK
    MS-Off Ver
    2007
    Posts
    1

    Fill out a row of cells based on 2 user entered variables (from a static array set)

    Hi,

    1st time post so apologies if this has been seen before(couldn't find it)

    I have a set array of values that don't change

    b1:b12 10 20 30 40 50 60 70 80 90 100 110 120
    c1:c12 130 140 150 160 170 180 190 200 210 220 230 240
    d1:d12 250 260 270 280 290 300 310 320 330 340 350 360



    I need to fill out a row of cells based on 2 user entered variables (from the static array set above)

    I would like to see the following output :

    Example 1:
    A1 : (Value u require to start list on) (ex. 50)
    A2: Number of Cells to output including this (ex. 5)

    Output :

    e1 (onwards) 50 60 70 80 90

    Example 2:
    A1 : (Value u require) (ex. 110)
    A2: Number of Cells to output including this (ex. 8)

    e1 (onwards) 110 120 130 140 150 160 170 180


    Thanks

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Fill out a row of cells based on 2 user entered variables (from a static array set)

    Hi, welcome to the forum

    Try this in E1, copied down...
    =IF(ROW()>$A$2,"",$A$1+(ROW()*10)-10)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,597

    Re: Fill out a row of cells based on 2 user entered variables (from a static array set)

    Pl see attahed file with formula.
    Attached Files Attached Files

+ 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] Macro to fill in cells based on 2 variables
    By winwall in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 04-29-2014, 05:13 PM
  2. [SOLVED] finding an output from 5 variables in an array using exterior input user variables
    By Allsort in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-09-2013, 11:16 AM
  3. auto fill cells based on value entered in first cell?
    By Synthia in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-29-2010, 08:27 AM
  4. Randomly fill cells with user-entered text
    By bsweet0us in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-21-2010, 11:53 AM
  5. Replies: 2
    Last Post: 04-14-2005, 12:06 AM

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