![]() |
|
|
|||||||
| FlashChat | Actuarial Discussion | Preliminary Exams | CAS/SOA Exams | Cyberchat | Around the World | Suggestions |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Happy Friday. I am having trouble recalling how I used to have Excel calculate the date. The fact pattern is ----> I put the "Now" function in one cell and then in another cell, I grabbed the month and year portion from the results of the Now function. All I want to do is display, for example, June 2008, in a designated cell automatically in real time. I would also like to be able to subtract 1 from the month if I am working on last month's data. Any thoughts? Thanks.
__________________
Liz Lemon's Mom on why she didn't pursue marriage to Buzz Aldrin: "It wasn't that simple, Liz. I had just graduated from secretarial school, and I got a job at Sterling Cooper." |
|
#3
|
|||
|
|||
|
Schlep -- I tried experimenting with the formats to create the June 2008 version, but none of the available ones work. Did you have a specific one in mind or were you thinking that it could be programmed?
__________________
Liz Lemon's Mom on why she didn't pursue marriage to Buzz Aldrin: "It wasn't that simple, Liz. I had just graduated from secretarial school, and I got a job at Sterling Cooper." |
|
#4
|
||||
|
||||
|
use now() and change the cell format to a custom number of mmmm yyyy. (after you enter the function, click format/cells/number/custom and type in "mmmm yyyy" without the quotes)
for subtracting a month, use "=DATE(YEAR(NOW()),MONTH(NOW())-1,DAY(NOW()))" without the quotes
__________________
When I meet you in person, shots on me! Do you bite? We are a bunch of high roller players who like to play high roller games - Hardinda |
|
#5
|
||||
|
||||
|
=TEXT(TODAY(),"MMMM YYYY")
=TEXT(EDATE(TODAY(),-1),"MMMM YYYY")
__________________
Visit thing's web empire: Printable Sudoku Puzzles & 12 by 12 Sudoku & 6 by 6 Sudoku & Nurikabe |
|
#6
|
||||
|
||||
|
Quote:
__________________
Life is chaos personified. |
|
#7
|
||||
|
||||
|
Nice. I never knew about EDATE.
__________________
Carol Marler, FSA, MAAA, A Dedicated Actuary Just My Opinion (Although this statement is my opinion, and I am an actuary, it's still not a statement of actuarial opinion, and you really shouldn't rely on it.) Updated quotes Apr 4: Spoiler: |
|
#9
|
||||
|
||||
![]() You mean it was in Lotus 1-2-3? (I really did know everything in the version available back BI before internets)
__________________
Carol Marler, FSA, MAAA, A Dedicated Actuary Just My Opinion (Although this statement is my opinion, and I am an actuary, it's still not a statement of actuarial opinion, and you really shouldn't rely on it.) Updated quotes Apr 4: Spoiler: |
|
#10
|
|||
|
|||
|
It's nice to have you guys as a resource. Have a great weekend.
__________________
Liz Lemon's Mom on why she didn't pursue marriage to Buzz Aldrin: "It wasn't that simple, Liz. I had just graduated from secretarial school, and I got a job at Sterling Cooper." |
![]() |
| Thread Tools | |
| Display Modes | |
|
|