+ Reply to Thread
Results 1 to 4 of 4

Opportunity cost calculation

  1. #1
    Registered User
    Join Date
    12-11-2020
    Location
    USA
    MS-Off Ver
    Professional
    Posts
    18

    Opportunity cost calculation

    Hello,

    Need help with opportunity cost calculation

    If there is more data set for the item ie in rows, need to calculate based on the difference in prices

    More details in the attachment.

    Thank you
    Attached Files Attached Files
    Last edited by chintakk; 12-28-2020 at 01:49 AM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Opportunity cost calculation

    Hi,

    This is clearly a much simplified example and probably doesn't represent the size of your actual data. We often find that when we give an answer to what is a trivial non representative example when the solution is used with the real world data it doesn't work because of factors like string length and other stuff which is important but hasn't been mentioned. Always upload a truly representative sample.

    For instance is the data always sorted by Item #
    Does every row contain an item #, A5 & A6 don't contain a reference, any function solution is almost certainly going to need that.
    You don't say what your Excel version is so we don't know whether you have all the latest functions.

    That said, and assuming there are item #s in each row then in E2 copied down

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Opportunity cost calculation

    If you change your structure to fill in the blanks on column A with all the numbers (rather than leaving as blank)

    then this might assist in F2 as an array formula (control + shift + enter) and dragged down

    Please Login or Register  to view this content.
    and this in G2 and drag down

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Happy with my advice? Click on the * reputation button below

  4. #4
    Registered User
    Join Date
    12-11-2020
    Location
    USA
    MS-Off Ver
    Professional
    Posts
    18

    Question Re: Opportunity cost calculation

    Thank you for the response.
    Change in my request, instead of choosing minimum, choosing average
    Also added a bigger set of data.
    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. [SOLVED] Average cost calculation
    By Berna11 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-01-2017, 08:40 AM
  2. Food cost calculation
    By Rob8222 in forum Excel General
    Replies: 8
    Last Post: 06-06-2016, 07:30 PM
  3. Need Help With Cost Calculation
    By mohdm in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-24-2015, 11:29 AM
  4. Replies: 1
    Last Post: 04-24-2015, 09:46 AM
  5. Cost Optimisation Calculation
    By yokong in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-02-2012, 08:12 AM
  6. Cost Driver calculation - Looking for formula/macro to calculate manpower cost alloca
    By Swastik Banerje in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-30-2009, 11:18 AM
  7. Opportunity cost
    By rajgopal in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-17-2006, 01:36 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