Go Back   Trackpads Community > General Discussions > Computer and Technology > Microsoft Applications

Microsoft Applications Discussions about Windows and other MS Products such as Office

Reply
 
LinkBack Thread Tools
Old 09-23-2005, 20:00   #1 (permalink)
Harlan Grove
Civilians

 
Default Re: One Nest Too Many - Help!

KL wrote...
>You can try the following ARRAY formula (confirm with Ctrl+Shift+Enter, not
>just Enter) which basically eliminates the nesting issue totally and you
>should be able to copy it easily:
>
>=IF('Resource Calcs'!$B2="","",'Resource Calcs'!$B2
>*INDEX(IF(MOD(COLUMN('Resource Calcs'!$BF2:$BS2),2)
>=MOD(COLUMN(INDEX('Resource Calcs'!$BF2:$BS2,2)),2),
>'Resource Calcs'!$BF2:$BS2),MATCH('Resource By Div'!$A$1,
>IF(MOD(COLUMN('Resource Calcs'!$BF2:$BS2),2)
>=MOD(COLUMN(INDEX('Resource Calcs'!$BF2:$BS2,1)),2),
>'Resource Calcs'!$BF2:$BS2),0)+1))
>
>Notes:
>1) this is a relatively expensive formula and may slow your sistem down
>significantly if copied to too many cells.
>2) the good news is that it doesn't seem to be volatile, so it will only
>recalculate if the affected ranges change


You seem to be trying for as general as possible. First, for
simplicity, I'll replace 'Resource Calcs'!$BF2:$BS2 with rng.

=IF('Resource Calcs'!$B2="","",'Resource Calcs'!$B2
*INDEX(IF(MOD(COLUMN(rng),2)=MOD(COLUMN(INDEX(rng, 2)),2),rng),
MATCH('Resource By Div'!$A$1,
IF(MOD(COLUMN(rng),2)=MOD(COLUMN(INDEX(rng,1)),2), rng),0)+1))

Much simplification possible.

=IF('Resource Calcs'!$B2="","",'Resource Calcs'!$B2
*INDEX(rng,MATCH(1,(rng='Resource By Div'!$A$1)
*(MOD(COLUMN(rng)-COLUMN(INDEX(rng,1)),2)=0),0)+1))

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Old 09-23-2005, 20:00   #2 (permalink)
KL
Civilians

 
Default Re: One Nest Too Many - Help!


"Harlan Grove" <hrlngrv@aol.com> wrote in message
news:1127512379.891552.222410@g43g2000cwa.googlegr oups.com...
> Much simplification possible.
> =IF('Resource Calcs'!$B2="","",'Resource Calcs'!$B2
> *INDEX(rng,MATCH(1,(rng='Resource By Div'!$A$1)
> *(MOD(COLUMN(rng)-COLUMN(INDEX(rng,1)),2)=0),0)+1))


Thanks Harlan - that's much better in deed.

Regards,
KL


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
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
Empty nest syndrome scotto Chit-Chat 1 05-03-2007 16:43
Re: One Nest Too Many - Help! smd111 Microsoft Applications 1 09-23-2005 16:00
This aughta get the traditionalist hornets nest stirring Robert R Kircher, Jr. Auto Racing 35 09-12-2005 04:00
[News Feed] Migrant Stumbles Into U.S. Militia 'Hornet's Nest' Forum Mouse News Articles 0 04-03-2005 22:00
Nest IF alternative? PCLIVE Microsoft Applications 5 12-01-2004 19:00


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 18:45.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.60863 seconds with 19 queries