+ Reply to Thread
Results 1 to 2 of 2

Refining deposited data

Hybrid View

  1. #1
    Registered User
    Join Date
    01-05-2016
    Location
    Southampton
    MS-Off Ver
    Excel 2013
    Posts
    40

    Refining deposited data

    Hi

    I have a report that I run which is pasted into a master spreadsheet, and one column includes naming conventions I use. When this data from the report is dumped into the master spreadsheet I need the naming convention to be altered in the same cell. I know I can use a vlookup for this to refine the data in another cell but the report data is retrieved using a macro, and in specific order and I cant add extra columns to either my master spreadsheet or my report. I'm thinking an array formula is required, but I could be wrong - either way I'm not sure how this is done!

    The naming convention is dumped into column F in the report, and is pasted along with 16 other columns simultaneously into the spreadsheet (column F data is now in column E).

    Here is an example of the naming conventions I use, and what I need the data to be stripped down to (new result in bold):

    Original

    Jack Daniels (Red) Jack Daniels
    Jack Daniels (Blue) Jack Daniels
    John Smith (Jim Beam - Green) Jim Beam
    John Smith (Johnny Walker - White) Johnny Walker

    Thanks for your time

  2. #2
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Refining deposited data

    Assuming your list is in cells A1:A4, try this in B1 and copy down:
    Formula: copy to clipboard
    =IFERROR(MID(A1,FIND("(",A1)+1,FIND("-",A1)-FIND("(",A1)-2),LEFT(A1,FIND("(",A1)-2))
    Of course, this is simply based on the two naming conventions displayed above. if there are others, then you would likely need a defined list of 'Raw Data' --> 'Name you want to use', and then lookup form there.

    - Moo

+ 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] Help refining a formula - not sure if it needs to VBA or not.
    By Jveto in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-17-2016, 01:43 PM
  2. [SOLVED] Employee deposited in more than one account
    By DPP in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-14-2014, 12:09 AM
  3. Refining VBA Code
    By johannes2008 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-21-2011, 08:37 PM
  4. Formula refining
    By jackandjill in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-23-2010, 08:32 AM
  5. Refining Countif
    By asg2307 in forum Excel General
    Replies: 5
    Last Post: 02-14-2006, 03:20 PM
  6. money deposited into an account with 6.5% interest-amount of year
    By mathwiz in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-02-2005, 06:20 PM
  7. money deposited into an account with 6.5% interest-amount of year
    By mathwiz in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-02-2005, 06:17 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