A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Condition



 
 
Thread Tools Display Modes
  #1  
Old June 30th, 2004, 07:39 PM
lolita
external usenet poster
 
Posts: n/a
Default Condition

i have 2 problems :
1) i need a formula that will put me 20 if the day is 18th of each month of the year 2004
2) i need a formula that will put me 205 every each end of the months in 2004

i have used "if" & "and".
I have a column A of the days from 1/1/2004 till 31/12/2006 and the first formula will be in the column B and the other in column C
  #2  
Old July 1st, 2004, 12:21 AM
CLR
external usenet poster
 
Posts: n/a
Default Condition

Hi Lolita........

In B1 put =IF(DAY(A1)=18,20,"")

In C1 put =IF(AND(MONTH(A2)MONTH(A1),YEAR(A1)=2004),205,"")

Then copy formulas down.............



Vaya con Dios,
Chuck, CABGx3


"lolita" wrote in message
...
i have 2 problems :
1) i need a formula that will put me 20 if the day is 18th of each month

of the year 2004
2) i need a formula that will put me 205 every each end of the months in

2004

i have used "if" & "and".
I have a column A of the days from 1/1/2004 till 31/12/2006 and the first

formula will be in the column B and the other in column C


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
suppress blank line in Mail merge Mergefield Condition Sumesh Mailmerge 6 May 14th, 2004 04:29 PM
copy entire row based on a condition in a column cape Worksheet Functions 1 March 24th, 2004 09:51 PM


All times are GMT +1. The time now is 07:29 AM.


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