Capping an IF function

DJMini

New Member
Joined
Apr 27, 2018
Messages
8
Hi all,

I am trying to cap this formula to 15 =IF(B2=1,(C2*12)/1000," ")
B column contains number of stems. C contains stem diameter. H contains =IF(B2=1,3.141*(I2^2)," ") which calculates the root protection area and I column contains =IF(B2=1,(C2*12)/1000," ")

For example currently:
Tree number: 1
No of stems: 1
Stem diameter: 1500
RPA for stem (m2): 1018
Radius (m): 18

and i need it to be:
Tree number: 1
No of stems: 1
Stem diameter: 1500
RPA for stem (m2): 707 (this is affected by the radius)
Radius (m): 15

Can anyone help?

Thanks
Dan
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Oh and if there is nothing in a certain cell in column A for example A2 then the rest of row 2 is blank.
 
Upvote 0
Hi,

Not sure, may be you mean this?

=IF(B2=1,MIN((C2*12)/1000,15),"")

Also notice the part in Red in the formula, you had a SPACE rather than BLANK, unless a space is what you wanted.
 
Upvote 0
You're welcome, welcome to the forum.
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,999
Members
452,373
Latest member
TimReeks

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top