formula

OldManDtr

New Member
Joined
Mar 30, 2002
Messages
3
have excel xp and some earlier versions as well. What I need to know is how to make a cell show a value of 0 given these conditions.in b11 I have entered a width and in d11 a height. I am going to mutilply b11*d11 then divide it by 1.75 and the answer is to go into h11 but only if it is within a certain range.
33*36/1.75=
I want it to place a value there but only if the begginning number(as in bll) is between 24 and 33 any lower would be 0 any higher would be 0 and its it is in the right range then it would equal the corret value instead of 0.
Have tried the IF function every way I can think of.
This message was edited by OldManDtr on 2002-03-31 15:13
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
On 2002-03-31 15:10, OldManDtr wrote:
have excel xp and some earlier versions as well. What I need to know is how to make a cell show a value of 0 given these conditions.in b11 I have entered a width and in d11 a height. I am going to mutilply b11*d11 then divide it by 1.75 and the answer is to go into h11 but only if it is within a certain range.
33*36/1.75=
I want it to place a value there but only if the begginning number(as in bll) is between 24 and 33 any lower would be 0 any higher would be 0 and its it is in the right range then it would equal the corret value instead of 0.
Have tried the IF function every way I can think of.
This message was edited by OldManDtr on 2002-03-31 15:13

In H11 enter:

=((LEFT((B11*D11)/1.75,2)+0)>=24)*((LEFT((B11*D11)/1.75,2)+0)<=33)*((B11*D11)/1.75)

Addendum: I used an inclusive between.

Aladin
This message was edited by Aladin Akyurek on 2002-03-31 15:23
 
Upvote 0
I'm not sure if you want to compute if the value in B11 IS 24 or 33...the following formula will include 24 and 33...enter the following into h11

=IF(AND(B11>23.99,B11<33.1),(B11*D11)/1.75,0)
 
Upvote 0

Forum statistics

Threads
1,214,553
Messages
6,120,179
Members
448,948
Latest member
spamiki

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