ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Can't figure out (https://www.excelbanter.com/excel-worksheet-functions/108440-cant-figure-out.html)

Mark Jackson

Can't figure out
 
Hello,

I have this formula: "=IF(MONTH(A7)=MONTH(TODAY(),"N","") which puts the
letter "N" in column B when there is a new contract. This works fine when I
run my report in the current month. Is there a way to get the same result
when I run my report at the beginning of the next month? Any help is
appreciated.

Thanks.
Mark



Franz Verga

Can't figure out
 
Mark Jackson wrote:
Hello,

I have this formula: "=IF(MONTH(A7)=MONTH(TODAY(),"N","") which puts
the letter "N" in column B when there is a new contract. This works
fine when I run my report in the current month. Is there a way to
get the same result when I run my report at the beginning of the next
month? Any help is appreciated.

Thanks.
Mark



Hi Mark,

try this:

"=IF(MONTH(A7)=(MONTH(TODAY())-1),"N","")

--
(I'm not sure of names of menus, options and commands, because
translating from the Italian version of Excel...)

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy




All times are GMT +1. The time now is 04:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com