+ Reply to Thread
Results 1 to 3 of 3

Comparing data to give an answer?

  1. #1
    Registered User
    Join Date
    10-27-2014
    Location
    Belfast, Northern Ireland
    MS-Off Ver
    2010
    Posts
    2

    Comparing data to give an answer?

    Hi guys, dont use excel a lot but have been given a task in work and cant get the right equations for an answer!

    There will be sheets with continually updating data although I am only concerned with column U & V on sheet 1. In only some of the cells it will contain text and a number, the number is what I am after as it is an ID.
    On sheet 2 I have more data that relates to the ID number, the ID from column U or V will hopefully be found in column A on sheet 2.
    I want to return on sheet 1 column Q information relating to the ID. This information will be in the cell adjacent (sheet 2, Column B) to the ID number, called status.

    If anyone could help that would be great!

    Attached an example of sheet with some ID's not on my data and some on my data.Book_1.xlsx

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Comparing data to give an answer?

    We probably need more examples but assuming that, the text in U or V always starts with 3 alpha, then space, then a 6 digit ID, in Q4 copied down, try

    =IFERROR(VLOOKUP(MID(V4,5,6)+0, Sheet2!$A$2:$B$133,2,FALSE),VLOOKUP(MID(U4,5,6)+0, Sheet2!$A$2:$B$133,2,FALSE))
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    10-27-2014
    Location
    Belfast, Northern Ireland
    MS-Off Ver
    2010
    Posts
    2

    Re: Comparing data to give an answer?

    Thanks for the reply!

    Some of the time it will be IFR 123456 etc with the space but often in column U it will be IFR#541566 with the hashtag for a space.

    The formula looks like it could be modified to work but currently just showing #VALUE!

+ 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] Search using info from two cells to give corresponding answer from different sheet
    By Venith in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-14-2014, 02:42 PM
  2. Count, add, discriminate and give me an answer
    By LawrieAJ in forum Excel General
    Replies: 4
    Last Post: 07-13-2013, 08:24 AM
  3. [SOLVED] I need a current formula to only give me an answer if column W says DUI Help please! TY
    By LaurieLaurie in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-12-2013, 08:30 PM
  4. [SOLVED] Goal Seek on PMT function give different answer than a mortgage ca
    By headly in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-22-2006, 12:45 PM
  5. Need help with formula to give 0 if value is negative or answer is
    By Sharona77 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-01-2006, 04:45 PM

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