Results 1 to 5 of 5

Macro to Reformat Raw Data - Correct Syntax?

Threaded View

  1. #1
    Registered User
    Join Date
    02-07-2021
    Location
    Seattle, WA
    MS-Off Ver
    Office 2019
    Posts
    2

    Macro to Reformat Raw Data - Correct Syntax?

    Hi,

    I'm building a macro to automate the formatting of raw data. For now, I just want to get the correct syntax for the formula I'm building.

    The problem I've run into is creating a formula (for a new column) that scans a string of text for a phrase then looks through a table in a separate worksheet with the scanned for phrase on the left and the value I want the cell to return if it matches in the right.

    Layout:

    Description Worksheet

    [Description Column] - cells with strings of text

    [Type] - ???this is where the result of the formula will go???

    Input Worksheet

    [Contains Column] - scan for this phrase in the [Description Column]

    [Return Column] - If there's a match, return this word in the [Type]

    The formula should check all the phrases in the [Contains Column] for a possible match.

    Help would be immensely appreciated!

    File is attached below.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by FDibbins; 02-08-2021 at 02:28 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Help with making a formula
    By stockman in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-07-2018, 09:28 AM
  2. Decision-Making Formula
    By andrewc in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-20-2013, 07:21 AM
  3. Making a Robust IF then formula
    By wallstreetballa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-25-2013, 02:33 AM
  4. Making if-then formula to consider day of the week
    By McBane in forum Excel General
    Replies: 9
    Last Post: 03-02-2011, 01:09 PM
  5. Making a hyperlink from a formula
    By protocoledu in forum Excel General
    Replies: 6
    Last Post: 12-17-2009, 09:07 AM
  6. Making a certain formula
    By DogStar5988 in forum Excel General
    Replies: 5
    Last Post: 08-01-2007, 05:33 AM
  7. Making a formula using letters
    By Parkside1 in forum Excel General
    Replies: 1
    Last Post: 06-09-2006, 04:20 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