Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Named Aray Formula

H

I created a workbook with 6 worksheets, each containing about 100 named ranges (the ranges are for months of the year (Jan to Dec) with the cells referencing the days in each months). I use the named ranges in array formulas (daily cost and chemical usage calcualtiosn per month). I have it setup for 2003, now I created exactly the same one for 2004, but February has 29 days in 2004 (2003 Feb has 28). Al my range references will be out by one cell from Feb onwards. How do I update all those references in one go (maybe with VBA)? Is there an easier way to do these calcualtions than using hundreds of named ranges in array formuals

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Named Aray Formula

Perhaps the following will work:

1. Insert a row right above February 28, 2004.

2. Copy February 28, 2004 into the new blank row.

3. Change the original February 28, 2004 to February 29, 2004.

This should preserve all your named ranges.

--

Vasant


"Francois Benadie" wrote in message
...
Hi

I created a workbook with 6 worksheets, each containing about 100 named

ranges (the ranges are for months of the year (Jan to Dec) with the cells
referencing the days in each months). I use the named ranges in array
formulas (daily cost and chemical usage calcualtiosn per month). I have it
setup for 2003, now I created exactly the same one for 2004, but February
has 29 days in 2004 (2003 Feb has 28). Al my range references will be out
by one cell from Feb onwards. How do I update all those references in one
go (maybe with VBA)? Is there an easier way to do these calcualtions than
using hundreds of named ranges in array formuals?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Named Aray Formula

Yes, it will preserve my named ranges, but the financial and chemical usage calcualtiosn will then not be accurate for February - the formulas will then calcualte average monthly cost and chemcial usage on 29 days and not on 28 days

Is there not another way of doing this whithout using hundreds of arrays formulas

----- Vasant Nanavati wrote: ----

Perhaps the following will work

1. Insert a row right above February 28, 2004

2. Copy February 28, 2004 into the new blank row

3. Change the original February 28, 2004 to February 29, 2004

This should preserve all your named ranges

--

Vasan


"Francois Benadie" wrote in messag
..
H
I created a workbook with 6 worksheets, each containing about 100 name

ranges (the ranges are for months of the year (Jan to Dec) with the cell
referencing the days in each months). I use the named ranges in arra
formulas (daily cost and chemical usage calcualtiosn per month). I have i
setup for 2003, now I created exactly the same one for 2004, but Februar
has 29 days in 2004 (2003 Feb has 28). Al my range references will be ou
by one cell from Feb onwards. How do I update all those references in on
go (maybe with VBA)? Is there an easier way to do these calcualtions tha
using hundreds of named ranges in array formuals

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
Named Formula Not Always Calculating Harold Shea Excel Discussion (Misc queries) 6 July 6th 09 11:44 PM
Counting contents in aray jpreman Excel Discussion (Misc queries) 7 October 16th 08 02:11 PM
VLOOKUP Question - Can I Keep the Same Aray with Drag? CJ Excel Worksheet Functions 4 July 22nd 08 08:41 PM
Array as a "named range" - formula ok in cells, but error as "named range" tskogstrom Excel Discussion (Misc queries) 11 December 28th 06 04:44 PM
inserting a named range into new cells based on a named cell Peter S. Excel Discussion (Misc queries) 1 June 4th 06 03:53 AM


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