+ Reply to Thread
Results 1 to 3 of 3

copy data based on same value

  1. #1
    Registered User
    Join Date
    12-02-2014
    Location
    Dubai
    MS-Off Ver
    Excel 2010
    Posts
    1

    copy data based on same value

    Hello All,

    Please help me with following,

    I have in sheet 1

    A1="DATE" B1="CODE" C1="ACC CODE"
    A2="1-11" B2="B1" C2="CAP"
    A3="2-11" B3="B2" C3="MT"
    A4="3-11" B4="B3" C4="MT"
    A5="4-11" B5="B4" C5="OE"

    In Sheet2 I have

    B1="Items"
    A2="DATE" B2="CODE" C1="ACC CODE"



    B6="OFF EXP"
    A7="DATE" B7="CODE" C7="ACC CODE"




    what i want is If I enter the ACC Code in Sheet2 in ( C2 )
    The other 2 data that is CODE & DATE should be copied from SHEET1
    I have used the INDEX function but it only copies the third row everytime.It does not goes further.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: copy data based on same value

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Forum Contributor
    Join Date
    10-29-2014
    Location
    udaipur, rajasthan
    MS-Off Ver
    2007
    Posts
    352

    Re: copy data based on same value

    Hi Mohsin,

    Looking like this..?

    See the file.
    Attached Files Attached Files
    If answer helped you say Thanks by Add Reputation

+ 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] VBA: Need to copy data in one cell on one worksheet to another based on data
    By Deanne in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-03-2014, 07:45 PM
  2. Macro to filter data and copy the data's from multiple columns based on the criteria
    By millatshawn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2014, 08:14 AM
  3. Copy row of data to another sheet based on cell data
    By david028 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-29-2013, 09:38 AM
  4. copy & paste data based on its location in relation to other data.
    By wezwells in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-14-2013, 07:45 AM

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