Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
sonar
 
Posts: n/a
Default How do I change the range?


Hi

How does this formula really work?

=IF(ISERROR(INDEX('13DBC'!$A$1:$W$999,SUMPRODUCT(S
MALL(ROW('13DBC'!$10:$999)*('13DBC'!$C$10:$C$999< ""),ROW()-9+COUNTA('13DBC'!$C$10:$C$999)-COUNTIF('13DBC'!$C$10:$C$999,"0"))),COLUMN()-1)),"",INDEX('13DBC'!$A$1:$W$999,SUMPRODUCT(SMALL( ROW('1
3DBC'!$10:$999)*('13DBC'!$C$10:$C$999<""),ROW()-9+COUNTA('13DBC'!$C$10:$C$999)-COUNTIF('13DBC'!$C$10:$C$999,"0"))),COLUMN()-1))

I need to be able to manipulate the formula should I wish to reduce the
range from say 999 to 500.

I changing all the $999 to $500

and went to 13DBC worksheet, and deleted all the formulas from row 501
(this messed up the formula)

I see there is some kind of blue line that surrounds '13DBC'!
A09:S1001

It seems to be linked to make the INDEX formula work. I also tried
reducing that, and it messed up my formula's

What is the best procedure to reduce the range in the formula above and
in the area range in 13DBC?


--
sonar
------------------------------------------------------------------------
sonar's Profile: http://www.excelforum.com/member.php...fo&userid=8424
View this thread: http://www.excelforum.com/showthread...hreadid=401659

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Best to start by breaking it up.

First create a name, InsertNameDefine..., of say cCount, with a RefersTo
value of ='13DBC'!$C$10:$C$999.

Then create another name of say cSum with a RefersTo value of
=SUMPRODUCT(SMALL(ROW(cCount)*(cCount<""),ROW()-9+COUNTA(cCount)-COUNTIF(cC
ount,"0")))

then your formula becomes
=IF(ISERROR(INDEX('13DBC'!$A$1:$W$999,cSum,COLUMN( )-1)),"",INDEX('13DBC'!$A$
1:$W$999,cSum,COLUMN()-1))

You now have a much simpler formula that you can change the ranges here and
in the cCount name.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"sonar" wrote in
message ...

Hi

How does this formula really work?

=IF(ISERROR(INDEX('13DBC'!$A$1:$W$999,SUMPRODUCT(S

MALL(ROW('13DBC'!$10:$999)*('13DBC'!$C$10:$C$999< ""),ROW()-9+COUNTA('13DBC'
!$C$10:$C$999)-COUNTIF('13DBC'!$C$10:$C$999,"0"))),COLUMN()-1)),"",INDEX('1
3DBC'!$A$1:$W$999,SUMPRODUCT(SMALL(ROW('1

3DBC'!$10:$999)*('13DBC'!$C$10:$C$999<""),ROW()-9+COUNTA('13DBC'!$C$10:$C$9
99)-COUNTIF('13DBC'!$C$10:$C$999,"0"))),COLUMN()-1))

I need to be able to manipulate the formula should I wish to reduce the
range from say 999 to 500.

I changing all the $999 to $500

and went to 13DBC worksheet, and deleted all the formulas from row 501
(this messed up the formula)

I see there is some kind of blue line that surrounds '13DBC'!
A09:S1001

It seems to be linked to make the INDEX formula work. I also tried
reducing that, and it messed up my formula's

What is the best procedure to reduce the range in the formula above and
in the area range in 13DBC?


--
sonar
------------------------------------------------------------------------
sonar's Profile:

http://www.excelforum.com/member.php...fo&userid=8424
View this thread: http://www.excelforum.com/showthread...hreadid=401659



  #3   Report Post  
sonar
 
Posts: n/a
Default


Thanks for the help

I will look into that tonight.


--
sonar
------------------------------------------------------------------------
sonar's Profile: http://www.excelforum.com/member.php...fo&userid=8424
View this thread: http://www.excelforum.com/showthread...hreadid=401659

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
create range bar graph Aussie1497 Charts and Charting in Excel 2 April 26th 23 11:47 AM
Cell Change Color - Need Help alani New Users to Excel 3 June 29th 05 03:50 PM
View and Cell Sum Range Dewayne Excel Discussion (Misc queries) 4 December 29th 04 03:23 PM
HOW TO USE A FORMULA TO CHANGE CELL COLOR ACCORDING TO DATE RANGE. terry Excel Worksheet Functions 2 December 27th 04 04:07 AM
How do I change an Excel range of cells from relative to absolute. Jrhenk Excel Worksheet Functions 2 November 15th 04 10:55 PM


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