+ Reply to Thread
Results 1 to 2 of 2

Autofill Series into a specific number of rows

  1. #1
    Registered User
    Join Date
    04-08-2017
    Location
    Baltimore, MD
    MS-Off Ver
    15.32
    Posts
    1

    Autofill Series into a specific number of rows

    Dear all,

    I am trying to figure out a way to fill a specific number of rows within 1 column with a series of data contingent on another variable.

    specifically I am looking to auto fill a row with each year from "Today" to the year in which a person turns 100. I have a cell where a person would put in their DOB and based off of that the column would fill with years now to the age 100. For example DOB 01/01/1950 entered in Cell B2. In Column C beginning in cell C2 I would like the sheet to autofill from 2017 to 2050 (when the person turns 100). I would like for the cells after the cell reading 2050 in Column C to be blank rather than read "False."

    Thank you all so much.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,461

    Re: Autofill Series into a specific number of rows

    Put this formula in C2:

    =IF(B2="","",YEAR(TODAY()))

    and this one in C3:

    =IF(C2="","",IF(C2+1>YEAR($B$2)+100,"",C2+1))

    Copy the formula in C3 down as far as you like.

    Hope this helps.

    Pete

+ 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. [SOLVED] Autofill series, same value in multiple rows
    By BarrierFIN in forum Excel General
    Replies: 5
    Last Post: 05-27-2016, 05:57 AM
  2. Autofill number and text series
    By trmcummi in forum Excel General
    Replies: 5
    Last Post: 11-27-2014, 09:13 PM
  3. Autofill series on a specific number within a function
    By edilly in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-29-2014, 04:37 AM
  4. [SOLVED] Autofill a formula with a series to start next row at the end of the previous series
    By mbkr29 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-19-2013, 01:20 PM
  5. [SOLVED] Autofill a formula with a series to start next row at the end of the previous series
    By mbkr29 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-19-2013, 11:51 AM
  6. Macro to Autofill number/formula until it reaches cell containing specific text
    By adamski911 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-07-2012, 12:33 PM
  7. Autofill:number of rows
    By Dominique Feteau in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-21-2005, 03:05 AM

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1