ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   To detect month or days or year in if formula (https://www.excelbanter.com/excel-discussion-misc-queries/117594-detect-month-days-year-if-formula.html)

ShamsulZ

To detect month or days or year in if formula
 
Hi fren,

Can anybody show me how to detect particular month in if formula. E.g is in
A1 cell the data is 01/10/2006. The formula that I want to do is if the month
in cell A1 is '10', then B18*2 . Ok thanks fren.

David Biddulph

To detect month or days or year in if formula
 
=IF(MONTH(A1)=10,B18*2,"")
--
David Biddulph

"ShamsulZ" wrote in message
...
Hi fren,

Can anybody show me how to detect particular month in if formula. E.g is
in
A1 cell the data is 01/10/2006. The formula that I want to do is if the
month
in cell A1 is '10', then B18*2 . Ok thanks fren.





All times are GMT +1. The time now is 09:13 PM.

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