Home |
Search |
Today's Posts |
#1
|
|||
|
|||
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
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Clicking Cell Link Changes Cell on Another Sheet | Excel Discussion (Misc queries) | |||
Get other sheet names into a column | Excel Worksheet Functions | |||
Using a relative SHEET reference for source data in a chart | Charts and Charting in Excel | |||
IF, Match, Index ? which One do I use | Excel Worksheet Functions | |||
Does excel recognise names rather than cells? | Excel Worksheet Functions |