If statement....

Miler13

New Member
Joined
Feb 5, 2017
Messages
43
So I have a list if things in a sheet. In the A column there are names, B column has a date, C column has a number and the D column has another date which is 5 days from the date in column B. I want to be able to come up with something that when someone's name is written into column A and if the date that gets placed into column D is within 5 days of the previous date of the same person in column D it will highlight the D column a color.
Example
Eric m ---- 6/25/21 ------ 3 --------- 6/30/21

Now if I enter that same name and the date in the second column is 6/27/21, I want the date that gets placed in column D to be highlighted.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
please provide minisheet with current data
please provide minisheet with expected result

say both 10 rows.
 
Upvote 0
how to do i do that? i downloaded xl2bb and copied it into a mini sheet, but it wont let me post it anywhere?
 
Upvote 0
use
1624746781595.png
en simply ctrl+v in the reply window and post
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

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