Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 515
Default Dynamic ranges results in an error

Hi there

Tried to set up a dynamic range name, to be used with data validation.

I used the formula =OFFSET($B1,0,0,COUNTA($B:$B),1)
Created a range name called Therapy, with this formula in the Refers to box.

If I press <Ctrl<G, and type in Therapy, it blocks the Therapy range as
expected, even expanding the range when new items are added. There are no
empty cells in this range.

However, when I set up a data validation cell, with the formula =INDIRECT(H12)
- with H12 containing the word Therapy - I get a message that it evaluates
to an error. Also, nothing happens when I click on the down arrow.

When trying to trace the error, I found that in formula auditing it shows a
#NUM error. I then copied this offset formula into a cell. It behaves as
expected, but has an error flag. When I click the error flag, it shows that
a cell in Col B is empty. When I click on the Trace empty cell option, it
points to cell B1, which contains the word Therapy.

Adjusting the formula to =OFFSET($B2,0,0,COUNTA($B:$B),1), results in B2
being shown as empty, while it also is not.

Any suggestions?
--
HTH

Kassie

Replace xxx with hotmail
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
Dynamic Ranges PAL Excel Worksheet Functions 3 January 25th 08 07:52 PM
Dynamic Ranges Graham Excel Worksheet Functions 5 August 29th 07 12:00 AM
Dynamic Ranges patrick Excel Discussion (Misc queries) 2 July 22nd 07 04:53 AM
dynamic ranges Sam Excel Worksheet Functions 2 January 21st 05 07:46 PM
Dynamic Formulas with Dynamic Ranges Ralph Howarth Excel Worksheet Functions 5 January 21st 05 08:44 AM


All times are GMT +1. The time now is 03:21 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"