Welcome to the Legend of mir forums. Mir Revenge.
Results 1 to 8 of 8

Thread: MS Excel...

  1. #1
    Forum Addict Array
    Join Date
    Oct 2008
    Posts
    772

    Default MS Excel...

    Brains gone to sleep...

    Am looking for two commands:

    1) Have cell display how many days in the current month.

    2) Have cell display which date of the month it is is 16 for the 16...

    Basically I have a forecasting SS which works out what we've done to date and where we should be at current run rate at the end of it, rather than manually enter these two figures everyday/month I would like to be lazy and get them to update everytime I load the sheet...

    Any clues ?
    __________________
    MIR EXTREME's SC Monster
    Dalltao 113
    Dall 101
    Dallwizz 32

    LOW RATE
    Dall 78
    DallWizz Lvl58
    DallTao Lvl40

  2. #2
    idaBigA
    Guest

    Default Re: MS Excel...

    Not very elegant, but... No. of days in the current month

    =INT(DATE(YEAR(NOW()),MONTH(NOW())+1,DAY(NOW()))-NOW())

    and.. Current Day

    =DAY(NOW())

  3. #3
    Forum Addict Array
    Join Date
    Oct 2008
    Posts
    772

    Default Re: MS Excel...

    =DAY works spot on the int statement returns 30 days when there are 31 days in october but thats exactly what I am after

    Any quick fixes to get an accurate return for the int statement ?
    __________________
    MIR EXTREME's SC Monster
    Dalltao 113
    Dall 101
    Dallwizz 32

    LOW RATE
    Dall 78
    DallWizz Lvl58
    DallTao Lvl40

  4. #4
    Member Array
    Join Date
    May 2008
    Posts
    139

    Default Re: MS Excel...

    Quote Originally Posted by idaBigA View Post
    Not very elegant, but... No. of days in the current month

    =INT(DATE(YEAR(NOW()),MONTH(NOW())+1,DAY(NOW()))-NOW())

    and.. Current Day

    =DAY(NOW())
    perfect!!! but note: cell format must be in GENERAL (Category).

    Class : --
    Name : --
    Gender : --
    Level : --

  5. #5
    Forum Addict Array
    Join Date
    Oct 2008
    Posts
    772

    Default Re: MS Excel...

    Quote Originally Posted by Incognito View Post
    perfect!!! but note: cell format must be in GENERAL (Category).
    Quote Originally Posted by idaBigA View Post
    Not very elegant, but... No. of days in the current month

    =INT(DATE(YEAR(NOW()),MONTH(NOW())+1,DAY(NOW()))-NOW())

    and.. Current Day

    =DAY(NOW())
    Slight ammendment needed but think it works will know next month:

    =INT(DATE(YEAR(NOW()),MONTH(NOW())+1,DAY(NOW())+1)-NOW())
    __________________
    MIR EXTREME's SC Monster
    Dalltao 113
    Dall 101
    Dallwizz 32

    LOW RATE
    Dall 78
    DallWizz Lvl58
    DallTao Lvl40

  6. #6
    idaBigA
    Guest

    Default Re: MS Excel...

    Sorry about that, should have checked it a little more.. instead of using INT, you could use ROUNDUP

    And to check next months use this...

    =ROUNDUP(DATE(YEAR(NOW()),MONTH(NOW())+1,DAY(NOW() ))-DATE(YEAR(NOW()),MONTH(NOW())+0,DAY(NOW())),0)

    And the month after ETC...

    =ROUNDUP(DATE(YEAR(NOW()),MONTH(NOW())+2,DAY(NOW() ))-DATE(YEAR(NOW()),MONTH(NOW())+1,DAY(NOW())),0)
    =ROUNDUP(DATE(YEAR(NOW()),MONTH(NOW())+3,DAY(NOW() ))-DATE(YEAR(NOW()),MONTH(NOW())+2,DAY(NOW())),0)
    =ROUNDUP(DATE(YEAR(NOW()),MONTH(NOW())+4,DAY(NOW() ))-DATE(YEAR(NOW()),MONTH(NOW())+3,DAY(NOW())),0)
    Last edited by idaBigA; 17-10-08 at 11:32 AM.

  7. #7
    Forum Addict Array
    Join Date
    Oct 2008
    Posts
    772

    Default Re: MS Excel...

    Is there a way to specify a month so I can have one spreadsheet that keeps uptodate throughout the year on different workbooks, I've tried playing with the:

    MONTH(NOW()) changing now to 10, oct, october etc.

    It's amazing how an idea can grow so quickly lol
    __________________
    MIR EXTREME's SC Monster
    Dalltao 113
    Dall 101
    Dallwizz 32

    LOW RATE
    Dall 78
    DallWizz Lvl58
    DallTao Lvl40

  8. #8
    idaBigA
    Guest

    Default Re: MS Excel...

    I don't quite follow you there, NOW() can be changed to any date, but it has to be a date.

    =ROUNDUP(DATE(YEAR(C8),MONTH(C8)+1,DAY(C8))-DATE(YEAR(C8),MONTH(C8)+0,DAY(C8)),0)

    In that case, if you put any date into the Cell C8, it will tell you how many days in that month.

    i.e. in C8, if you put 20/10/08 it will return 31, if you put 17/02/08 it will return 29


 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Excel (or similar) genius needed
    By Petroni in forum Mir Extreme Archives.
    Replies: 5
    Last Post: 14-08-09, 04:22 PM
  2. Anyone good with Excel...
    By Dall in forum Mir Extreme Archives.
    Replies: 12
    Last Post: 05-08-09, 07:54 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85