![]() | ![]() | ![]() |
| |||||||
| Forums | Register | Groups | Awards | Arcade | Pets | T-Bucks / T-Store | Invite Your Friends | Blogs | Mark Forums Read |
| Microsoft Applications Discussions about Windows and other MS Products such as Office |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Civilians | 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)) |
|
| | #2 (permalink) |
| Civilians | "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 |
|
![]() |
| Bookmarks |
| Thread Tools | |
| |
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 |
![]() | ![]() | ![]() |