+ Reply to Thread
Results 1 to 2 of 2

Formula with one changing variable: The Worksheet to which the formula is linked

  1. #1
    Registered User
    Join Date
    10-31-2006
    Posts
    27

    Formula with one changing variable: The Worksheet to which the formula is linked

    Hi,

    I have a question concerning excel, and it concerns the following:

    Ik have a large number of worsksheets, containing a table with the same type of information on different paintings. Meaning: for example in worksheet 1, there is in cell A1: "Titel", followed by cell B1: "Sunflowers". Followed by: "Painter" in cell A2, and "Van Gogh" in cell B2. This continues untill cell's A8-B8. Furthermore there is a similar line of information in cell's C2/D2 untill C8/B8 in the same lay-out (for example price of the painting, date of last exhibition, place of auction etc.)
    Thus, the table contains 8 rows and 4 collumns. Every worksheet contains the same information, but on different paintings. Yet, it is all in the same lay-out and each cell (in different worksheets) contains the same information (f.e. cell B1 in all worksheets contains the title of the painting).

    Now comes my problem. I want to have all information in the same worksheet, and in the following way: Row 1 contains a description of the data (Painter, Title painting, Date, Size, Genre etc.) and then there is in every row this information for every painting in every worksheet (f.e. row 2 for the Nightwatch by Rembrandt, row 3 for the Sunflower by van Gogh etc.)

    My problem is that I have to many paintings and worksheets to manually place the formula in every cell. Can anyone help me out? What should I do?

    A short summary: I need to replicate a formula with one changing variable: the worksheet to which the formula is linked, all the rest of the formula stays the same.

    Thanks for your time and effort!

    Regards,

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by EHS
    Hi,

    I have a question concerning excel, and it concerns the following:

    Ik have a large number of worsksheets, containing a table with the same type of information on different paintings. Meaning: for example in worksheet 1, there is in cell A1: "Titel", followed by cell B1: "Sunflowers". Followed by: "Painter" in cell A2, and "Van Gogh" in cell B2. This continues untill cell's A8-B8. Furthermore there is a similar line of information in cell's C2/D2 untill C8/B8 in the same lay-out (for example price of the painting, date of last exhibition, place of auction etc.)
    Thus, the table contains 8 rows and 4 collumns. Every worksheet contains the same information, but on different paintings. Yet, it is all in the same lay-out and each cell (in different worksheets) contains the same information (f.e. cell B1 in all worksheets contains the title of the painting).

    Now comes my problem. I want to have all information in the same worksheet, and in the following way: Row 1 contains a description of the data (Painter, Title painting, Date, Size, Genre etc.) and then there is in every row this information for every painting in every worksheet (f.e. row 2 for the Nightwatch by Rembrandt, row 3 for the Sunflower by van Gogh etc.)

    My problem is that I have to many paintings and worksheets to manually place the formula in every cell. Can anyone help me out? What should I do?

    A short summary: I need to replicate a formula with one changing variable: the worksheet to which the formula is linked, all the rest of the formula stays the same.

    Thanks for your time and effort!

    Regards,
    A macro
    Please Login or Register  to view this content.
    will do that, you need to edit the macro to align the correct fields across the row.

    It can be (re-)run at any time, as it does not amend data.

    Save your work before trying this.

    Insert a Worksheet called 'Master'

    (alternately amend the macro to the name required)

    hth
    ---
    Si fractum non sit, noli id reficere.

+ Reply to 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