+ Reply to Thread
Results 1 to 3 of 3

Dynamic Range accomodating cells with Text and Cells with Numbers

  1. #1
    Registered User
    Join Date
    03-15-2012
    Location
    Liverpool
    MS-Off Ver
    Excel 2013
    Posts
    58

    Dynamic Range accomodating cells with Text and Cells with Numbers

    Hello

    I need to create a dynamic range.
    I am using the following:

    =OFFSET('[Targets.xlsx]Target Report'!$A$1,0,0,COUNTA('[Targets.xlsx]Target Report'!$A:$A),1)

    However the column ‘A’ that I am referencing has a mixture of cells containing text and also cells containing numbers which I think is causing a problem.

    Can anyone advise on how I need to amend things.

    Kind regards

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Dynamic Range accomodating cells with Text and Cells with Numbers

    Try replacing the COUNTA part with this.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by skywriter; 03-17-2015 at 10:21 PM.
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  3. #3
    Registered User
    Join Date
    03-15-2012
    Location
    Liverpool
    MS-Off Ver
    Excel 2013
    Posts
    58

    Re: Dynamic Range accomodating cells with Text and Cells with Numbers

    Thank you for your very quick response. I could not get your fix to work, but that is probably because there is something else going on that I do not understand. I have chosen to just use a fixed range and made it quite large to cater for expansion of the range.
    Kind regards

+ 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: 01-08-2014, 10:50 PM
  2. [SOLVED] How do I SUM cells containing text and numbers within a range.
    By l1velife in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-20-2013, 03:01 AM
  3. [SOLVED] Finding median of range of cells containing text and numbers
    By _hs_ in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-18-2013, 12:23 PM
  4. [SOLVED] Change text of one cell based on the numbers of a range of cells?
    By spookymyo in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-18-2013, 04:50 PM
  5. [SOLVED] Ideas for numbers or text in range of cells
    By sctraffic in forum Excel General
    Replies: 4
    Last Post: 07-17-2012, 10:55 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