Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I am looking for a formula, that assiagn certain values for certain months.
for example : i want to compare the date in Cell B4, if it falls in following months it should asign following values each month for Jan, March, June, Aug, Sep = 24 , July=72 and remaining months " 0 " Thanks inadvance. |
#2
![]() |
|||
|
|||
![]() Deepwater, Try: =IF(OR(MONTH(B4)={1,3,6,8,9}),24,IF(MONTH(B4)=7,72 ,0)) HTH Sandy -- to e-mail direct replace @mailinator.com with @tiscali.co.uk "Deepwater" wrote in message ... I am looking for a formula, that assiagn certain values for certain months. for example : i want to compare the date in Cell B4, if it falls in following months it should asign following values each month for Jan, March, June, Aug, Sep = 24 , July=72 and remaining months " 0 " Thanks inadvance. |
#3
![]() |
|||
|
|||
![]()
One way:
=24*(SUMPRODUCT(--(MONTH($B$4)={1,3,6,8,9}))+3*(MONTH(B4)=7)) In article , Deepwater wrote: I am looking for a formula, that assiagn certain values for certain months. for example : i want to compare the date in Cell B4, if it falls in following months it should asign following values each month for Jan, March, June, Aug, Sep = 24 , July=72 and remaining months " 0 " Thanks inadvance. |
#4
![]() |
|||
|
|||
![]()
Thanks JE
I got it.. "JE McGimpsey" wrote: One way: =24*(SUMPRODUCT(--(MONTH($B$4)={1,3,6,8,9}))+3*(MONTH(B4)=7)) In article , Deepwater wrote: I am looking for a formula, that assiagn certain values for certain months. for example : i want to compare the date in Cell B4, if it falls in following months it should asign following values each month for Jan, March, June, Aug, Sep = 24 , July=72 and remaining months " 0 " Thanks inadvance. |
#5
![]() |
|||
|
|||
![]()
Thanks Sandy
I got it.. "Deepwater" wrote: I am looking for a formula, that assiagn certain values for certain months. for example : i want to compare the date in Cell B4, if it falls in following months it should asign following values each month for Jan, March, June, Aug, Sep = 24 , July=72 and remaining months " 0 " Thanks inadvance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF & VLOOKUP FORMULA | Excel Worksheet Functions | |||
Problem with VBA returning the contents of a long formula. | Excel Discussion (Misc queries) | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) | |||
Help with macro formula and variable | Excel Worksheet Functions | |||
Cell doesn't show formula result - it shows formula (CTRL + ' doe. | Excel Worksheet Functions |