Conditional formatting

jishatomc

New Member
Joined
Apr 3, 2023
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
  2. MacOS
I was doing conditional formatting to mark all Sundays in a month. As it has got duplicated i deleted all the rules which i applied. Then again i tried for using new formula, that time use a formula to determine which cell is to be formatted is missing. Kindly help me to recover it.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi jishatomc

conditionally format with a formula, if your dates are in column A and drag down =WEEKDAY($A1)=1
 
Upvote 0
=WEEKDAY(A2,1)=1

Book5
A
1
2Sun
3Mon
4Tue
5Wed
6Thu
7Fri
8Sat
9Sun
10Mon
11Tue
12Wed
13Thu
14Fri
15Sat
16Sun
17Mon
18Tue
19Wed
20Thu
21Fri
22Sat
23Sun
24Mon
25Tue
26Wed
27Thu
28Fri
29Sat
30Sun
31Mon
32Tue
33Wed
34Thu
35Fri
36Sat
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:A36Expression=WEEKDAY(A2,1)=1textNO


for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
Conditional Formatting

Highlight applicable range >>
A2:A100 - Change, reduce or extend the rows to meet your data range of rows

Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:
=WEEKDAY(A2,1)=1

Format [Number, Font, Border, Fill]
choose the format you would like to apply when the condition is true
OK >> OK
 
Upvote 0
Welcome to the Board!

Are you saying that you need help creating the formula, or you cannot find the option to use a formula?
If the later, follow the steps shown here: Conditional formatting with formulas
You should see on step 3 that the formula option is the last one shown in the list of Rule Types.
 
Upvote 0

Forum statistics

Threads
1,215,433
Messages
6,124,863
Members
449,195
Latest member
MoonDancer

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