+ Reply to Thread
Results 1 to 2 of 2

How to create a function from an existing table

  1. #1
    Registered User
    Join Date
    04-25-2012
    Location
    Berlin, Germany
    MS-Off Ver
    2007
    Posts
    4

    How to create a function from an existing table

    Hello,

    On a excel sheet, I created a table that, from two values (heat and building) calculates the running time of a cogeneration unit. To do this, I created a table with various columns, references to tables in the same sheet and to tables in other sheets. The table is 19 rows by 11 columns.
    But I have many builiding/heat combination to calculate. And I would like to avoid having to duplicate this table hundred times.

    What I would like to do is use this table as a function. Something in VBA for example that I could use as =runningtime(heat,building). Please find an example attached. Table as a function.xlsx

    Does somebody habe an idea on how to do this?

    Thanks a lot for the help,

    Nicolas

  2. #2
    Registered User
    Join Date
    04-25-2012
    Location
    Berlin, Germany
    MS-Off Ver
    2007
    Posts
    4

    Re: How to create a function from an existing table

    I tried to simplify my needs and decided, instead of creating a function, that a regular macro could also do it.

    Instead of having the building and the heat as parameter, I took the cogeneration unit. I am then filling a table with where one column is the cogeneration unit (fixed list) and the other is the calculated runningtime.

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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