+ Reply to Thread
Results 1 to 3 of 3

Formula Needed to copy data from a cell based on data entered into another cell

  1. #1
    Forum Contributor
    Join Date
    07-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    159

    Formula Needed to copy data from a cell based on data entered into another cell

    Sheet2 I7:I1006 = formula

    Sheet2 H7:H1006 = Where the data will be entered. I want to use multiple entries: "S1" through "S10"

    Sheet1 C5:C14 = Exisiting data. Each cell with have a different word in it. "S1" will correspond with with "C5", "S2" with "C6" and so on.


    When I enter "S1" into Sheet2 H7, then Sheet2 I7 will show the data existing in Sheet1 C5. and so on

  2. #2
    Forum Contributor vamosj's Avatar
    Join Date
    04-23-2004
    Location
    Oregon
    MS-Off Ver
    2010
    Posts
    292

    Re: Formula Needed to copy data from a cell based on data entered into another cell

    Sheet2 I7:I1006 = formula

    Sheet2 H7:H1006 = Where the data will be entered. I want to use multiple entries: "S1" through "S10"

    Sheet1 C5:C14 = Exisiting data. Each cell with have a different word in it. "S1" will correspond with with "C5", "S2" with "C6" and so on.


    When I enter "S1" into Sheet2 H7, then Sheet2 I7 will show the data existing in Sheet1 C5. and so on

    Place this in I7, Copy and Paste down the column

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Janos S. Vamos
    Data Systems Technician/Fire Controlman PO1(SW/AW)
    US Navy Retired


    Remember, Record Macro can be your friend for figuring out solutions.

    Good or Bad, let me know how I did by clicking on the "Add Reputation" * just to the lower left of here. it only takes a few seconds to let someone know.

  3. #3
    Registered User
    Join Date
    09-21-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2003
    Posts
    93

    Re: Formula Needed to copy data from a cell based on data entered into another cell

    The formula provided by vamosj may work but its lengthy

    Try this one instead

    In Sheet 2 type s1 s2 .....s10 in N7 to N16 and
    type c5 c6 .....c14 in O7 to O16

    then in I7 type this
    =INDIRECT("Sheet1!"&LOOKUP(H7,N7:N16,O7:O16))

    I don't know how to attach a file while replying to thread , but i hope u got the idea

+ 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] If data entered in cell, on same row, copy and paste data from other cells to front sheet
    By Christopher135 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-27-2013, 06:34 PM
  2. Increase formula by 1 row when original cell contents are not constant
    By Tulip1968 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-30-2012, 11:23 AM
  3. Copy row when data entered in cell H
    By fabjay in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-15-2011, 11:53 AM
  4. Transfer data based on name entered into a cell
    By avidcat in forum Excel General
    Replies: 2
    Last Post: 01-23-2011, 09:04 AM
  5. Adding values to a cell based on entered data
    By Tin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-02-2006, 08:55 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