+ Reply to Thread
Results 1 to 1 of 1

Formula that functions is based on what text is in a cell and I need a Macro for this.

  1. #1
    Registered User
    Join Date
    04-01-2019
    Location
    Chicago
    MS-Off Ver
    Excel 365
    Posts
    7

    Formula that functions is based on what text is in a cell and I need a Macro for this.

    I need a macro that will:
    -take a column of cells in excel file(A), check it against a table in a another excel file(B)
    -if cell in (A) matches a cell in (B), then do the formula that is stored in the next cell of excel file(B) inside the next cell of (A) and then repeat for all filled cell in (A).
    ----also how do I store a formula in a cell that can be used in another file? is there a better way to store the formula?


    For the match, I need it to match a cell even if there is or is not a hyphen in the text.
    For example: "SOD323" should match with the Cell that contains "SOD-323" or "SOD323" but not anything else.
    Also:"SOT23-3" should match with the Cell that contains "SOT23-3" or "SOT-23-3" but not anything else.
    Last edited by 6StringJazzer; 04-02-2019 at 07:51 AM. Reason: Moved from Excel Formulas & Functions

+ 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. Macro to Change Text Color to Red in Cell Based of Cell Value in Another Worksheet
    By jriemanx2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-18-2016, 11:09 AM
  2. Macro to insert text into a cell based on another cell's number
    By ahovancsak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-15-2015, 12:47 PM
  3. Macro to automatically convert prt scr image-based text to real text in cell
    By jasonfromchico in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-24-2014, 02:27 PM
  4. [SOLVED] Event Macro to insert text in cell based on input of another cell
    By nplouffe in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-08-2012, 11:54 AM
  5. Macro to Enter Text in Cell B based on Change in Cell A?
    By kaletag in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2012, 11:59 AM
  6. Macro that will clear contents of cell based on format of text in adjacent cell
    By judasdac in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-12-2012, 01:56 AM
  7. Replies: 2
    Last Post: 11-10-2009, 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