ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Multiple criteria if statement (https://www.excelbanter.com/excel-discussion-misc-queries/95310-multiple-criteria-if-statement.html)

braydon16

Multiple criteria if statement
 

I have a number of units, a rate per month these units are absorbed, and
a cost per unit of absorption; not to mention a date function coinciding
with them. I need to subtract the units at the given rate per month
beginning with the specified first month. I need to use up no more than
the total number of units.


--
braydon16
------------------------------------------------------------------------
braydon16's Profile: http://www.excelforum.com/member.php...o&userid=35643
View this thread: http://www.excelforum.com/showthread...hreadid=554300


macquarl

Multiple criteria if statement
 

I managed to move this one along a little...but it still needs help.

by adding two columns (one that divides the number of unit by the rate)
and another that adds the start date and the newly created units/rate
calc) I was able to estimate the ending date. By modifying the IF
statement so it looks like this :
=IF(EOMONTH(I$1,0)=EOMONTH($E2,0),IF(EOMONTH(I$1, 0)<=EOMONTH($H2,0),$D2*$F2,0),0)
It will only calculate the between the months in the start and end
month columns else it will put in a zero.

The only problem that is left is that there isn't an even amount of
numbers so the final months calculation is off by whatever the decimal
amount is.

Sorry I couldn't completely solve it but at least here is something to
work with.


--
macquarl
------------------------------------------------------------------------
macquarl's Profile: http://www.excelforum.com/member.php...o&userid=26388
View this thread: http://www.excelforum.com/showthread...hreadid=554300


braydon16

Multiple criteria if statement
 

This has seemed to be a real challenge. Anyone with some insight would
be greatly appreciated.


--
braydon16
------------------------------------------------------------------------
braydon16's Profile: http://www.excelforum.com/member.php...o&userid=35643
View this thread: http://www.excelforum.com/showthread...hreadid=554300



All times are GMT +1. The time now is 06:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com