PC Review


Reply
Thread Tools Rate Thread

2 formulas in 1 cell

 
 
MAX
Guest
Posts: n/a
 
      20th Feb 2009
If cell B2<B1 answer in A2 must be 0 and
if cell B2>B1 answer in A2 must be equal to B1
 
Reply With Quote
 
 
 
 
Niek Otten
Guest
Posts: n/a
 
      20th Feb 2009
In A2:

=IF(B2<B1,0,B1)

But what if B2 = B1?

Please be always very specific with >, < >=, <=, etc

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"MAX" <(E-Mail Removed)> wrote in message
news:2FDDE28C-020E-4E77-BB01-(E-Mail Removed)...
> If cell B2<B1 answer in A2 must be 0 and
> if cell B2>B1 answer in A2 must be equal to B1


 
Reply With Quote
 
MAX
Guest
Posts: n/a
 
      20th Feb 2009
It works perfectly with the formula you gave me.

"Niek Otten" wrote:

> In A2:
>
> =IF(B2<B1,0,B1)
>
> But what if B2 = B1?
>
> Please be always very specific with >, < >=, <=, etc
>
> --
> Kind regards,
>
> Niek Otten
> Microsoft MVP - Excel
>
> "MAX" <(E-Mail Removed)> wrote in message
> news:2FDDE28C-020E-4E77-BB01-(E-Mail Removed)...
> > If cell B2<B1 answer in A2 must be 0 and
> > if cell B2>B1 answer in A2 must be equal to B1

>
>

 
Reply With Quote
 
Teethless mama
Guest
Posts: n/a
 
      20th Feb 2009
=(B2>B1)*B1


"MAX" wrote:

> If cell B2<B1 answer in A2 must be 0 and
> if cell B2>B1 answer in A2 must be equal to B1

 
Reply With Quote
 
MAX
Guest
Posts: n/a
 
      20th Feb 2009
Thank you for your formula, I will use this in the future

"Teethless mama" wrote:

> =(B2>B1)*B1
>
>
> "MAX" wrote:
>
> > If cell B2<B1 answer in A2 must be 0 and
> > if cell B2>B1 answer in A2 must be equal to B1

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two formulas in on cell based on two numbers in another cell? Melody Microsoft Excel Misc 5 19th Mar 2010 07:51 PM
Carrying formulas over to new cell when old cell is deleted: possi Karl Microsoft Excel Worksheet Functions 0 24th Jun 2008 01:10 PM
Copying formulas from cell to cell to cell to....... Tom Hardy Microsoft Excel Misc 3 15th Jun 2006 03:29 PM
change cell value greater than another cell value using formulas =?Utf-8?B?VW5zdXJlPw==?= Microsoft Excel Worksheet Functions 2 2nd Apr 2006 10:24 PM
Please help..activating array formulas in a range of cells without going cell by cell Karenna Microsoft Excel Worksheet Functions 3 1st Mar 2004 03:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:37 PM.