+ Reply to Thread
Results 1 to 4 of 4

How to retrieve the historical price based on the transaction date

Hybrid View

  1. #1
    Registered User
    Join Date
    08-10-2016
    Location
    singapore
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2411 Build 16.0.18227.20082) 64-bit
    Posts
    25

    How to retrieve the historical price based on the transaction date

    Hi everyone,

    I�ve created a transaction listing based on three types of materials. However, I need a formula to retrieve the historical average price from the second tab for each material. I would appreciate it if you could help me with the formula.

    Thank you!

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: How to retrieve the historical price based on the transaction date

    You can use this formula in H5 for the first metal (Platinum):

    =SUMIFS('Tab B - Historial Pricing'!C$4:C$39,'Tab B - Historial Pricing'!$B$4:$B$39,EOMONTH($C5,-1)+1)

    Copy/Paste this into J5 and L5 for the other metals, then copy all 3 formulae down as far as required.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    08-10-2016
    Location
    singapore
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2411 Build 16.0.18227.20082) 64-bit
    Posts
    25

    Re: How to retrieve the historical price based on the transaction date

    Thank you Peter! It works!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: How to retrieve the historical price based on the transaction date

    Glad to help, and thanks for the rep.

    Pete

+ 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: 10
    Last Post: 01-04-2024, 07:54 AM
  2. count the transaction based on the date
    By webmax in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-20-2022, 02:17 AM
  3. Getting the correct historical price
    By SemmyM in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-17-2021, 12:17 PM
  4. Replies: 1
    Last Post: 02-23-2018, 06:38 PM
  5. Historical Price Change Formula Help
    By fatsanta92 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-19-2017, 02:12 PM
  6. How to Retrieve Historical Stock Prices?
    By Robert K in forum Excel General
    Replies: 8
    Last Post: 03-18-2012, 04:42 AM
  7. Complicated set of calculations based on transaction IDs, transaction value, etc.
    By BeeZeRCoX in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-14-2011, 11:35 AM

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