I need to create a formula IF with dates and 2 variables [Closed]

Report
-
Posts
1884
Registration date
Monday August 16, 2010
Status
Contributor
Last seen
February 26, 2021
-
Im trying to create the following formula in excel
If theres number greater than 0 in a column and if the date in the other column is before one month from today date result = SELL

1 reply

Posts
1884
Registration date
Monday August 16, 2010
Status
Contributor
Last seen
February 26, 2021
139
adrianmty, Good morning.

Suppose:
A2 --> Cell with number
B2 --> DATE
C2 --> Result --> Formula

Try to use it:
C2 --> =IF(AND(A2>0,B2<=TODAY()-30), "SELL", "")

Is that what you want?
I hope it helps.
--
Belo Horizonte, Brasil.
Marcílio Lobão

Subscribe To Our Newsletter!

The Best of CCM in Your Inbox

Subscribe To Our Newsletter!