+ Reply to Thread
Results 1 to 1 of 1

Formula to calculate lot number based on FIFO to be used for XIRR

  1. #1
    Forum Contributor
    Join Date
    02-09-2010
    Location
    Constanta
    MS-Off Ver
    Excel 2007
    Posts
    128

    Formula to calculate lot number based on FIFO to be used for XIRR

    Greetings,

    I would like to calculate XIRR for each closed stock position, ie, where the buy and sell order has been executed. I tried to approach this by using a formula to identify which sell transaction has resulted in a closed stock position. However, I am struggling to generate lot numbers based on this so as to allow me to calculate XIRR for every open / closed position.

    To help understand further, in the attached file, Col P refers to the closed position. I would like to get a formula to give me the desired results in Col Q. Currently, the XIRR range I have will generate a result for all transactions. I would like to get separate results for lot1 and lot2, which I believe I should be able to do so if I can get Col Q to be calculated via formula.

    Any help would be greatly appreciated.

    Kind regards
    AGS
    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. Formula to calculate % based on a number & text in cells
    By Skyboy88 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-15-2014, 07:02 AM
  2. formula that calculate cost price using fifo method
    By me1979 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-31-2013, 02:50 PM
  3. Replies: 1
    Last Post: 07-18-2013, 10:11 AM
  4. Formula calculate based on negative or positive number
    By oxicottin in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 11-15-2012, 12:45 PM
  5. Need a formula to calcule inventoy based on the FIFO intentory valuation method
    By barbercabinet58 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-12-2012, 02:34 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