+ Reply to Thread
Results 1 to 4 of 4

Get cell address for non-contiguous cells?

  1. #1
    Forum Contributor
    Join Date
    09-21-2014
    Location
    Midwest USA
    MS-Off Ver
    2010
    Posts
    349

    Get cell address for non-contiguous cells?

    I need to be able to identify multiple cells selected within a single column and sometimes they will be non-contiguous.

    Please Login or Register  to view this content.
    Tells me how many cells are selected.

    Please Login or Register  to view this content.
    Will give me the addresses of the cells selected, for example: $B$40,$B$42,$B$50,$B$60,$B$63

    But I can’t figure out how to get the address of a specific cell within the selection? i.e. If I need to do something with the third cell in the selection, what query can I use to return only $B$50?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Get cell address for non-contiguous cells?

    If they are non-contiguous single cells,

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    09-21-2014
    Location
    Midwest USA
    MS-Off Ver
    2010
    Posts
    349

    Re: Get cell address for non-contiguous cells?

    Brilliant! Thanks shg

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Get cell address for non-contiguous cells?

    You're welcome.

+ 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. Match cell value then copy non contiguous cells from one worksheet to another.
    By MagicMan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-06-2017, 01:18 PM
  2. Add contiguous cells, and put result in the top cell
    By paladin7 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-13-2014, 10:20 AM
  3. [SOLVED] copy and paste from contiguous cells to non-contiguous cells using the = function
    By shameus in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-05-2013, 06:48 PM
  4. Replies: 5
    Last Post: 11-22-2013, 05:58 PM
  5. [SOLVED] How to sum non-contiguous columns applied as a formula on contiguous cells
    By figo12 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-09-2013, 01:07 PM
  6. [SOLVED] Find Address Property of Last Cell in contiguous data
    By brownie3003 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-04-2013, 08:20 AM
  7. pasting non-contiguous range of cells to new row, same cell locati
    By Not excelling at macros in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 04-04-2006, 04:10 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