If Functions

RedOctoberKnight

Board Regular
Joined
Nov 16, 2015
Messages
153
Office Version
  1. 2016
Platform
  1. Windows
Hello,

I'm sure this will be pretty easy for somebody out there.

I'm looking to formulate a cell based on two variables.

The first variable would be the current date, If the day of the month is odd, then mark an X in column A. If it's even, leave column A blank.

The 2nd variable would be if there is an "X" in column B, then the "X" in column A would disappear (or become blank)

For example,

if todays date is 10/23 then it would populate an "X" in column A, but if I manually input an "X" in column B, then the X in Column A would disappear (or become blank).

Any help would be much appreciated.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Try this (for row 1):
Code:
=IF(OR(ISEVEN(DAY(TODAY())),B1="X"),"","X")
 
Upvote 0
Awesome! Thank you!

How would I do it if i wanted the same scenario above but instead of odd days, it would mark an "X" in column A for even days?
 
Upvote 0
How would I do it if i wanted the same scenario above but instead of odd days, it would mark an "X" in column A for even days?
Use the ISODD function instead of the ISEVEN function.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
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