HELP WITH ADDRESS, OFFSET AND SUMIF - GET A VALUE ACCORDING OTHER INPUTS WITH CONSTRAINTS

cgmstudt

New Member
Joined
Jan 10, 2020
Messages
1
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
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
 

Attachments

  • Example 1.PNG
    Example 1.PNG
    105.4 KB · Views: 6

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
56,468
Office Version
  1. 365
Platform
  1. Windows
Cross posted Help with address, offset and sumif - get a value according other inputs with constraints

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,392
Messages
5,636,044
Members
416,893
Latest member
Jomider

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top