Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Adding a 3rd IF statement ??


Is it possible to add to this function a third "IF" statement?

If it is possible, How do I add "subtract DP11 if DM11 matche
J10:DA10"



=IF(OR(J$10$I$11,J$10<$H$11),"",IF(J$10=$H$11,$H$ 11,$H$11+((J$10-$H$11)/$H$4)*$H$4))


Thank you for all your help as always

--
yh7309
-----------------------------------------------------------------------
yh73090's Profile: http://www.excelforum.com/member.php...nfo&userid=751
View this thread: http://www.excelforum.com/showthread.php?threadid=26990

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Adding a 3rd IF statement ??

From what you describe, I don't know where it should go in the formula. You
already have 2 IF statements, and for each one you have specified both a TRUE
and FALSE option. One of those options has to be replaced by another IF
statemewnt.

On Sat, 16 Oct 2004 21:00:46 -0500, yh73090
wrote:


Is it possible to add to this function a third "IF" statement?

If it is possible, How do I add "subtract DP11 if DM11 matches
J10:DA10"



=IF(OR(J$10$I$11,J$10<$H$11),"",IF(J$10=$H$11,$H $11,$H$11+((J$10-$H$11)/$H$4)*$H$4))


Thank you for all your help as always.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default Adding a 3rd IF statement ??

My best guess is you wanted to add that feature to the 2nd IF..False
argument.

=IF(OR(J$10$I$11,J$10<$H$11),"",IF(J$10=$H$11,$H$ 11,IF(COUNTIF($J$10:$DA$10
,$DM$11)0,$H$11+((J$10-$H$11)/$H$4)*$H$4-$DP$11,$H$11+((J$10-$H$11)/$H$4)*$
H$4)))

Mike F
"yh73090" wrote in message
...

Is it possible to add to this function a third "IF" statement?

If it is possible, How do I add "subtract DP11 if DM11 matches
J10:DA10"




=IF(OR(J$10$I$11,J$10<$H$11),"",IF(J$10=$H$11,$H$ 11,$H$11+((J$10-$H$11)/$H$
4)*$H$4))


Thank you for all your help as always.


--
yh73090
------------------------------------------------------------------------
yh73090's Profile:

http://www.excelforum.com/member.php...fo&userid=7510
View this thread: http://www.excelforum.com/showthread...hreadid=269908



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default Adding a 3rd IF statement ??

As a rule you can have up to 7 nested IF statements. The trick is to keep
track of the logic.
"yh73090" wrote in message
...

Is it possible to add to this function a third "IF" statement?

If it is possible, How do I add "subtract DP11 if DM11 matches
J10:DA10"




=IF(OR(J$10$I$11,J$10<$H$11),"",IF(J$10=$H$11,$H$ 11,$H$11+((J$10-$H$11)/$H$
4)*$H$4))


Thank you for all your help as always.


--
yh73090
------------------------------------------------------------------------
yh73090's Profile:

http://www.excelforum.com/member.php...fo&userid=7510
View this thread: http://www.excelforum.com/showthread...hreadid=269908



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
Adding a statement to several documents Newbee Excel Worksheet Functions 2 March 17th 08 04:41 PM
Adding A Not(IsBlank) To IF Statement(help) getmhawks Excel Worksheet Functions 2 June 12th 06 10:43 PM
Adding an AND Statement to COUNTIF Kenton_SJ Excel Worksheet Functions 2 June 17th 05 11:59 PM
adding if statement results Robb27 Excel Worksheet Functions 3 November 20th 04 05:27 AM
Adding SQL Select Statement Pepe[_2_] Excel Programming 1 January 29th 04 02:19 AM


All times are GMT +1. The time now is 10:50 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"