#1   Report Post  
JAUSTIN
 
Posts: n/a
Default FORMULA

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.
  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

=(Month(K4)<11)*10
will do

Arvi Laanemets


"JAUSTIN" wrote in message
...
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.



  #3   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
use
=IF(OR(MONTH(K4)={1,2,3,4,9,10,11,12}),10,0)?

--
Regards
Frank Kabel
Frankfurt, Germany

"JAUSTIN" schrieb im Newsbeitrag
...
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.


  #4   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi Arvi
don't think this will work for th OP's specification :-)))

--
Regards
Frank Kabel
Frankfurt, Germany

"Arvi Laanemets" schrieb im Newsbeitrag
...
Hi

=(Month(K4)<11)*10
will do

Arvi Laanemets


"JAUSTIN" wrote in message
...
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.




  #5   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

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


Arvi Laanemets


"Frank Kabel" wrote in message
...
Hi Arvi
don't think this will work for th OP's specification :-)))

--
Regards
Frank Kabel
Frankfurt, Germany

"Arvi Laanemets" schrieb im Newsbeitrag
...
Hi

=(Month(K4)<11)*10
will do

Arvi Laanemets


"JAUSTIN" wrote in message
...
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.






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
revert formula insertion to old method Don't be a pain in the ass Setting up and Configuration of Excel 0 January 24th 05 02:49 PM
Help with a formula Richard F Excel Discussion (Misc queries) 1 January 20th 05 10:56 PM
Simple formula doesn't quite add up circeo Excel Discussion (Misc queries) 3 January 17th 05 10:04 PM
how do I make a formula NOT change when the data range is moved? Alida Andrews Excel Discussion (Misc queries) 2 January 6th 05 10:02 PM
Paste is is copying in formula, but display is wrong. Matt Excel Discussion (Misc queries) 2 December 7th 04 09:37 PM


All times are GMT +1. The time now is 06:22 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"