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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
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,218,539
Messages
6,143,089
Members
450,461
Latest member
Bosavon

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