+ Reply to Thread
Results 1 to 5 of 5

Lookup table

  1. #1
    Registered User
    Join Date
    10-11-2016
    Location
    Aberdeen, Scotland
    MS-Off Ver
    2010
    Posts
    49

    Question Lookup table

    All,

    This has probably been questioned before and I have done some searching and I can't quite find what I am after on the forum.

    So I have the below table...
    1 2 3
    1 547.88 730.5 1095.75
    2 365.25 575.875 730.5
    3 182.625 365.25 575.875
    4 91.3125 91.3125 91.3125
    5 30.4375 30.4375 30.4375

    And I need to lookup a value based on Row 1 (Group) and Column 1 (Average Value) which are calculated elsewhere. Once I have the value I want to add this to another value (original date) to get a new value (NextDate)
    I could write it as a load of if statements but this seemed like a waste of code

    Is there an easy way out of this one?

    Thanks in advance..

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Lookup table

    Something like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Where theRow is a Named cell containing the row (Average Value) and theCol is a Named cell containing the column (Group) and theTable is a Named range contain the values to be returned.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    10-11-2016
    Location
    Aberdeen, Scotland
    MS-Off Ver
    2010
    Posts
    49

    Re: Lookup table

    Bit more googling and this is the code I am trying...
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    10-11-2016
    Location
    Aberdeen, Scotland
    MS-Off Ver
    2010
    Posts
    49

    Re: Lookup table

    Trevor

    Please Login or Register  to view this content.
    I am getting an error around the "$" sign...

    R

  5. #5
    Registered User
    Join Date
    10-11-2016
    Location
    Aberdeen, Scotland
    MS-Off Ver
    2010
    Posts
    49

    Re: Lookup table

    Okay I have made a bit progress and I am now getting a 424 error...
    So close and yet so far..
    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)

Similar Threads

  1. Lookup table help - multiple returns for one lookup value
    By radddogg in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 09-16-2016, 02:22 PM
  2. How to lookup a value in a table using a range in the lookup columns
    By premis in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-03-2016, 02:47 PM
  3. Replies: 1
    Last Post: 06-25-2014, 10:07 AM
  4. Lookup a blank cell in a Lookup table and return a figure.
    By jonnops in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-20-2014, 07:33 AM
  5. [SOLVED] Lookup question matching part of lookup value in the table array
    By kosmo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-05-2013, 11:07 AM
  6. Replies: 3
    Last Post: 01-27-2011, 10:02 AM
  7. [SOLVED] Pivot table doing a lookup without using the lookup function?
    By NGASGELI in forum Excel General
    Replies: 0
    Last Post: 08-02-2005, 01:05 AM

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