Automatically translated.View original post

Easy Excel 🔰? Friday off?🎌

← Easy Excel time saving technique (@ oharu _ work)

Thank you for watching 😊

🎙️ Sound Ali Recommended

[Sad news]

Excel-san, 😱 take Friday off without permission (there is a solution)

"Alright, let's color it on Saturdays and Sundays to make it easier to see!"

If you set up conditional formatting...

Have you ever wondered why [Friday and Saturday] are colored? 💦

I confess. Actually, I got caught beautifully 😅

The formula often seen on the internet is = WEEKDAY (A2) > 5.

I copied it and failed.

🚨 Why Do Gold and Earth Color?

The WEEKDAY function starts counting Sunday as 1 without specifying anything.

Thursday = 5

Friday = 6

Saturday = 7

In other words, if you indicate "> 5 (greater than 5),"

Excel faithfully said, "It's 6 (Friday) and 7 (Saturday)!"

I'm gonna color it.

✨ in 1 second! The right solution

Please put the magic number "2" between the functions!

❌ fail formula: = WEEKDAY ($A2) > 5

⭕️ formula for the correct answer: = WEEKDAY ($A2,2) > 5

By entering ", 2," it switches to the rule that counts "Monday as 1"!

With this, only Saturday (6) and Sunday (7) will be beautifully colored 🙌

⚠️ One point not to fail

Don't forget to change the "A2" part to "$A2"! (absolute reference in column)

Without this, only the date cells will be colored.

Please set it when you want to fill the entire line 💡

Because it's a point I stumbled upon in the past,

i don't want you to make the same mistake.

We shared it!

Please try using it for work from tomorrow 💻✨

Save it and try using it tomorrow 🙌

* It may not work depending on the version or specification

Next time, we will shorten the time to make your daily life easier

i will deliver it, so please save it and look back

*********************************************

Make some free time /

Mac 17 years | Windows 3 years

We are sending the struggle story of Excel de beginner 🔰.

Please like and follow me if you like

▶️ _ work

Please feel free to DM and comment

********************************************* "

Excel Time Shortening Easy Excel Excel beginner # excel _ beginner

3/23 Edited to

... Read more「WEEKDAY関数 うまくいかない」で詰まりやすいのって、実は“数式そのもの”よりも、設定まわりの見落としが多いです。私も最初は「=WEEKDAY(A2)>5」を入れて、金曜まで色が付いて「え、Excelが勝手に週休3日制にした…?」ってなりました。 まず確認したいのが、WEEKDAYの第2引数(返り値の種類)です。 ・=WEEKDAY(A2) は「日曜=1、土曜=7」 ・=WEEKDAY(A2,2) は「月曜=1、日曜=7」 土日を「6・7」にしたいなら、基本は「,2」を付けるのが一番わかりやすいです。土日色付けなら、条件付き書式の数式は =WEEKDAY($A2,2)>5 でOK。 次に、条件付き書式で“範囲”を広く取っている場合のあるある。 日付がB列にあって、氏名やステータス(通常勤務/特別休暇/在宅ワーク など)も同じ行に並んでいる表だと、行全体に色を付けたいですよね。このとき参照は「$B6」のように「列だけ固定」がおすすめです。 例:日付がB列なら =WEEKDAY($B6,2)>5 こうしておくと、行のどのセルにも同じ“B列の日付”を基準に判定してくれます。 それでもうまくいかない時は、日付が“日付に見える文字列”になっているケースを疑います。WEEKDAYは日付シリアル値を前提にしているので、文字列だと期待通りになりません。 ・セルをダブルクリックして確定すると直ることがある ・DATEVALUE関数で日付化できる ・いったん「データ」→「区切り位置」で日付に変換できる場合も 私はコピペで持ってきた日付が文字列だったことがあり、そこに気づくまで時間を溶かしました。 最後に、条件付き書式の優先順位も地味に重要です。すでに別ルール(例:特別休暇は赤、休日はグレーなど)を作っていると、ルールの順番次第で土日の色が反映されないことがあります。「ホーム」→「条件付き書式」→「ルールの管理」で、週末ルールが期待通りに上書きされる順になっているか確認してみてください。 この3点(引数2・$固定・日付の型/ルール順)を押さえると、「WEEKDAY関数がうまくいかない」問題はかなりの確率で解決できます。私みたいに金曜まで休みにしないためにも、まずは引数「,2」から見直すのがおすすめです。