ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   No date entered still pulls a reult '1' through?? (https://www.excelbanter.com/excel-discussion-misc-queries/255646-no-date-entered-still-pulls-reult-1-through.html)

Jim

No date entered still pulls a reult '1' through??
 
In Excel 2007 i am using the formula =MONTH(P145) all the way down the
column, which if there is not date entry in columns that are not yet in use
the formula still pulls through a '1' which is mucking up all the
corrisponding information that is pulled for the month of Jan. Can anyone
advise me as to what i can do to get no result pulling through if there is
not a date entered into column P?
Thanks.
--
Jim

Ron Coderre[_4_]

No date entered still pulls a reult '1' through??
 

When the MONTH function refers to a blank cell, it treats its value as
0.

Ms-Exl-Learner

No date entered still pulls a reult '1' through??
 
Use your formula like the below:-

=IF(P145="","",MONTH(P145))

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"Jim" wrote:

In Excel 2007 i am using the formula =MONTH(P145) all the way down the
column, which if there is not date entry in columns that are not yet in use
the formula still pulls through a '1' which is mucking up all the
corrisponding information that is pulled for the month of Jan. Can anyone
advise me as to what i can do to get no result pulling through if there is
not a date entered into column P?
Thanks.
--
Jim



All times are GMT +1. The time now is 12:54 PM.

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