Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 390
Default Two functions in one formula.

I need this formula, using Excel 2003.
Here I want that when A3 is < than A1, answer becomes in cell A2 and in the
same formula when A3 is than A1, answer in A2 becomes 0.
Example:
A1 A2 A3
100 20 80
100 0 140

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 694
Default Two functions in one formula.

Hi Max
Try this function :=IF(C1<A1,A1-C1,0)
HTH
John
"MAX" wrote in message
...
I need this formula, using Excel 2003.
Here I want that when A3 is < than A1, answer becomes in cell A2 and in
the
same formula when A3 is than A1, answer in A2 becomes 0.
Example:
A1 A2 A3
100 20 80
100 0 140


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Two functions in one formula.

.... or =MAX(A1-C1,0)
--
David Biddulph

"John" wrote in message
...
Hi Max
Try this function :=IF(C1<A1,A1-C1,0)
HTH
John
"MAX" wrote in message
...
I need this formula, using Excel 2003.
Here I want that when A3 is < than A1, answer becomes in cell A2 and in
the
same formula when A3 is than A1, answer in A2 becomes 0.
Example:
A1 A2 A3
100 20 80
100 0 140




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
Add several functions in one formula Brile Excel Worksheet Functions 9 October 4th 08 11:57 AM
How to convert cell formula functions to code functions Adnan Excel Discussion (Misc queries) 1 October 1st 08 08:30 PM
formula/functions for average and if functions Petu71 Excel Worksheet Functions 2 August 5th 07 08:25 PM
Using the AND and OR functions in the same formula Jan Buckley Excel Worksheet Functions 6 August 28th 06 05:47 PM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM


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