+ Reply to Thread
Results 1 to 5 of 5

Substracting a value, that is in a previous cell from the value found with lookup(9^9...

  1. #1
    Registered User
    Join Date
    11-12-2014
    Location
    Munich, Germany
    MS-Off Ver
    2016
    Posts
    9

    Substracting a value, that is in a previous cell from the value found with lookup(9^9...

    Hi,

    I got a row of numbers, where every week a new value gets added. To display the changes from the previous week I use

    =LOOKUP(9^9;C3:O3)-F3

    where the LOOKUP picks the last cell with a value and "F3" is the reference to the previous weeks value, which I have to adjust each time. And that is exactly, what I don't want to have to do anymore.

    How could I replace the "F3" with a formula, that would automatically pick kind of "last cell with a value" (what I get with the LOOKUP) minus one column?

    Thanks
    xingo
    Last edited by xingo; 11-12-2014 at 07:44 AM.

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Substracting a value, that is in a previous cell from the value found with lookup(9^9.

    please post sample file
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    11-12-2014
    Location
    Munich, Germany
    MS-Off Ver
    2016
    Posts
    9

    Re: Substracting a value, that is in a previous cell from the value found with lookup(9^9.

    Hi,

    example now attached.

    Thanks
    xingo
    Attached Files Attached Files

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Substracting a value, that is in a previous cell from the value found with lookup(9^9.

    =LOOKUP(9^9,A4:M4)-INDEX(A4:M4,LOOKUP(9^9,A4:M4,COLUMN(A4:M4)-1))
    Try this

  5. #5
    Registered User
    Join Date
    11-12-2014
    Location
    Munich, Germany
    MS-Off Ver
    2016
    Posts
    9

    Re: Substracting a value, that is in a previous cell from the value found with lookup(9^9.

    Thanks nflsales... works perfectly! :-)

+ 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: 8
    Last Post: 01-10-2014, 03:43 AM
  2. Lookup and move relative to cell found
    By garner.ms in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-04-2013, 12:44 PM
  3. [SOLVED] Automatic look up and substracting if found match.
    By alxes in forum Excel General
    Replies: 4
    Last Post: 10-03-2012, 06:43 AM
  4. Macro for substracting the specific cell
    By ronlau123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2011, 11:33 AM
  5. Substracting Previous Row from Current Row
    By Prem in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 10-01-2007, 10:32 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