# Need help with Formula/Data Validation

#### CKB3

##### New Member
Complete Excel beginner so please excuse ignorance.

I’m attempting to modify an existing workbook for some changes being made to our process at work. Currently there is a formula set that references the date set in column A and turns various other columns (G,J,M,P) a different color based on a time frame. For instance the individual cell in column G will turn yellow after 30 days then red after 75. I believe the formula used is... =TODAY().

Now, I have to add additional criteria which will change the timeframe for each individual entry. I have created a drop down in column B to illustrate the particular timeframe needed for that row. For instance, if the date input in column A is 3/5/21 and I select “Alpha” in the drop down of column B I need the cell (G,J,M,P) to change color weekly. If I select “Bravo” in the drop down of column B I need the cell (G,J,M,P) to change color bi-weekly.

I have four selections in the drop down list all with different timeframes (weekly, bi-weekly, monthly, quarterly). No clue where to start, any help is much appreciated.

### Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

#### etaf

##### Well-known Member
you will need an AND() to test for the condition in B and the Date in A with today() in conditional formatting

Can you give more examples of your date and B
you said
For instance the individual cell in column G will turn yellow after 30 days then red after 75. I believe the formula used is... =TODAY().
So now is it a change in that age
weekly = cell B = A then turns a colour? after 1 week?
bi-weekly = Cell B = B then turns a different colour after 2 weeks ?
monthly = Cell B = ??? then turns a different colour after 1 Month ?
quarterly = Cell B = ??? then turns a different colour after 3 Months/1qtr ?

I'm assuming a MM/DD/YY date format 3/5/21 5th March 21 OR is it DD/MM/YY 3rd May 21

So if in Cell B = A , then weekly , so should it change colour , when the date today is week before 26th Feb or if its a week ahead from 5th to 12th

anywhere near ?

Replies
0
Views
113
Replies
10
Views
195
Replies
0
Views
151
Replies
2
Views
112
Replies
3
Views
239

1,130,123
Messages
5,640,245
Members
417,131
Latest member
Seanr19871

### 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.

### Which adblocker are you using?

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

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