Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default #Ref! Returned

John
I don't see any obvous problem with your formula. To troubleshoot those kinds
of problems in messy formulas they can be calculated in parts. A lot of people
don't know this, but you can highlight on the formula bar, only one of your
nested functions or a rangename, then hit F9 and it will calculate only the
highlighted part of your formula. For example, higlight
match(d9,employeenames, 0), then hit F9 and see if you get a result or an
error. Use that method to systematically rule out each part of your formula.
Once you find out which embedded function is causing the error the problem will
be obvious to you, maybe.
Good luck.

Ken
Norfolk, Va
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 141
Default #Ref! Returned

Thanks Ken, I wasn't aware of the F9 function, I received a fix from Frank
but am getting the same error again on Address4i.e. #Ref!

The fix was to place the following code within the Named Range on Address 1

=OFFSET(Database!$H$2,0,0,SUMPRODUCT(MAX((Database !$H1:$H2000<"")*(ROW(Data
base!$H1:$H2000)))),1)

I substituted Column numbers for the Range Name for Address4 as below, but
the #Ref! appears despite it being the same logic as above - which I'm not
quite sure what the above actuallu does. It appears to set the range down as
far as the last populated cell + 1. Perhaps it should relate the length of
the range name area to the Employee Name, as if there is no Employee Name,
there can't be any address either, but not sure how do do that

=OFFSET(Database!$K$2,0,0,SUMPRODUCT(MAX((Database !$K1:$K2000<"")*(ROW(Data
base!$K1:$K2000)))),1)

So I'm lost


"KRCowen" wrote in message
...
John
I don't see any obvous problem with your formula. To troubleshoot those

kinds
of problems in messy formulas they can be calculated in parts. A lot of

people
don't know this, but you can highlight on the formula bar, only one of

your
nested functions or a rangename, then hit F9 and it will calculate only

the
highlighted part of your formula. For example, higlight
match(d9,employeenames, 0), then hit F9 and see if you get a result or an
error. Use that method to systematically rule out each part of your

formula.
Once you find out which embedded function is causing the error the problem

will
be obvious to you, maybe.
Good luck.

Ken
Norfolk, Va



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
same name being returned Zombie0635 Excel Discussion (Misc queries) 8 October 26th 07 07:45 PM
#N/A value is returned Sai Excel Worksheet Functions 7 July 15th 07 11:05 PM
#value returned instead of data Oscar of Issaquah Salmon Days Festival Excel Worksheet Functions 3 January 26th 06 09:08 PM
Using the returned value of a function adombrowski New Users to Excel 1 December 21st 05 07:01 AM
#Value! Returned ? John Excel Worksheet Functions 2 December 6th 04 08:55 PM


All times are GMT +1. The time now is 03:45 AM.

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"