Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 390
Default 2 formulas in 1 cell

If cell B2<B1 answer in A2 must be 0 and
if cell B2B1 answer in A2 must be equal to B1
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default 2 formulas in 1 cell

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" wrote in message
...
If cell B2<B1 answer in A2 must be 0 and
if cell B2B1 answer in A2 must be equal to B1


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default 2 formulas in 1 cell

=IF(B2<B1,0,IF(B2B1,B1,"I haven't a clue what answer is required if B2=B1,
so I haven't specfied it"))
--
David Biddulph

MAX wrote:
If cell B2<B1 answer in A2 must be 0 and
if cell B2B1 answer in A2 must be equal to B1



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 390
Default 2 formulas in 1 cell

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" wrote in message
...
If cell B2<B1 answer in A2 must be 0 and
if cell B2B1 answer in A2 must be equal to B1



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default 2 formulas in 1 cell

=(B2B1)*B1


"MAX" wrote:

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



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 390
Default 2 formulas in 1 cell

Thank you for your formula, I will use this in the future

"Teethless mama" wrote:

=(B2B1)*B1


"MAX" wrote:

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

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
Carrying formulas over to new cell when old cell is deleted: possi Karl Excel Worksheet Functions 0 June 24th 08 01:10 PM
CLICK CELL, GO TO ANOTHER CELL. NO FORMULAS. Patty Excel Discussion (Misc queries) 3 February 26th 07 11:50 PM
How to trace a cell? Which cells use a special cell in formulas? SupperDuck Excel Discussion (Misc queries) 4 December 1st 06 04:17 PM
Copying formulas from cell to cell to cell to....... Tom Hardy Excel Discussion (Misc queries) 3 June 15th 06 03:29 PM
change cell value greater than another cell value using formulas Unsure? Excel Worksheet Functions 2 April 2nd 06 10:24 PM


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