FORMULA

G

Guest

Why does this formula only work for the 1st # (1) of the array in EXCEL
=IF(MONTH(K4)={1,2,3,4,9,10,11,12},10,0)? If the month is January, the
formula returns a value of 10 which is correct; however if the month is any
other correct valued month (Feburary, March, April, etc), the formula returns
0 which is incorrect.
 
A

Arvi Laanemets

Oops! I didn't read carefully enough. But then how about this?
=(OR(Month(K4)<5,MONTH(K4)>8)*10


Arvi Laanemets
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Mapping strings to integers 5
Month (MMM) from date (dd/mmm/yy) 1
Counting Months to get an Average 3
Date issue 6
SUMIF 1
Re-post Formula 2
Formula 2
Conditional Format based on Month of Date in Cell 1

Top