+ Reply to Thread
Results 1 to 6 of 6

Finding data from Table 1 with various variables to enter the correct value in table 2

  1. #1
    Registered User
    Join Date
    03-18-2024
    Location
    London
    MS-Off Ver
    365
    Posts
    4

    Unhappy Finding data from Table 1 with various variables to enter the correct value in table 2

    Hello,

    I have an issue that is bugging me and I've added an example of what I need help with.

    I want to look up the data in Table 1 to enter the correct values in Table 2. What is the easiest way of doing this?

    Is there a formula to do this?

    I have attached a screenshot and the spreadsheet file

    Can anyone solve this for me?

    Thanks
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by TAZTAZTIC; 03-18-2024 at 04:15 PM.

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,800

    Re: Finding data from Table 1 with various variables to enter the correct value in table 2

    H4=IFERROR(INDEX(TEXTBEFORE($D$4:$D$100,"-"),MATCH($G4&H$3,INDEX($B$4:$B$100&$C$4:$C$100,),0)),"")

    Copy across and down

  3. #3
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Finding data from Table 1 with various variables to enter the correct value in table 2

    Try in 'H4' (copy across & down);

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If your Question is answered; please mark it SOLVED. If you are happy with a member's solution, say 'Thanks' and click the 'Star' to Add Reputation.

  4. #4
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,139

    Re: Finding data from Table 1 with various variables to enter the correct value in table 2

    Spill formula in H4:
    =IFERROR(TEXTBEFORE(XLOOKUP(G4:G8&H3:O3,B4:B42&C4:C42,D4:D42)," -"),"")

  5. #5
    Registered User
    Join Date
    03-18-2024
    Location
    London
    MS-Off Ver
    365
    Posts
    4

    Re: Finding data from Table 1 with various variables to enter the correct value in table 2

    Thanks, everyone...this has been really helpful!

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,760

    Re: Finding data from Table 1 with various variables to enter the correct value in table 2

    Glad to have helped.

    If you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] Finding Multiple Variables in a Table
    By BillMcSciFi in forum Excel General
    Replies: 2
    Last Post: 03-26-2017, 03:15 PM
  2. Replies: 5
    Last Post: 10-01-2016, 11:55 PM
  3. [SOLVED] userform search field from 1 table and enter data into another table
    By adamheon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2016, 06:12 PM
  4. Replies: 2
    Last Post: 04-28-2013, 05:55 PM
  5. finding specific data from one table and pasting it into another table
    By saranorton in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-29-2011, 09:35 AM
  6. Create a new table from the main table when user press Enter button
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2010, 05:08 AM
  7. Replies: 7
    Last Post: 09-08-2010, 12:29 PM

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