UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> OFFSET function syntax    
 
   
Cerengine
post Jul 13 2006, 03:32 PM
Post #1

UtterAccess Member
Posts: 47



Could someone assist me with the correct syntax to perform the following:

I want to define a named ranged starting at cell B2 that expands down to the last entry based on column A. Column A has no empty cells and B does and the values are discontinuous.

In other words, create a dynamic range based on col B minus the first cell (B1) that includes as many remaining cells that are full in col A.

My attempts continue to add one extra cell at the very end of the range.

ie. OFFSET($B$2,0,0,COUNTA($A:$A),1)

Thx
Go to the top of the page
 
+
StuKiel
post Jul 14 2006, 07:04 AM
Post #2

UtterAccess Ruler
Posts: 1,182
From: Norfolk UK



Hi Cerengine.

I notice in your formula that you are counting the entire of column, by any chance does this also have a value in the first row that you need to ignore? I.e. do you have column headings.

Then it would just be:

OFFSET($B$2,0,0,COUNTA($A:$A)-1,1)



Stu.
Go to the top of the page
 
+
Cerengine
post Jul 14 2006, 08:38 AM
Post #3

UtterAccess Member
Posts: 47



That did it. I would swear I tried that, but its hard to see the forest through the trees sometimes.

Thanks Stu
Go to the top of the page
 
+
StuKiel
post Jul 14 2006, 09:14 AM
Post #4

UtterAccess Ruler
Posts: 1,182
From: Norfolk UK



Glad to help.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 18th May 2013 - 04:38 AM