Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default row-indirect functions

This formula has to do with creating frequency bins (in this case, 10
bins and "Data" refers to a range):

{ = MIN(Data) + (ROW(INDIRECT("1:10"))*(MAX(Data) - MIN(Data) +1)/10) -
1}

I understand the logic of this formula, and I know that ROW-INDIRECT
portion of the formula is supposed to change (i.e. take on value
{1,2,3,...,10}) as we go down the column. However, I'm having trouble
understanding the formula beginning with ROW and ending before the
ASTERISK. Also, when I tried plugging it into excel, it always returns
the value 1 despite moving up and down the column.

Can anyone explain this to me? Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
Pete_UK
 
Posts: n/a
Default row-indirect functions

This is an array formula, which means that you should type the
following:

= MIN(Data)+(ROW(INDIRECT("1:10"))*(MAX(Data)-MIN(Data)+1)/10)-1

but instead of pressing ENTER as normal, you should do CTRL-SHIFT-ENTER
at the same time. If you do it properly then Excel will wrap the curly
braces { } around the formula (do not type these yourself). If you need
to edit the formula, you should do C-S-E again, but you can copy and
paste the formula normally.

Hope this helps.

Pete

  #3   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default row-indirect functions

Hi Pete,

Thanks for replying. I knew it was an array formula, and had tried to
enter it with C-S-E. I suppose I should have clarified that when I
typed in the braces (only for the purpose of this post). Do you have
any insight as to why ROW(INDIRECT("1:10")) isn't functioning the way
it should?

  #4   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default row-indirect functions

Hi!

Are you selecting a 10 cell array and then entering the formula as an array?
That's how it looks like it should work.

Select the 10 cells where you want the bin values to appear. Type the
formula into the formula bar then enter it as an array.

Biff

wrote in message
ps.com...
Hi Pete,

Thanks for replying. I knew it was an array formula, and had tried to
enter it with C-S-E. I suppose I should have clarified that when I
typed in the braces (only for the purpose of this post). Do you have
any insight as to why ROW(INDIRECT("1:10")) isn't functioning the way
it should?



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
Can I get Excel to determine the line curve formula without graph. Cadelima Excel Discussion (Misc queries) 8 December 20th 05 09:57 PM
User-defined functions created in Excel 2000 fail in Excel 2003 goodguy Excel Discussion (Misc queries) 1 October 3rd 05 07:04 PM
Visible rows and functions that work tracy Excel Worksheet Functions 2 August 19th 05 05:25 AM
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Offset and Indirect functions Thrava Excel Discussion (Misc queries) 4 December 23rd 04 05:07 PM


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