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

Ask a question adrianmty - Last answered on Jul 15, 2017 at 08:53 AM by Mazzaropi
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
plus moins
adrianmty, Good morning.

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
Leave a comment

Member requests are more likely to be responded to.

Members can monitor the statuses of their requests from their account pages.

A CCM membership gives you access to additional options.

Not a member yet?

Sign up now. It takes less than a minute and is completely free!