Nesting Formula

G

Guest

I have the following "If" statements that I want to nest.

=IF($H8<5,0)
=IF($H8>1,$G8,0)
=IF($H8=5,$G8*($H8-$E8+1),0)

The three statements by themselves work fine. I have ended up with the
following nested statement which gives me a formula error. I have changed the
number of brackets without success.

=IF($H8=5,$G8*($H8-$E8+1)),if($H8<5,0),IF($H8>1,$G8),Q18),0))))

Any suggestions would be appreciated.

Thanks.
 
D

Don Guillett

Not very clear about all possibilities but try
=IF($H8=5,$G8*($H8-$E8+1),=IF($H8>1,$G8,0))
 
G

Guest

This is a revenue recognition model. Revenue is not recognized until the
invoice is paid which is noted in column H.

Column H reflects the month the invoice was paid, if it wasn't paid it is
zero.

If the invoice was booked in Janaury but not paid until May (month 5), then
Jan-Apr are zero if which is the first formula listed below.

The third formula is the catchup calculation of revenue earned with column E
= to the month number the invoice was booked. Booked in Jan, paid in May
(5-1+1) times the monthly prorated amount in column G.

The middle formula records the prorated revenue amount if the invoice was
paid but the month is after the month the invoice was paid (June - December)

thnaks for your help.

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top