If(And( >=, <= Statement

yekut1102

New Member
Joined
Jun 29, 2011
Messages
12
Hi everyone,

Here is my setup,
Column-A consist of values: .00, .14, .29, .43, .57, .71, .86
Column-B consist of values: .00, .04, .08, .13, .17 .21 .25 .29 .33 .38 ...continued to .96 (this pattern is represents % hour of the day, i.e. .08% =0200; .13%=0300; .17%=0400...and so on).

I'm trying to devise an 'If/And' statement whereby if Column-A is >.24 and <.87 AND Column-B is >.28 and <.87 then Column-C equals .08515, else .06549.

So far I've tried =IF(AND(A1>0.24<.87,B2>.028<.87),".08515",".06549") but
only .06549 will show even when both of the statement are true.

Could anyone spare some wisdom?
Thank you in advance!
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi,

Welcome to the board.

Try:

=IF(AND(A1>0.24,A1<.87,B2>.028,B2<.87),".08515",".06549")
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,882
Members
452,948
Latest member
Dupuhini

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