Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Pat
 
Posts: n/a
Default Using offset more than once on the same sheet

Could someone tell me is counta the correct function to use on the same
sheet.

Each time a defined range is used more than once on a sheet using the
following formula

=OFFSET(Sheet2!$H$9,0,0,COUNTA(Sheet2!$H:$H),1)

an extra empty cell is included

for example:

=OFFSET(Sheet2!$H$9,0,0,COUNTA(Sheet2!$H:$H),1)
1 empty cells are inluded in the range

=OFFSET(Sheet2!$I$9,0,0,COUNTA(Sheet2!$I:$I),1)
2 empty cells are inluded in the range

=OFFSET(Sheet2!$J$9,0,0,COUNTA(Sheet2!$J:$J),1)
3 empty cells are inluded in the range

Hope you understand what i am trying to discribe.

Pat



  #2   Report Post  
Pat
 
Posts: n/a
Default

Just to let you all know i have figured out what I should use, (well it
works for me) here is an example:

=OFFSET(SHEET2!$J$10,0,0,MAX((TRIM(SHEET2!$J$10:$J $100)<"")*ROW(SHEET2!$J$1
0:$J$100))-ROW(SHEET2!$J$10)+1,1)



Thaks to whoever had a look
Pat



"Pat" wrote in message
...
Could someone tell me is counta the correct function to use on the same
sheet.

Each time a defined range is used more than once on a sheet using the
following formula

=OFFSET(Sheet2!$H$9,0,0,COUNTA(Sheet2!$H:$H),1)

an extra empty cell is included

for example:

=OFFSET(Sheet2!$H$9,0,0,COUNTA(Sheet2!$H:$H),1)
1 empty cells are inluded in the range

=OFFSET(Sheet2!$I$9,0,0,COUNTA(Sheet2!$I:$I),1)
2 empty cells are inluded in the range

=OFFSET(Sheet2!$J$9,0,0,COUNTA(Sheet2!$J:$J),1)
3 empty cells are inluded in the range

Hope you understand what i am trying to discribe.

Pat





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Clicking Cell Link Changes Cell on Another Sheet nshah Excel Discussion (Misc queries) 1 August 31st 05 01:50 AM
Get other sheet names into a column Keyser Excel Worksheet Functions 2 August 27th 05 02:02 AM
Using a relative SHEET reference for source data in a chart James Charts and Charting in Excel 6 August 16th 05 05:07 PM
IF, Match, Index ? which One do I use Barbara Excel Worksheet Functions 13 July 29th 05 06:44 PM
Does excel recognise names rather than cells? Sue Excel Worksheet Functions 9 May 22nd 05 04:51 AM


All times are GMT +1. The time now is 04:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"