+ Reply to Thread
Results 1 to 3 of 3

automatic output from known data

  1. #1
    Registered User
    Join Date
    09-13-2004
    Posts
    26

    automatic output from known data

    i have 2 spreadsheets of data: 1=english, 2=metric
    each spreadsheet has 3 columns, with the first column being an ID #.

    on my output spreadsheet i have 4 blanks.
    in blank 1 i enter a "1" or "2" for english/metric
    in blank 2 i enter the ID #
    i want blanks 3 and 4 to automatically be filled with the other two numbers from the id#'s row.

    DATA WORKSHEETS
    english
    1 123.8 9.8
    2 122.7 10.3
    ...

    metric
    1 1983 9.8
    2 1965 10.3
    ...

    OUTPUT WORKSHEET
    blank 1 = english <----- manual
    blank 2 = 1 <----- manual
    blank 3 = 123.8 <---- automatic
    blank 4 = 9.8 <---- automatic

  2. #2
    Registered User
    Join Date
    06-16-2005
    Posts
    68

    automatic output from known data

    This should do the trick for you. This would be for the first automatic column, for the second, just change the '2' at the end of the index functions to a '3'.

    =IF($A2=1,INDEX(English!$A:$C,MATCH($B2,English!$A:$A,0),2),INDEX(Metric!$A:$C,MATCH($B2,Metric!$A:$A,0),2))

    Let me know if you have questions - Chad

  3. #3
    Registered User
    Join Date
    09-13-2004
    Posts
    26
    worked like charm. thanks, thats so cool.

+ 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