+ Reply to Thread
Results 1 to 7 of 7

Excel 2016 contain and copy question

  1. #1
    Registered User
    Join Date
    04-15-2020
    Location
    Latvia
    MS-Off Ver
    Pro Plus 2016
    Posts
    7

    Lightbulb Excel 2016 contain and copy question

    Hi,

    I struggle with this function...

    I try to make sort column by 2 cells with contain.

    So example: IF I2:I300 contains A2&B2 then copy it to F2 and so on if not stay blank or null.

    Have someone some advice?

    Capture.JPG

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Excel 2016 contain and copy question

    Hi, welcome to the forum

    Really hard to see what that pic contains, but I suggest that you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    See the yellow banner above to see how
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    04-15-2020
    Location
    Latvia
    MS-Off Ver
    Pro Plus 2016
    Posts
    7

    Re: Excel 2016 contain and copy question

    Here is excel example:

    edited wrong file.
    Attached Files Attached Files
    Last edited by ManiaKsLV; 04-15-2020 at 04:01 PM.

  4. #4
    Registered User
    Join Date
    04-15-2020
    Location
    Latvia
    MS-Off Ver
    Pro Plus 2016
    Posts
    7

    Re: Excel 2016 contain and copy question

    Can someone give some better hint how to make this possibe?

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Excel 2016 contain and copy question

    Sorry, still having a hard time figuring out what you are doing.

    I dont see Ax or Bx in col G at all?
    IF G2:G99 contains Ax and Bx then copy here

  6. #6
    Registered User
    Join Date
    04-15-2020
    Location
    Latvia
    MS-Off Ver
    Pro Plus 2016
    Posts
    7

    Re: Excel 2016 contain and copy question

    Quote Originally Posted by FDibbins View Post
    Sorry, still having a hard time figuring out what you are doing.

    I dont see Ax or Bx in col G at all?
    Ax mean A1 A2 A3 ...
    Bx mean B1 B2 B3 ...

    I want to compare all column G with A1&B2 if in some row contain info from A2 and B2 then it copy that cell in F2 if not it can stay blank.

    then same A3&A3 .... and so on.

    I need to sort same info from G column beside on A B C D E. All A to E is correct by default. No change needed. Info in G is correct but position is wrong.

    I have 500+ cells in G column and i want sort them from A and B cell.

  7. #7
    Registered User
    Join Date
    04-15-2020
    Location
    Latvia
    MS-Off Ver
    Pro Plus 2016
    Posts
    7

    Re: Excel 2016 contain and copy question

    added new excel file.
    Attached Files Attached Files

+ 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] Copy to clipboard using MS EXCEL 2016
    By Seifptv in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-06-2020, 04:41 AM
  2. Replies: 0
    Last Post: 11-20-2019, 04:05 AM
  3. Excel 2016 - changing graph horizontal access & slicer question
    By clairh2011 in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 11-03-2017, 05:12 PM
  4. [SOLVED] Excel 2016 Subtraction Question
    By Oddbob in forum Excel General
    Replies: 3
    Last Post: 09-28-2017, 07:06 AM
  5. Replies: 1
    Last Post: 09-18-2017, 08:27 AM
  6. Help! Automated Email coding for Excel 2016 and Outlook 2016 problems
    By lisa6421 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-01-2017, 08:07 AM
  7. Excel 2016 won't copy a formula down the column
    By raider573 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-16-2017, 12:40 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