+ Reply to Thread
Results 1 to 4 of 4

Lookup and cell referencing

  1. #1
    Registered User
    Join Date
    02-11-2014
    Location
    Darwin, Australia
    MS-Off Ver
    Office 365
    Posts
    34

    Lookup and cell referencing

    Hi All.
    I have a spreadsheet which has a number of columns: Col A = series of dates, Col G has sporadic Dollar values (not all cells have values against the date).
    I am trying to calculate the number of days between one date and the corresponding date in Col 1.
    I use the formula to get the last value in col G : =(LOOKUP(2,1/(G4:G400<>""),G4:G400))
    I am trying to get the corresponding value and cell address (Col A).

    I am trying to look at the changes in dollar values over time based on share prices which I get on a sporadic basis..

    An example would be Col A:
    A4 = 07 May 2019, A5 = 08 May 2019 etc down to 01 Jan 2020

    Col G
    G4=$2000, G20 = $3540, G34 = $2560

    So If col G is at 01 Dec 2019 then I am trying to get the address and value of col A.

    Any help would be appreciated
    Attached Files Attached Files
    Last edited by tonez90; 12-10-2019 at 10:36 PM. Reason: Adding an example spreasheet

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: Lookup and cell referencing

    Attach a sample workbook. Details of how to do this are given in the yellow banner at the top of the screen.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    02-11-2014
    Location
    Darwin, Australia
    MS-Off Ver
    Office 365
    Posts
    34

    Re: Lookup and cell referencing

    Have done so. I hope this helps you understand what I am trying to get. Thanks for the assist.
    Tony

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Lookup and cell referencing

    Try

    =LOOKUP(2,1/(G4:G28<>""),A4:A28)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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. Replies: 5
    Last Post: 05-21-2015, 02:33 PM
  2. [SOLVED] Look UP formula by referencing certain values of lookup cell
    By Excel Dumbo in forum Excel General
    Replies: 4
    Last Post: 11-13-2014, 04:38 AM
  3. [SOLVED] Referencing cell in lookup formula
    By jeffandnicole in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-12-2014, 04:41 PM
  4. Replies: 0
    Last Post: 01-09-2013, 06:58 AM
  5. lookup value when referencing a merged cell
    By lwflip in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-20-2012, 01:09 AM
  6. Lookup and referencing
    By C90RanMan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-23-2010, 11:40 AM
  7. Lookup referencing cell referencing range
    By cmcconnehey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-15-2008, 06:19 PM

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