FORMULA FOR DATES

hsarrategui

New Member
Joined
May 25, 2022
Messages
25
Office Version
  1. 2010
Platform
  1. Windows
I can't find anything on google for what I am trying to do. I have column "B" that has the date (00/00/0000) and column "C" has =TEXT(B3, "dddd") to reflect the day of the week the "date" is. Column C shows different days depending on the date and I was hoping I could make each day of the week a different color when it auto populates the day of the week from the date in column B. If that makes sense? I have added a screen shot so you can see what I am talking about

Screenshot 2023-09-27 114857.png
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Are you using Excel or Google Sheets to do this?

You should be able to use Conditional Formatting where you can set 7 rules, one for each day of the week, with a different color for each one.
 
Upvote 0
Are you using Excel or Google Sheets to do this?

You should be able to use Conditional Formatting where you can set 7 rules, one for each day of the week, with a different color for each one.
I am using excel. I've tried different formulas but nothing is working
 
Upvote 0
Here is an example of how you would do the first rule:

1. Select the range starting with cell C3 and going to your last populated cell in column C
2. Go to Conditional Formatting
3. Select the "New Rule" option
4. Select "Use a formula to determine which cells to format" option
5. Enter in the following formula:
Excel Formula:
=C$3 = "Friday"
6. Click on the "Format" button
7. Go to the "Fill" tab and select your desired format color
8. Click "OK"

Then, you would just repeat the steps above for the other days of the week and other colors.
 
Upvote 0

Forum statistics

Threads
1,215,890
Messages
6,127,597
Members
449,386
Latest member
owais87

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