#1   Report Post  
Posted to microsoft.public.excel.misc
DSCAVOTTO
 
Posts: n/a
Default Nesting Formula

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

=IF($H8<5,0)
=IF($H81,$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($H81,$G8),Q18),0))))

Any suggestions would be appreciated.

Thanks.

--
Dave
  #3   Report Post  
Posted to microsoft.public.excel.misc
Barb Reinhardt
 
Posts: n/a
Default Nesting Formula

What do you want to do if $H8 = 2,3, or 4? You have 2 options.

"DSCAVOTTO" wrote:

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

=IF($H8<5,0)
=IF($H81,$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($H81,$G8),Q18),0))))

Any suggestions would be appreciated.

Thanks.

--
Dave

  #4   Report Post  
Posted to microsoft.public.excel.misc
C01d
 
Posts: n/a
Default Nesting Formula


=if($h8=5,$g8*($h8-$e8+1),if($h8<5,0,if($h81,$g8,0)))


--
C01d
------------------------------------------------------------------------
C01d's Profile: http://www.excelforum.com/member.php...o&userid=34422
View this thread: http://www.excelforum.com/showthread...hreadid=544347

  #5   Report Post  
Posted to microsoft.public.excel.misc
DSCAVOTTO
 
Posts: n/a
Default Nesting Formula

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


"Barb Reinhardt" wrote:

What do you want to do if $H8 = 2,3, or 4? You have 2 options.

"DSCAVOTTO" wrote:

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

=IF($H8<5,0)
=IF($H81,$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($H81,$G8),Q18),0))))

Any suggestions would be appreciated.

Thanks.

--
Dave

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
assign formula to another cell Dannycol Excel Worksheet Functions 3 May 12th 06 09:46 PM
Nesting the SUBSTITUTE formula Marco Margaritelli Excel Worksheet Functions 4 February 25th 06 02:50 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM


All times are GMT +1. The time now is 05:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"