+ Reply to Thread
Results 1 to 3 of 3

Create table out of existing table matching a condition

  1. #1
    Registered User
    Join Date
    05-03-2016
    Location
    Zaragoza, Spain
    MS-Off Ver
    2010
    Posts
    2

    Create table out of existing table matching a condition

    I want to create a table in Excel that extracts the part of a table that matches a certain condition. If possible without using macros. Here is a plot:

    Please Login or Register  to view this content.
    When looking for 26, this is what I want to obtain:

    Please Login or Register  to view this content.
    I get the value D4 = LOOKUP(26;C:C;B:B) (which at the end results in D4 = B8) and then I am trying to get D3 somehow...

    I have tried using LOOKUP, and also trying to get the reference from a cell, in this case D4 and then modify the path out of it, like "copy the value in B (8-1)", but I don't know how to do it.

    I am also sure that there is a way easier way to do it, but it has been a while since I started thinking about...

    Any help will be appreciated

    Best,

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Create table out of existing table matching a condition

    Are they always after 4th position?

  3. #3
    Registered User
    Join Date
    05-03-2016
    Location
    Zaragoza, Spain
    MS-Off Ver
    2010
    Posts
    2

    Re: Create table out of existing table matching a condition

    No. The condition is the "26". In that simple case, it is in the 4th position, but it is not going to be like that. The 26 is the sum of the n-previous values. I want to evaluate the numbers in C and when it matches (just one match) take the n values from B that result in this 26.

+ 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. [SOLVED] Look up value from data table that matching more than one condition...
    By tonisjoseph in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-19-2015, 08:31 PM
  2. [SOLVED] retrieve value from table by matching multi row condition
    By carlosmaldonado in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-13-2015, 07:51 AM
  3. retrieve value from table by matching multi row condition
    By carlosmaldonado in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-13-2015, 07:05 AM
  4. How to create a function from an existing table
    By zinzolin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-18-2012, 03:45 AM
  5. how do I create exportable xml table using existing xml as starting point?
    By jrtaylor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-20-2011, 07:43 PM
  6. Replies: 0
    Last Post: 09-01-2011, 12:07 PM
  7. To create new worksheets from existing table ...
    By sylwester.cz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-24-2010, 11:36 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