+ Reply to Thread
Results 1 to 4 of 4

Need a formula for profit/loss that can reference different rows of data

  1. #1
    Registered User
    Join Date
    04-19-2021
    Location
    Florida, US
    MS-Off Ver
    Excel for Mac Version 16.48
    Posts
    2

    Need a formula for profit/loss that can reference different rows of data

    I am trying to find a formula for the "P/L" column that I can drag down to new cells, but will check to see which opening data it should reference. When opening data and closing data are both on the same row it works nicely, but if closing transactions get split across different dates I'm not sure how to get it to check the appropriate row without manually changing the formula. I would like to find something that can just be dragged down to duplicate. Each opening transaction should have a unique combination of Symbol, Strike, and Exp so I was thinking maybe I could use those variables to match things up, but I'm not sure how or if there is a simpler way to accomplish what I'm trying to do. Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Need a formula for profit/loss that can reference different rows of data

    Your template is empty.
    Try to input few rows with data manually.
    Quang PT

  3. #3
    Registered User
    Join Date
    04-19-2021
    Location
    Florida, US
    MS-Off Ver
    Excel for Mac Version 16.48
    Posts
    2

    Re: Need a formula for profit/loss that can reference different rows of data

    Quote Originally Posted by bebo021999 View Post
    Your template is empty.
    Try to input few rows with data manually.
    Hmm... I'm sorry I'm not sure what I did wrong? When I download the example template I posted it my OP it has data in it... , here is a screenshot of the spreadsheet if that helps imgur. com/a/N8tAvCU

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,543

    Re: Need a formula for profit/loss that can reference different rows of data

    The font is set to Cambria Math. When I changed the font then the values appeared.
    The following formula, pasted into cell T3 and copied down, returns the original results with the exception of the #DIV/0!
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Pivot table profit and loss by month - calculate gross profit and gross profit %
    By parkviewfinance in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-26-2020, 02:34 AM
  2. Help with win loss and tie column & adding profit based on win or loss.
    By schroeder641 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-25-2016, 03:41 PM
  3. 1. consecutive days of profit and of losses 2. biggest profit loss since date
    By xbohemianx in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-14-2013, 12:57 PM
  4. Formula for business profit/loss account
    By smellsgood in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-31-2010, 07:12 AM
  5. profit/loss cell colouring formula
    By kev1n1983 in forum Excel General
    Replies: 1
    Last Post: 10-07-2007, 06:13 PM
  6. [SOLVED] Profit and Loss Formula
    By carl in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-25-2006, 05:35 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