#5
|
|||
|
|||
At start you declared you need to select 30 cells, now it is 140 cells!?
OK! Let's it be 140 (or less, as you can't select 140 cells with your conditions, when you are e.g. on row 10). Define a dynamic range (Main Menu>Formulas>Name Manager) e.g. dnRange140 as Code:
=OFFSET(YourSheetName!$A$1,MAX((ROW()-140)-1,0),,MAX(MIN((ROW()),140),1),1) Edit. When you activate any cell on this sheet, then open Name Manager from menu, activate this Named Range, and then click on Refers To field, the current range of it will be marked as active on your sheet - so you can see which cells are included at this moment. |
Tags |
select cells |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Select a range of cells to cpy based on a text searh | oscarlimerick | Excel | 2 | 07-18-2023 01:27 PM |
Select all cells in a column , even when blank... | Chayes | Excel Programming | 4 | 05-30-2018 10:35 AM |
Conditional formating all cells in an array based on adjacent cells | deejay | Excel | 6 | 12-20-2016 12:00 PM |
Help with Index Function to Select Range of Cells | bretyuin | Excel | 1 | 02-24-2016 05:11 AM |
Convert String Array to Integer Array from a User Input? | tinfanide | Excel Programming | 4 | 12-26-2012 08:56 PM |