Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
KC KC is offline
external usenet poster
 
Posts: 107
Default Add condition to =MAX formula

=MAX(0,((U$1-$K4)/7))*R4-T4

I'm using the formula above, which I need to add a condition to, but I'm not
sure how. If cell D4 = "On Board", then I want to the formula above to
continue, if anything else is in D4, I want the cell to appear blank. Thanks
:)


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Add condition to =MAX formula

Have you tried

=if(d4<"on board","",MAX(0,((U$1-$K4)/7))*R4-T4)
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"KC" wrote in message
...
=MAX(0,((U$1-$K4)/7))*R4-T4

I'm using the formula above, which I need to add a condition to, but I'm
not
sure how. If cell D4 = "On Board", then I want to the formula above to
continue, if anything else is in D4, I want the cell to appear blank.
Thanks
:)



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Add condition to =MAX formula

=IF(D4="On Board",MAX(0,((U$1-$K4)/7))*R4-T4,"")
--
David Biddulph

KC wrote:
=MAX(0,((U$1-$K4)/7))*R4-T4

I'm using the formula above, which I need to add a condition to, but
I'm not sure how. If cell D4 = "On Board", then I want to the
formula above to continue, if anything else is in D4, I want the cell
to appear blank. Thanks :)



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Add condition to =MAX formula

Hi,

=IF(D4="On Board",MAX(0,((U$1-$K4)/7))*R4-T4,"")

Mike

"KC" wrote:

=MAX(0,((U$1-$K4)/7))*R4-T4

I'm using the formula above, which I need to add a condition to, but I'm not
sure how. If cell D4 = "On Board", then I want to the formula above to
continue, if anything else is in D4, I want the cell to appear blank. Thanks
:)


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
Formula until condition met GBExcel Excel Worksheet Functions 2 October 14th 09 02:13 AM
Formula until condition met GBExcel Excel Worksheet Functions 0 October 14th 09 01:52 AM
Please Help Again-Condition Formula Kareinia Excel Worksheet Functions 5 March 6th 08 08:06 PM
Add Condition to Formula Karen Smith Excel Discussion (Misc queries) 2 December 21st 07 07:18 PM
Formula For If & Or Condition anandmr65 Excel Discussion (Misc queries) 8 April 17th 06 10:40 AM


All times are GMT +1. The time now is 03:21 AM.

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"