+ Reply to Thread
Results 1 to 2 of 2

Help with address, offset and sumif - get a value according other inputs with constraints

  1. #1
    Registered User
    Join Date
    01-10-2020
    Location
    Leeds
    MS-Off Ver
    365
    Posts
    3

    Post Help with address, offset and sumif - get a value according other inputs with constraints

    Hi all,

    I am facing a problem in Excel that I am unable to solve for at least 3 days.
    In my spreadsheet, I have some information and calculations regarding an asset. The structure follows as:

    Purchase information

    Then Initial Cash
    Then expenses:
    - Investment
    - Debt
    - Equity
    - Acquisition cost

    = Available post-investment

    - Renewal Cost

    = Available post Renewal

    The problem occurs with the renewal cost (ROW 18). To calculate if the company will renew the asset, it is necessary to attend some conditions.
    1) Respect the renewal stand by, which means, the period that the asset can be renewed after it was purchased (input on AE10).

    2) Then the formula on ROW18 has to look back at the ROW4 (new purchases) given the period it is inserted on AE10. For that, I used:
    (INDIRECT(ADDRESS(ROW($B$4),MAX(COLUMN($C$3),D2-$AE$10+COLUMN($D$3)))). So, it either returns the cell X months ago or the value of 0, given this formula.

    3) It also has to check if it attends financial conditions. If Available post-investment has cash enough to still fulfil the minimal cash need (AE5) + the number of purchases X months ago, multiplied by the individual cost of each of them (AE14). If it doesn't, it checks if the X months ago purchase was greater than 0, if it was, then it checks again if the financial constraints can renewal at least 1 asset. And return the cost of 1 asset renewal.

    The problems are that 2) the formula seems a bit complicated, I am not sure if I can make it easier. And in 3) the formula only checks the cell - X months ago, but it should sum everything prior to this as well. Because maybe the financial constraints do not let to renew this month but would let in the next month if the purchased quantity could be carried forward.
    Moreover, I only put the other option as 1 to renewal if financial constraint * the total value returned from 2), because I do not know a way of figuring out, the max that could be renewed, given the financial constraints, like a minimal multiple.
    And once again, the entire formula looks way too complicated.

    If someone can help me with this problem, it would be beyond explanation the amount of my gratitude.

    PS: I am not sure how to update the file.

    Many thanks,
    Caio
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,443

    Re: Help with address, offset and sumif - get a value according other inputs with constrai

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note:as you are new I will do it for you THIS time.Please read forum rules

    https://www.mrexcel.com/board/thread...aints.1120193/

+ 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] SUMIF: don't understand that purpose of the OFFSET inside SUMIF
    By Vitalite in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-30-2017, 03:13 AM
  2. Repeatable offset based on inputs
    By RVA_ExcelMonkey in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-09-2015, 12:45 PM
  3. Display offset address
    By Jaeger in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-27-2014, 07:50 AM
  4. Offset, Address & Match
    By veeru_php in forum Excel General
    Replies: 1
    Last Post: 06-28-2011, 03:13 AM
  5. Multiple cell address inputs to a macro
    By chanteur in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-23-2007, 05:07 PM
  6. [SOLVED] ???? =offset(ADDRESS(ROW(),COLUMN()),1,1,1,1)
    By Creator in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-17-2006, 10:20 AM
  7. [SOLVED] OFFSET using ADDRESS for the reference argument
    By Domenic in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 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