+ Reply to Thread
Results 1 to 2 of 2

Formula to do this :if A3 contains text from G3:G4 then return text from H3:H4 into B3

  1. #1
    Registered User
    Join Date
    07-07-2020
    Location
    Ireland
    MS-Off Ver
    Office Standard 2007
    Posts
    1

    Formula to do this :if A3 contains text from G3:G4 then return text from H3:H4 into B3

    Hi help needed for categorising large range of data.

    I need a formula that will do the following
    Excel sample.jpg


    A B C D E F G H
    1 Data Lookup table
    2 Description Return here Contains Return What I want the formula to do
    3 June BIM 2020 eg PTO BIM PTO if A3 contains text from G3:G4 then return text from H3:H4 into B3
    4 DTB June eg SWEEP DTB Sweep if A4 contains text from G3:G4 then return text from H3:H4 into B4

    I need to be able to drag down a formula that will return what I need like a vlookup would

  2. #2
    Valued Forum Contributor
    Join Date
    02-04-2009
    Location
    Texas
    MS-Off Ver
    Excel 2016
    Posts
    665

    Re: Formula to do this :if A3 contains text from G3:G4 then return text from H3:H4 into B3

    How many options are in the Lookup table? the problem is - column A is not a standard format.
    where does the data come from? if you are entering it keep the 3 letter options at the front or the end.
    For example =vlookup(Left(A3,3),G3:H4,2,False)

    The problem you have right now - Left A3 returns Jun

+ 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. Replies: 5
    Last Post: 04-06-2019, 02:18 AM
  2. [SOLVED] How to match a cell with text with a range of text and return own text
    By ec4excel in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-16-2014, 11:07 AM
  3. [SOLVED] Formula to Match a text year against a =text(date,"yyyy") and return a 1 value
    By john dalton in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-14-2014, 10:16 AM
  4. Formula to find and return text string within a cell full of text strings
    By LightingPop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-03-2013, 11:45 PM
  5. [SOLVED] function IF to return text based if text contains exact text
    By in nomine noctis in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-05-2013, 06:25 AM
  6. If cell contains text1, text2 or text 3 return this text, otherwise return X
    By bukmanodrama in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-26-2013, 09:24 AM
  7. Replies: 7
    Last Post: 10-31-2010, 03:32 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