+ Reply to Thread
Results 1 to 14 of 14

Academic Year as Column Headings - Auto Update

  1. #1
    Forum Contributor
    Join Date
    07-02-2012
    Location
    UK
    MS-Off Ver
    365/2008
    Posts
    152

    Academic Year as Column Headings - Auto Update

    I need to have column headings of months of the academic year starting in August. My problem with this is, for example, the current academic year started on 1 Aug 15. When we reach the 1 Aug 16 I need the year of all months to increase by one, ad so each subsequent year.

    What formula would I use?

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,014

    Re: Academic Year as Column Headings - Auto Update

    Is this on the same sheet or a different one? Have you considered selecting all of the dates and doing a quick FIND & REPLACE?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    07-02-2012
    Location
    UK
    MS-Off Ver
    365/2008
    Posts
    152

    Re: Academic Year as Column Headings - Auto Update

    On the same sheet. Each column heading is the first of each month. I just need each year in the date on that row to increase by one on 1 August each year. Rather than simply enter the date as text in each header cell I want to input a formula to take care of this.
    So currently, I have 12 cells (A1:L1) each with the first day of each month from 1 Aug 15 to 1 Jul 16. I want to input a formula instead into each of these cells to display the same dates but on the 1 August this year I need the year in each to increase by one so that it’s automatically set up for the next academic year. Then next year, on 1 Aug, the same to happen for the following academic year.
    Hope I’m making sense.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,014

    Re: Academic Year as Column Headings - Auto Update

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  5. #5
    Forum Contributor
    Join Date
    07-02-2012
    Location
    UK
    MS-Off Ver
    365/2008
    Posts
    152

    Re: Academic Year as Column Headings - Auto Update

    Umm,I'm at work and the browser security restricts me from uploading files on this forum only for some reason.
    Anyway, I’ve attached a screenshot instead.
    Basically I want to enter a formula in A1:L1 to show each of those dates but on 1 August every year the year in each of those cells increases by one so that it shows that current academic year.
    I’m guessing I’m not explaining this too well.


    Untitled.jpg

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,014

    Re: Academic Year as Column Headings - Auto Update

    Try this in A1 and drag it across:

    =IF(MONTH(DATE(TEXT(NOW(),"yyyy"),COLUMN()+7,1))>7,DATE(TEXT(NOW(),"yyyy"),COLUMN()+7,1),DATE(TEXT(NOW()+1,"yyyy"),COLUMN()+7,1))

    Set cell formatting to suit.

  7. #7
    Forum Contributor
    Join Date
    07-02-2012
    Location
    UK
    MS-Off Ver
    365/2008
    Posts
    152

    Re: Academic Year as Column Headings - Auto Update

    Quote Originally Posted by AliGW View Post
    Try this in A1 and drag it across:

    =IF(MONTH(DATE(TEXT(NOW(),"yyyy"),COLUMN()+7,1))>7,DATE(TEXT(NOW(),"yyyy"),COLUMN()+7,1),DATE(TEXT(NOW()+1,"yyyy"),COLUMN()+7,1))

    Set cell formatting to suit.
    That actually returns the wrong result. It’s one year ahead because currently it should start 1 Aug 15 and once we get to 1 Aug 16 it should then show 1 Aug 16 and so on.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,014

    Re: Academic Year as Column Headings - Auto Update

    OK, so I'll fix it!

    =IF(MONTH(DATE(TEXT(NOW(),"yyyy"),COLUMN()+7,1))>7,DATE(TEXT(NOW(),"yyyy")-1,COLUMN()+7,1),DATE(TEXT(NOW(),"yyyy")-1,COLUMN()+7,1))

    Last edited by AliGW; 07-28-2016 at 09:54 AM.

  9. #9
    Forum Contributor
    Join Date
    07-02-2012
    Location
    UK
    MS-Off Ver
    365/2008
    Posts
    152

    Re: Academic Year as Column Headings - Auto Update

    Quote Originally Posted by AliGW View Post
    OK, so I'll fix it!

    =IF(MONTH(DATE(TEXT(NOW(),"yyyy"),COLUMN()+7,1))>7,DATE(TEXT(NOW(),"yyyy")-1,COLUMN()+7,1),DATE(TEXT(NOW(),"yyyy"),COLUMN()+7,1))

    I was trying to figure it out but couldn’t. However, this one also doesn’t return the correct value.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,014

    Re: Academic Year as Column Headings - Auto Update

    I am assuming that each sheet will only contain columns for one academic year? If not, then you need to make it clearer what you want.

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,014

    Re: Academic Year as Column Headings - Auto Update

    Quote Originally Posted by xybadog View Post
    I was trying to figure it out but couldn’t. However, this one also doesn’t return the correct value.
    I've changed it again - copy and paste again. And then, please, try to work through it and understand what it is doing so that YOU can tweak it in future. Ask if there is anything about the syntax you can't work out.

  12. #12
    Forum Contributor
    Join Date
    07-02-2012
    Location
    UK
    MS-Off Ver
    365/2008
    Posts
    152

    Re: Academic Year as Column Headings - Auto Update

    Quote Originally Posted by AliGW View Post
    I've changed it again - copy and paste again. And then, please, try to work through it and understand what it is doing so that YOU can tweak it in future. Ask if there is anything about the syntax you can't work out.
    Thanks that works. I’m uncertain about the COLUMN function but will Google that later when I get some time to look into it.
    Thanks for your help.

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,014

    Re: Academic Year as Column Headings - Auto Update

    OK - so, column() returns the number of the column the cell is in. So, if it is in column A, it returns 1, in B, 2, and so on. Does this help?

    Thanks for the rep, by the way!

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,014

    Re: Academic Year as Column Headings - Auto Update

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Academic Year
    By xybadog in forum Excel General
    Replies: 2
    Last Post: 01-29-2015, 05:40 AM
  2. [SOLVED] How to get academic year?
    By mso3 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-16-2014, 09:24 AM
  3. Automatically update year interval cycles from year to year
    By trumptight in forum Word Programming / VBA / Macros
    Replies: 8
    Last Post: 08-21-2014, 10:38 PM
  4. [SOLVED] Help require to write academic year and course name in cell d4
    By mukeshbaviskar in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-22-2014, 11:33 AM
  5. Excel 2007 : Academic Year in Pivot Tables
    By smilingkyle529 in forum Excel General
    Replies: 2
    Last Post: 04-19-2010, 03:18 AM
  6. Replies: 1
    Last Post: 03-25-2007, 06:28 PM
  7. Academic Year calculator
    By sedonovan in forum Excel General
    Replies: 2
    Last Post: 06-22-2006, 04:15 AM

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1