+ Reply to Thread
Results 1 to 2 of 2

Combining two reports - Need to find value in two columns and place it into another

  1. #1
    Registered User
    Join Date
    02-02-2017
    Location
    nj
    MS-Off Ver
    2013
    Posts
    2

    Combining two reports - Need to find value in two columns and place it into another

    Hello All,

    I have two reports that run similar data that i need to combine.

    After combining, my report will look like this:

    A B C
    1 55000 55000,1,female,NJ
    2 55000 56000,1,male,NY
    3 56000 57000,2,male,PA
    4 56000 58000,2,female,ct
    5 57000 59000,2,male,md
    6 57000 60000,3,male,ri

    I will need the report to place a value C1, where the value in column B begins with the 5 digit number that found in A1.

    It would need to look like this in the end (C1 has to show the B:B value that starts with the text in A1):

    A B C
    1 55000 55000,1,female,NJ 55000,1,female,NJ
    2 55000 56000,1,male,NY 55000,1,female,NJ
    3 56000 57000,2,male,PA 56000,1,male,NY
    4 56000 58000,2,female,ct 56000,1,male,NY
    5 57000 59000,2,male,md 57000,2,male,PA
    6 57000 60000,3,male,ri 57000,2,male,PA


    Is there a code I can write for to complete this? Or is there a formula I can use?

    Thanks so much for your help. The accountability wing of the NJDOE also thanks you!

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Combining two reports - Need to find value in two columns and place it into another

    Welcome to the Forum. It would be best to actually attach a workbook showing how your data looks before running the macro and include a sheet that shows how you want it too look after running the macro. To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button, hit Done and type a few words in the greyed out thread. I'm sure we will be able to assist you.

+ 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. Combining Sales reports
    By rs1aj in forum Excel General
    Replies: 4
    Last Post: 08-19-2014, 08:44 AM
  2. Please Help - Summary/Reports (Multiple columns calculation into different reports)
    By funguy757 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-17-2014, 12:50 PM
  3. [SOLVED] match 2 columns in the 1st place and then 2 other columns in the 2nd place
    By flunzy in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 11-28-2013, 07:37 PM
  4. Replies: 2
    Last Post: 03-16-2013, 09:26 PM
  5. Range.Find to find column and place value in next available cell in one line
    By davegugg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-02-2011, 10:41 AM
  6. Combining find with clearcontents on multiple columns
    By RussB in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-13-2006, 07:25 PM
  7. Find data in columns, then place in rows
    By couriced in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-29-2005, 12:44 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