Formula Assistance, Por Favor!

JGlenn

New Member
Joined
Sep 21, 2006
Messages
2
Hey guys,

This one should be cake for you geniuses. I need to create a formula for excel in which I have a Date of Last Visit Column, and an "Active" Column which will be either a Y or N.

I'm trying to set it up so that if the client has visited within the last 31 days of whatever the current date is, they are designated Y, and if 32 days or more, they are N.

Help!

- Josh
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

nk18

Board Regular
Joined
Feb 4, 2005
Messages
53
Hi Josh,

Say if your date is in cell A2, in cell B2 try:

=if(a2>today()-31,"y","n")

Thanks.
 

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,884
Hi Josh
Welcome to the board

If Date of Last Visit i A1, try

=if(today()-int(A1)<=31,"Y","N")

Hope this helps
PGC
 

JGlenn

New Member
Joined
Sep 21, 2006
Messages
2
pgc01 wins this round, but the war is far from over! I appreciate the help and welcome everyone, and you'll be seeing me around!

Josh
 

Forum statistics

Threads
1,141,757
Messages
5,708,340
Members
421,566
Latest member
7Nabisco

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
Top