+ Reply to Thread
Results 1 to 3 of 3

Forecasting using multiple tables and columns

  1. #1
    Forum Contributor
    Join Date
    04-16-2020
    Location
    Alberta, Canada
    MS-Off Ver
    365
    Posts
    216

    Forecasting using multiple tables and columns

    I'm using a forecast in cell J17, but currently it's only looking up 1 column of my table, and I can't figure out how to get it to select which table to pull data from.


    PHP Code: 
    =FORECAST(T,OFFSET(O7:O21,MATCH(T,Temps,1)-1,0,2),OFFSET(Temps,MATCH(T,Temps,1)-1,0,2)) 
    The way it works is:
    1. pick material (and it looks up the correct table)
    2. pick Class (150, 300, 400, 600, 900, 1500, 2500)
    3. enter temperature

    boom...you have the correct pressure from the table selected and the class, even if it's a temperature between the ones listed in the table.

    all the table have the same classes and they all line up in the same column
    Attached Files Attached Files

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Forecasting using multiple tables and columns

    If I've understood:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    note: the reference to FClass in your named range needs to be adjusted from O6:S6 to O6:U6

  3. #3
    Forum Contributor
    Join Date
    04-16-2020
    Location
    Alberta, Canada
    MS-Off Ver
    365
    Posts
    216

    Re: Forecasting using multiple tables and columns

    that works... but when i try and add my external table links it doesn't

    PHP Code: 
    Copy of working formula                                            
    FORECAST
    (T,OFFSET(INDEX(INDIRECT(Table),2,2),MATCH(T,FTemps)-1,MATCH(Rating,FClass,0)-1,2),OFFSET(INDEX(INDIRECT(Table),2,1),MATCH(T,FTemps)-1,0,2))                                            
                                                
    Added Colors to make sure everything matched                                            
    FORECAST
    (T,OFFSET(INDEX(INDIRECT(Table),2,2),MATCH(T,FTemps)-1,MATCH(Rating,FClass,0)-1,2),OFFSET(INDEX(INDIRECT(Table),2,1),MATCH(T,FTemps)-1,0,2))                                            
                                                
    added link to external tables            doesn’t work                                
    FORECAST
    (T,OFFSET(INDEX(INDIRECT(Table),2,2),MATCH(T,'BDD Library.xlsm'!FTemp)-1,MATCH(Rating,'BDD Library.xlsm'!FClass,0)-1,2),OFFSET(INDEX(INDIRECT(Table),2,1),MATCH(T,'BDD Library.xlsm'!FTemp)-1,0,2)) 
    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. Possible to shift columns across multiple tables in different sheets?
    By juntjoo in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 11-09-2016, 03:21 PM
  2. Replies: 1
    Last Post: 08-23-2016, 02:44 PM
  3. Grouping multiple columns in Pivot tables
    By raja.chs in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-19-2014, 04:27 AM
  4. Average of Multiple Columns from multiple Pivot Tables
    By element32d in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-01-2013, 11:08 AM
  5. Pivot Tables - Grouping Data in Multiple Columns?
    By vramsay in forum Excel General
    Replies: 1
    Last Post: 03-23-2012, 07:10 AM
  6. Replies: 2
    Last Post: 05-27-2010, 11:39 AM
  7. Lookup tables with multiple columns
    By sharkfoot in forum Excel General
    Replies: 5
    Last Post: 03-30-2006, 10:48 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