+ Reply to Thread
Results 1 to 2 of 2

Find a cell in one file.sheet and bring it into another file.sheet

  1. #1
    Registered User
    Join Date
    03-07-2013
    Location
    Long Beach, WA
    MS-Off Ver
    Excel 2013
    Posts
    87

    Find a cell in one file.sheet and bring it into another file.sheet

    I have a summary file/sheet and want to bring values from other files into it. There are a few cases:
    1) Where the source cell is known. This is easy.
    2) Where the source cell is not known but must be found. This is harder and I'd appreciate some help with it.
    Example:
    One source column has various text entries BUY, SELL, HOLD
    Another source column has various numerical entries.
    I want to find the LAST entry in the first column that says BUY and I want to transfer the value in the same row from the numerical entries.
    Like this:

    Price Indicator
    3.500 HOLD
    3.700 HOLD
    3.780 BUY
    3.900 HOLD
    4.100 HOLD

    For this, it would return 3.780.
    Then I want to do the same for SELL in the "Indicator" column and figure it must be about the same.

    Perhaps easier, I also want to transfer the *last* value in a known column.
    Last edited by fred3; 03-27-2014 at 12:21 PM.

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Find a cell in one file.sheet and bring it into another file.sheet

    Assuming your Indicator column is Column A and Column with Numbers is column B
    in D1 type Sell, E1 Type Buy and In F1 type Hold then in D2 copy paste below and hit enter drag to right
    =LOOKUP(2,1/($A$1:$A$1000=D$1),$B$1:$B$1000)

    change the references as per data !
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

+ 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. Find a cell in another sheet/file and display the cell below it
    By Waqaskp in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-13-2013, 05:20 PM
  2. Replies: 0
    Last Post: 08-12-2013, 09:48 AM
  3. Copy / Paste Values Only one sheet into another file from a multi sheet excel file
    By srisri201012 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-27-2013, 12:56 PM
  4. [SOLVED] Get file path from a cell, run a check to see if the file has a specific sheet if yes copy
    By Martha44 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-04-2013, 03:35 AM
  5. Replies: 12
    Last Post: 01-14-2008, 03:01 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