LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.newusers
T_Sr via OfficeKB.com
 
Posts: n/a
Default References for a whole year

I am trying to have a single cell (A1) show the word "payday" when 2
different days each month comes around (the 1st and 15th) for the whole year.
I have a few months already set up using 'if/and' statements like this:
A1 =(IF(AND(A200=1,B200=13),"P * A * Y * D * A * Y",IF
(AND(A201=2,B201=1),"P * A * Y * D * A * Y",IF(AND(A202=2,B202=15),
"P * A * Y * D * A * Y",IF(AND(A203=3,B202=1),"P * A * Y * D
* A * Y",IF(AND(A204=3,B204=15),"P * A * Y * D * A * Y",IF(AND
(A205=3,B205=31),"P * A * Y * D * A * Y",IF(AND(A206=4,B206=14),"P
* A * Y * D * A * Y","")))))))).

A200-206 gives the month 1-12 for the year.
B200-206 gives the day of each month.

Being fairly new to this, is there an easier way to achieve this result? If
so please let me know, and if you have any questions on this posting let me
know.

Thanks for any help,
T_Sr

--
Message posted via http://www.officekb.com
 
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
years change to current year nwg Excel Worksheet Functions 5 January 1st 06 03:29 PM
Ho to Delete "Ghost" Pivot Tables needyourhelp Excel Discussion (Misc queries) 3 November 17th 05 10:10 PM
More- AutoFill with Non-Seqeuntial Cell References ? [email protected] Excel Worksheet Functions 4 June 23rd 05 02:42 AM
Changing cell references automatically Bigweed New Users to Excel 3 April 28th 05 12:27 PM
Absolute cell references and subsequent problems. Pank Mehta Excel Discussion (Misc queries) 2 April 19th 05 11:38 AM


All times are GMT +1. The time now is 05:46 AM.

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

About Us

"It's about Microsoft Excel"