Link to home
Start Free TrialLog in
Avatar of Svgmassive
Svgmassive

asked on

more efficient formula

i am import data from various workbook i am using the formula to determine what row to start on the worksheet i would eventually like to apply it to a name range.I am looking for the most efficient way Thanks
=IF(ROW(LASTROW)>ROW(START_ROW),ADDRESS(ROW(LASTROW)+1,1),IF(ROW(START_PASS)=2,ADDRESS(ROW(START_PASS)-1,1),ADDRESS(ROW(START_PASS),1)))
Avatar of Jacques Geday
Jacques Geday
Flag of Canada image

Sorry is this VBA or it is a formula ?
if it is a formula then presume all of
LastRow
Start_Row
Start_Pass
are named ranges ??
can you post a sample workbook ? as cannot see how you LastRow get updated when you add data !!!

gowflow
Avatar of Svgmassive
Svgmassive

ASKER

it's not vba,yes they are name ranges
can you post a workbook ?
gowflow
ASKER CERTIFIED SOLUTION
Avatar of byundt
byundt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
point taken.looking at the workbook I think a simpler  approach would be to return the address of the last row text or numeric since the  data is mixed