#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default if formula needed

Hello, If A1 is greater than the sum of B1+B2, return the difference of A1
minus the sum of B1+B2 but not greater than the value of C3. If false return
value of c3.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default if formula needed

This should do the trick:

=IF(AND(A1(B1+B2),A1<C3),A1-(B1+B2),C3)
--
Kevin Backmann


"Theresa" wrote:

Hello, If A1 is greater than the sum of B1+B2, return the difference of A1
minus the sum of B1+B2 but not greater than the value of C3. If false return
value of c3.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default if formula needed

=IF(A1(B1+B2),MIN(A1-(B1+B2),C3),C3)

Hope this helps.
--
John C


"Theresa" wrote:

Hello, If A1 is greater than the sum of B1+B2, return the difference of A1
minus the sum of B1+B2 but not greater than the value of C3. If false return
value of c3.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default if formula needed

=IF(A1B1+B2,MIN(A1-(B1+B2),C3),C3)
--
Regards.
Daniel
"Theresa" a écrit dans le message de
news: ...
Hello, If A1 is greater than the sum of B1+B2, return the difference of A1
minus the sum of B1+B2 but not greater than the value of C3. If false
return
value of c3.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default if formula needed

Hi Theresa

try
=MIN(C3,A1-B1-B2)

--
Regards
Roger Govier

"Theresa" wrote in message
...
Hello, If A1 is greater than the sum of B1+B2, return the difference of A1
minus the sum of B1+B2 but not greater than the value of C3. If false
return
value of c3.




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default if formula needed

Roger, are you sure that your formula satisfies the last part of the
requirement:
"If false return value of c3." ?
--
David Biddulph

"Roger Govier" <roger@technology4unospamdotcodotuk wrote in message
...
Hi Theresa

try
=MIN(C3,A1-B1-B2)

--
Regards
Roger Govier

"Theresa" wrote in message
...
Hello, If A1 is greater than the sum of B1+B2, return the difference of
A1
minus the sum of B1+B2 but not greater than the value of C3. If false
return
value of c3.




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default if formula needed

Hi David

You're quite right. My bad.
Didn't test with values less than B1+B2
--
Regards
Roger Govier

"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Roger, are you sure that your formula satisfies the last part of the
requirement:
"If false return value of c3." ?
--
David Biddulph

"Roger Govier" <roger@technology4unospamdotcodotuk wrote in message
...
Hi Theresa

try
=MIN(C3,A1-B1-B2)

--
Regards
Roger Govier

"Theresa" wrote in message
...
Hello, If A1 is greater than the sum of B1+B2, return the difference of
A1
minus the sum of B1+B2 but not greater than the value of C3. If false
return
value of c3.




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
If Then formula help needed Paula Excel Worksheet Functions 3 June 11th 08 03:25 PM
IF/AND/OR FORMULA HELP NEEDED Clark Excel Discussion (Misc queries) 3 October 4th 07 08:37 PM
Formula Set Up Needed unique Charts and Charting in Excel 2 December 4th 05 10:24 PM
Formula Needed! Roman Excel Discussion (Misc queries) 2 June 19th 05 09:29 PM
Formula needed plfry Excel Worksheet Functions 7 January 5th 05 10:43 PM


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