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

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Hi Josh,

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

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

Thanks.
 
Upvote 0
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
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,485
Members
448,967
Latest member
visheshkotha

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