+ Reply to Thread
Results 1 to 4 of 4

Year number in a column for data in another column.

  1. #1
    Registered User
    Join Date
    05-21-2018
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    15

    Year number in a column for data in another column.

    I have month numbers in Column A numbered 1,2,3,4,5 and so on for 30 years with the last number 360.

    In column B I want corresponding years - for eg. Against numbers 1 to 12 in column A, I want the text "Year 1" in column B and against numbers 13 to 24 in Column A, I want the text "Year 2" in column B and so on....

    Is there a formula available to do this?

    Thank you

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: Year number in a column for data in another column.

    try below formula
    =IF(A1="","","Year "&INT((A1+11)/12))
    or
    =IF(A1="","","Year "&ROUNDUP(A1/12,0))
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    05-21-2018
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    15

    Re: Year number in a column for data in another column.

    It works, Thanks for the prompt response Samba_Ravi.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,754

    Re: Year number in a column for data in another column.

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

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Replies: 3
    Last Post: 11-13-2021, 12:17 PM
  2. Merge entire rows with same date based on column O and put week number of the year
    By fabian_76 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-21-2017, 11:09 AM
  3. Copy data from Year Column to Date Column
    By Bobbbo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-09-2017, 08:26 PM
  4. Column chart, one data column of dates: count of month & year
    By brucemc777 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 08-11-2016, 12:49 PM
  5. [SOLVED] Count the number of time a month and year occur in a column
    By jh51745 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-17-2015, 09:17 AM
  6. Replies: 7
    Last Post: 08-09-2015, 05:07 PM
  7. [SOLVED] counting number of times a year occurs in a column range
    By mistert in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-26-2012, 12:20 PM

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