+ Reply to Thread
Results 1 to 5 of 5

How to copy first blank cell in a range to another cell

  1. #1
    Registered User
    Join Date
    07-03-2015
    Location
    usa Missouri
    MS-Off Ver
    Excell 2016
    Posts
    20

    How to copy first blank cell in a range to another cell

    I want to copy the numerical value of the first non-blank cell to another cell. For example:

    I want to copy the value of the first non-blank cell in the range (A5:A15) to cell A1
    A5 to A10 are blank, but A11:A15 have numerical values. I want to copy the value from A11 to A1

    Is there a function or formula that will do that? For example:
    Last edited by GeeWhiz04; 03-23-2017 at 03:49 PM. Reason: change title

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Excel Function

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem - not what you think the answer might be. (think google search terms?). Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the address bar)

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (note: this change is not optional )
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    07-03-2015
    Location
    usa Missouri
    MS-Off Ver
    Excell 2016
    Posts
    20

    Re: Excel Function

    Title changed

    https://www.excelforum.com/excel-gen...ml#post4612828

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: How to copy first blank cell in a range to another cell

    With your data in B:G, try this...

    A
    B
    C
    D
    E
    F
    G
    H
    I
    2
    jan jan aa jan bb jan cc jan dd jan ee jan ff jan aa
    3
    feb feb aa feb bb feb cc feb dd feb ee feb aa
    4
    mar mar aa mar bb mar cc mar dd mar aa
    5
    apr apr aa apr bb apr cc apr aa
    6
    may may aa may bb may aa
    7
    jun jun aa jun aa
    8
    jul jul aa jul bb jul cc jul dd jul ee jul ff jul aa
    9
    aug aug aa aug bb aug cc aug dd aug ee aug aa
    10
    sep sep aa sep bb sep cc sep dd sep aa
    11
    oct oct aa oct bb oct cc oct aa
    12
    nov nov aa nov bb nov aa
    13
    dec dec aa dec aa

    I2=INDEX($B2:$G2,MATCH(TRUE,INDEX(($B2:$G2<>0),0),0))
    copied down

  5. #5
    Registered User
    Join Date
    07-03-2015
    Location
    usa Missouri
    MS-Off Ver
    Excell 2016
    Posts
    20

    Re: How to copy first blank cell in a range to another cell

    Great, Works perfectly. Thank You Very Much!

+ 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] Converting Normal Excel function to DAX function
    By Vikas_Gautam in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-13-2016, 06:53 PM
  2. Replies: 4
    Last Post: 04-24-2014, 11:56 AM
  3. Replies: 13
    Last Post: 04-08-2014, 05:46 AM
  4. Replies: 1
    Last Post: 03-21-2012, 11:22 AM
  5. Replies: 2
    Last Post: 03-30-2009, 04:04 AM
  6. Javascript function converting to Excel function
    By kamila in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-31-2007, 07:06 AM
  7. [SOLVED] Excel - User Defined Function Error: This function takes no argume
    By BruceInCalgary in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-18-2006, 04:05 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