i challenge you all!!!

Driggs

New Member
Joined
Apr 5, 2006
Messages
31
not really.. im probably missing one small thing, but id figure i might save myself a half hour if i asked here..

i have an input in cell g22 and an input in cell g23. g22 is for a number if the pipe is 2" in diameter while g23 is if the pipe is 3" in diameter. the cells never will both contain numbers, just one or the other depending on the sites layout.

=IF(G22<>0,800/G22,IF(G23<>0,800/(G23*0.5)))

is what i have so far and the math works, but displays a false if there is nothing in cell g23 or g22. i would LOVE to have this cell (g24) display nothing if cells g22 and g23 are blank.

hopefully i didnt confuse anyone!

thanx in advance too. everyone on this board is such a help.

mike
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
=IF(IF(G22<>0;800/G22;IF(G23<>0;800/(G23*0.5)))=FALSE;"";IF(G22<>0;800/G22;IF(G23<>0;800/(G23*0.5))))

Note: replace the ; with , as my pc is in european setting.
 
Upvote 0
fantastic! thanks so much.
i had tried something similar to that, but obviously it didnt work. like everything else you guys have helped me on, this will definatly help me out in the future everytime i update this massive workbook ive created.
 
Upvote 0
Code:
=IF(MAX(G22,G23)=0,0,800/(G22+G23*0.5))
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,547
Members
449,089
Latest member
davidcom

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