+ Reply to Thread
Results 1 to 5 of 5

Reference last time job was written down

  1. #1
    Forum Contributor
    Join Date
    05-15-2015
    Location
    Orlando, FL
    MS-Off Ver
    Office Standard 2016
    Posts
    266

    Reference last time job was written down

    I've attached an example book for reference.

    I'm struggling to write a formula that can pull information related to the last time GP was reduced. In the attached workbook, you will see column J represents a month/over month comparison to GP on a job. I'm trying to pull the amount that is last shown as less than $0, and then I can write an index/match formula that can pull the year/month. Any suggestions on which formula to use in order to pull the last time it was negative (Orange highlights are the rows that it should find).
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Reference last time job was written down

    Please try at
    N3
    =XLOOKUP(1,($D$7:$D$48=L3)*($J$7:$J$48<0),$B$7:$C$48,,,-1)

    P3
    =XLOOKUP(1,($D$7:$D$48=L3)*($J$7:$J$48<0),$J$7:$J$48,,,-1)
    Attached Files Attached Files
    Last edited by Bo_Ry; 04-01-2021 at 02:59 PM.

  3. #3
    Forum Contributor
    Join Date
    05-15-2015
    Location
    Orlando, FL
    MS-Off Ver
    Office Standard 2016
    Posts
    266

    Re: Reference last time job was written down

    That doesn't work for me. I'm guessing XLookup is a newer function?

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Reference last time job was written down

    If you really use Office 365, update your office.

    If not, try at
    N2
    =LOOKUP(9^9,B$7:B$48/($D$7:$D$48=$L3)/($J$7:$J$48<0))

    P2
    =LOOKUP(9^9,$J$7:$J$48/($D$7:$D$48=$L3)/($J$7:$J$48<0))
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    05-15-2015
    Location
    Orlando, FL
    MS-Off Ver
    Office Standard 2016
    Posts
    266

    Re: Reference last time job was written down

    This worked, thank you so much.

+ 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. Change written date (Day, day month time timezone) to date string
    By ABBOV in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-08-2017, 05:08 AM
  2. [SOLVED] Averaging written time
    By Losguapos1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-02-2017, 11:55 AM
  3. [SOLVED] Time Stamp written to a hidden sheet
    By enhydra in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-14-2017, 03:55 PM
  4. Replies: 7
    Last Post: 06-22-2016, 10:26 PM
  5. [SOLVED] Macro to make Msg box with something written in it all the time.
    By paz1987 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-20-2015, 07:45 PM
  6. How to reference cell properties where function is written?
    By Lepista in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-10-2010, 07:53 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