If And formulas

mikeywhits

Board Regular
Joined
Jun 7, 2010
Messages
80
Hi all,

I am trying to do the following...

cell A1 = 16/06/11, cell B1 = 33.

If A1 is todays date or has past this date, and B1 is less than 33 then True

Look forward to your responses.

Mike
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hi all,

I am trying to do the following...

cell A1 = 16/06/11, cell B1 = 33.

If A1 is todays date or has past this date, and B1 is less than 33 then True

Look forward to your responses.

Mike
Try this...

=AND(N(A1)>=TODAY(),N(B1)<33)
 
Upvote 0
Hi VoG,

I am using your formula,=AND(A1<=TODAY(),B1<33), for less than 33, though how can i change this to greater than 32 and below 66???

Thanks.

Mike
 
Upvote 0
Hi Vog,

Finally I am trying to get the formula

cell A1 = 16/06/11, cell B1 = between 0 and 100.

If A1 is todays date or has past this date, and B1 is either...

greater than 0 and less than 33, if this is true then the cell where i am putting this formula shows the value "R".

greater than 33 and less than 66, if this is true then the cell where i am putting this formula shows the value "A".

greater than 65 and less than 100, if this is true then the cell where i am putting this formula shows the value "G".

I am not sure how possible this is???

Thanks,

Mike
 
Upvote 0
=IF(AND(A1<=TODAY(),B1<33, B1>0),"R",IF(AND(A1<=TODAY(),B1>=33, B1<66),"A",IF(AND(A1<=TODAY(),B1>=66, B1<100),"G")))


You didn't specify your numbers very accurately.

What if B=33 or 66 or 100?

What if B>100?

What if B=0?


The above formula designates the following, check if this is what you want:
If B=33, A
If B=66, G
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,827
Members
452,946
Latest member
JoseDavid

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