+ Reply to Thread
Results 1 to 7 of 7

dynamic ranging exclusing spaces and first column

  1. #1
    Forum Contributor
    Join Date
    08-13-2014
    Location
    Chicago
    MS-Off Ver
    2013
    Posts
    209

    dynamic ranging exclusing spaces and first column

    Hi All,

    I'm using =OFFSET($A$1,0,0,MATCH("*",$A:$A,-1),1) which is excluding the first row but counting 1 past the last cell in the column. Any thoughts on how to fix this?

    Cheers,

    STF

  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: dynamic ranging exclusing spaces and first column

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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
    Forum Contributor
    Join Date
    08-13-2014
    Location
    Chicago
    MS-Off Ver
    2013
    Posts
    209

    Re: dynamic ranging exclusing spaces and first column

    See attached, how to i exclude the title row but make sure to include spaces?
    Attached Files Attached Files

  4. #4
    Spammer
    Join Date
    01-08-2015
    Location
    Cali, Colombia
    MS-Off Ver
    365
    Posts
    302

    Re: dynamic ranging exclusing spaces and first column

    Hi, to all!

    Do you want something like this?

    =$A$2:INDEX($A:$A,MATCH("Ω",$A:$A))&""

    Blessings!

  5. #5
    Forum Contributor
    Join Date
    08-13-2014
    Location
    Chicago
    MS-Off Ver
    2013
    Posts
    209

    Re: dynamic ranging exclusing spaces and first column

    Thanks for the help but I can't seem to get that formula working. I'm trying to use it to create a dynamic range within the Formula Name Manager.

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

    Re: dynamic ranging exclusing spaces and first column

    try
    =OFFSET($A$1,1,0,MATCH("*",$A:$A,-1)-1,1)
    Samba

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

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: dynamic ranging exclusing spaces and first column

    Quote Originally Posted by SHUTTEHFACE View Post
    Thanks for the help but I can't seem to get that formula working. I'm trying to use it to create a dynamic range within the Formula Name Manager.
    See Name Manager the attached. Both johnmpl's and nflsales' formulas work at my end.

    What am I missing?
    Dave

+ 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. Summarize multiple dynamic tables under each other without spaces
    By Tr33 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-14-2017, 10:06 AM
  2. dynamic range while eliminating blank spaces.
    By chubbychub in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-18-2016, 02:28 AM
  3. [SOLVED] Goal; Concatenating 5 dynamic columns WITH spaces
    By LouisVBA in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-24-2015, 01:54 PM
  4. [SOLVED] sheet1 row with spaces between cells, pulled to sheet2 column with no spaces between cells
    By chestersneakers7 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-18-2013, 05:56 PM
  5. Running tally of cells ranging from 0c to 8a
    By misterman in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 12-06-2012, 11:29 AM
  6. Compare ranging part of a string in two columns
    By Jeroen79 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-04-2011, 09:52 AM
  7. average-row of readings ranging
    By howkev in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 05-02-2008, 10:12 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