PC Review


Reply
Thread Tools Rate Thread

different formula for ROW, array / range?

 
 
=?Utf-8?B?bmFzdGVjaA==?=
Guest
Posts: n/a
 
      20th Sep 2007
hi, trying to see if way to cut down on couple columns, have:

=IF(AND(ROW(A9)>$T$2,ROW(A9)<$T$3),0,1)

pending a second column or 2nd copy of variable within same formula:

=IF(OR(AND(ROW(A9)>$T$2,ROW(A9)<$T$3)
AND(ROW(A9)>$U$2,ROW(A9)<$U$3)),0,1)

Is there a shorter way to accomplish using a range, values in $T$2 & $T$3
which might say something like: =ROW($A$227) & =ROW($A$355)
note: would rather keep these values as external controls. thanks


=IF(ROW(A$227:A$355),0,1) does not quite seem to work
 
Reply With Quote
 
 
 
 
=?Utf-8?B?bmFzdGVjaA==?=
Guest
Posts: n/a
 
      20th Sep 2007
alternate idea, but rather have shorter, answer would be:
=IF(AND(ROW($A9)>$T$2,ROW($A9)<$T$3),0,IF(AND(ROW($A9)>$T$4,ROW($A9)<$T$5),1,2))

"nastech" wrote:

> hi, trying to see if way to cut down on couple columns, have:
>
> =IF(AND(ROW(A9)>$T$2,ROW(A9)<$T$3),0,1)
>
> pending a second column or 2nd copy of variable within same formula:
>
> =IF(OR(AND(ROW(A9)>$T$2,ROW(A9)<$T$3)
> AND(ROW(A9)>$U$2,ROW(A9)<$U$3)),0,1)
>
> Is there a shorter way to accomplish using a range, values in $T$2 & $T$3
> which might say something like: =ROW($A$227) & =ROW($A$355)
> note: would rather keep these values as external controls. thanks
>
>
> =IF(ROW(A$227:A$355),0,1) does not quite seem to work

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Range reference in array formula Ken McLennan Microsoft Excel Programming 2 10th Dec 2010 05:19 AM
Array formula[S] in named range[S] MikeF Microsoft Excel Programming 4 5th Dec 2008 08:38 PM
copy one array formula to an array range =?Utf-8?B?Z3VlZGo1NA==?= Microsoft Excel Programming 2 29th Oct 2006 07:38 PM
Tricky array formula issue - Using array formula on one cell, then autofilling down a range aspenbordr Microsoft Excel Programming 0 27th Jul 2005 03:59 PM
Insert a range name in an array formula Brian H Microsoft Excel Worksheet Functions 1 1st Sep 2004 10:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:59 PM.