+ Reply to Thread
Results 1 to 3 of 3

Getting cell value based on another cell or formulae

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

    Getting cell value based on another cell or formulae

    Hi,
    I am having a big mental block at the moment.
    I am trying to get a excel cell value (i.e. a date) based on a value in another cell
    I have a spreadsheet which tracks electricity usage and solar production at my house. I store in column A the Date, Col B the time, Col E the electricity Reading, Col J the solar produced
    I can get the last value entered using the formula: =LOOKUP(2,1/('Electricity-Solar-2021'!E1:E1000<>""),'Electricity-Solar-2021'!E1:E1000) (this works)
    I can get the reference cell to that value using: =ADDRESS(MATCH(AH22,'Electricity-Solar-2021'!E1:E1000,0),COLUMN(A23)) (this works) - AH22 is the location of the value returned.
    I tried using the indirect formula: =INDIRECT(ADDRESS(MATCH(AH22,'Electricity-Solar-2021'!E1:E1000,0),COLUMN(A23))) but I get a value of 0

    Essentially I want to get the date that relates to the last entered value.

    Any help or example would be appreciated.
    Cheers
    Tonez
    Last edited by tonez90; 04-13-2023 at 09:26 PM. Reason: closing thread

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    Win10/MSO2016
    Posts
    12,971

    Re: Getting cell value based on another cell or formulae

    No workbook??
    =index(A1:A1000,match(9E303,'Electricity-Solar-2021'!E1:E1000))

    no workbook!
    Ben Van Johnson

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

    Re: Getting cell value based on another cell or formulae

    Thanks Ben
    I have managed to get the value working. I have attached a solution for others who may be interested.
    Cheers for a quick response
    Regards
    Tonez
    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] formulae for cell fill based on data in another cell
    By jonmckennawait in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-20-2013, 10:49 AM
  2. [SOLVED] Formulae in one cell to reflect formulae in another cell,
    By Dthawe in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-07-2013, 04:11 PM
  3. [SOLVED] display result of formulae in one cell as ss.00 and in next cell as mm:ss.00
    By jacklee628 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-15-2013, 02:34 AM
  4. 2 formulae to go in one cell
    By Tracey in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  5. [SOLVED] 2 formulae to go in one cell
    By Lewis Clark in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 06:05 AM
  6. 2 formulae to go in one cell
    By Lewis Clark in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 04:05 AM
  7. [SOLVED] 2 formulae to go in one cell
    By Tracey in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  8. 2 formulae to go in one cell
    By Tracey in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 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