A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

If function with calculation



 
 
Thread Tools Display Modes
  #1  
Old April 12th, 2010, 11:13 AM posted to microsoft.public.excel.worksheet.functions
charlie
external usenet poster
 
Posts: 278
Default If function with calculation

Hi All,

I need to get a result from the following:

IF B20 = 0,0 IF B2035, 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  
Old April 12th, 2010, 11:28 AM posted to microsoft.public.excel.worksheet.functions
Steve Dunn
external usenet poster
 
Posts: 192
Default If function with calculation

Hi Charlie,

you're almost there with your description!

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




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

I need to get a result from the following:

IF B20 = 0,0 IF B2035, 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  
Old April 12th, 2010, 11:35 AM posted to microsoft.public.excel.worksheet.functions
Steve Dunn
external usenet poster
 
Posts: 192
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(B2035,35,B20))




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

I need to get a result from the following:

IF B20 = 0,0 IF B2035, 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  
Old April 12th, 2010, 11:39 AM posted to microsoft.public.excel.worksheet.functions
Steve Dunn
external usenet poster
 
Posts: 192
Default If function with calculation

Or even:

=MAX(35,A1)*(A10)


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

you're almost there with your description!

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




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

I need to get a result from the following:

IF B20 = 0,0 IF B2035, 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  
Old April 12th, 2010, 01:35 PM posted to microsoft.public.excel.worksheet.functions
charlie
external usenet poster
 
Posts: 278
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(B2035,35,B20))




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

I need to get a result from the following:

IF B20 = 0,0 IF B2035, 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


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:05 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.