Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 703
Default If function with calculation

Hi All,

I need to get a result from the following:

IF B20 = 0,0 IF B20<35, 35 IF B20 35=B20

Basically in layman terms if B20 has a value above 0 the minimum showing is
35 if it is higher than 35 then it remains the same, 0 must remain 0.

Any help would be great

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default If function with calculation

Hi Charlie,

you're almost there with your description!

=IF(B20=0,0,IF(B20<35,35,B20))




"Charlie" wrote in message
...
Hi All,

I need to get a result from the following:

IF B20 = 0,0 IF B20<35, 35 IF B20 35=B20

Basically in layman terms if B20 has a value above 0 the minimum showing
is
35 if it is higher than 35 then it remains the same, 0 must remain 0.

Any help would be great


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default If function with calculation

You could also use:

=IF(B20=0,0,MAX(35,B20))



"Steve Dunn" wrote in message
...
Hi Charlie,

you're almost there with your description!

=IF(B20=0,0,IF(B20<35,35,B20))




"Charlie" wrote in message
...
Hi All,

I need to get a result from the following:

IF B20 = 0,0 IF B20<35, 35 IF B20 35=B20

Basically in layman terms if B20 has a value above 0 the minimum showing
is
35 if it is higher than 35 then it remains the same, 0 must remain 0.

Any help would be great



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default If function with calculation

Or even:

=MAX(35,A1)*(A1<0)


"Steve Dunn" wrote in message
...
Hi Charlie,

you're almost there with your description!

=IF(B20=0,0,IF(B20<35,35,B20))




"Charlie" wrote in message
...
Hi All,

I need to get a result from the following:

IF B20 = 0,0 IF B20<35, 35 IF B20 35=B20

Basically in layman terms if B20 has a value above 0 the minimum showing
is
35 if it is higher than 35 then it remains the same, 0 must remain 0.

Any help would be great



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 703
Default If function with calculation

Perfect thank you

"Steve Dunn" wrote:

Hi Charlie,

you're almost there with your description!

=IF(B20=0,0,IF(B20<35,35,B20))




"Charlie" wrote in message
...
Hi All,

I need to get a result from the following:

IF B20 = 0,0 IF B20<35, 35 IF B20 35=B20

Basically in layman terms if B20 has a value above 0 the minimum showing
is
35 if it is higher than 35 then it remains the same, 0 must remain 0.

Any help would be great


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 function with Calculation WallyGathor Excel Worksheet Functions 3 May 21st 09 04:16 PM
Date calculation function? Zakynthos Excel Worksheet Functions 2 March 2nd 09 12:55 PM
IF Function - Calculation not working amandooshna Excel Worksheet Functions 4 March 28th 07 05:10 AM
How do you know which function to use for a calculation? Sallie Excel Worksheet Functions 3 May 4th 06 05:51 PM
Calculation within IF function Andrew Excel Worksheet Functions 2 January 12th 05 01:37 PM


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