+ Reply to Thread
Results 1 to 5 of 5

How to fill a table using 2x input parameters in the existing spreadsheet

  1. #1
    Registered User
    Join Date
    08-26-2013
    Location
    Melbourne Australia
    MS-Off Ver
    2011
    Posts
    3

    How to fill a table using 2x input parameters in the existing spreadsheet

    I'm not sure about terminology and don't know if the solution to my problem is impossible or simple or somewhere in between. I have a spreadsheet which generates a freight price for shipping goods based on 2 parameters, a postcode and the weight of goods. It uses several worksheets and compares the costs of several freight companies to generate the final best answer.

    I want to be able to generate a reference table of freight prices for a range of postcodes and different shipping weights. The postcodes would be across the columns and weight ranges down the rows. For each cell in the table, the macro takes the corresponding postcode and weight, inputs them into the spreadsheet, generates the best freight price for those 2 parameters and then places the answer generated back in the cell of the table. The macro then goes to the next cell in the table, and does the same until the whole table is full.

    Is this clear? Can this be done? If it can it would save me about a year of my life doing it manually. Thanks for your help.

  2. #2
    Forum Contributor
    Join Date
    07-30-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: How to fill a table using 2x input parameters in the existing spreadsheet

    Give us a sample representation of what your after.

  3. #3
    Forum Contributor
    Join Date
    07-30-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: How to fill a table using 2x input parameters in the existing spreadsheet

    See attachment
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    08-26-2013
    Location
    Melbourne Australia
    MS-Off Ver
    2011
    Posts
    3

    Re: How to fill a table using 2x input parameters in the existing spreadsheet

    Thank you for the reply but that's not my problem. My table is empty. I want to fill it with values that I compute using my spreadsheet calculator.

    I want to run a series of hundreds of separate computations using combinations of postcode and weight and record each of the results in a table.

    Can this be done?

  5. #5
    Registered User
    Join Date
    08-26-2013
    Location
    Melbourne Australia
    MS-Off Ver
    2011
    Posts
    3

    Re: How to fill a table using 2x input parameters in the existing spreadsheet

    Here is an example of what I need to do. I need to fill the table shown. I need a macro that will place each of he postcodes and weights into the input cells generate the output and them place that output in the relevant cell of the table and then go to the next cell and do the next clculation and so on until the table is full. Any ideas?
    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. Adding lookup table to existing spreadsheet
    By bellicusa in forum Excel General
    Replies: 1
    Last Post: 01-18-2012, 12:21 PM
  2. Automation of Macro input parameters
    By cda123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-26-2011, 01:50 PM
  3. Excel Forms - Overwriting existing format parameters
    By JasonChapman in forum Excel General
    Replies: 2
    Last Post: 05-18-2010, 01:13 AM
  4. Input parameters to an excel Application
    By eitancoh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-22-2007, 06:35 PM
  5. XIRR function input parameters
    By kieran sweeney in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-29-2005, 07: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