Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
excel newbie
 
Posts: n/a
Default Dynamic Function Reference Question

Does anyone know of a way to do this:

Cell 1: STDEV
Cell 2: =SUM(SomeRange)

where instead of retyping "STDEV" in Cell2 to change the function name, u
reference to Cell1 as the function name? so basically a dynamic way of
changing function name as a form of reference from another cell...

seems simple.. but never heard its been done.. hope for solution without vba
help.

  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

It simply doesn't work this way.
The nearest to what you want, and functional, is something like this
=CHOOSE(MATCH(Cell1;{"Count";"CountA";"Sum";"Avera ge"};0);COUNT(YourRange);C
OUNTA(YourRange);SUM(YourRange);AVERAGE(YourRange) )

When combining the formula above with dynamic range(s) as YourRange (and
maybe determining the range YourRange through INDIRECT), you can make this
flexible enough for some easier tasks.



Arvi Laanemets


"excel newbie" <excel wrote in message
...
Does anyone know of a way to do this:

Cell 1: STDEV
Cell 2: =SUM(SomeRange)

where instead of retyping "STDEV" in Cell2 to change the function name, u
reference to Cell1 as the function name? so basically a dynamic way of
changing function name as a form of reference from another cell...

seems simple.. but never heard its been done.. hope for solution without

vba
help.



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
Dynamic Range for Function (Vlookup etc) IshtiaqM Excel Worksheet Functions 4 March 27th 05 09:47 PM
how do i reference multiple rows/columns with one function? NewUser13 New Users to Excel 0 March 4th 05 06:45 PM
dynamic external cell reference bg.itdept Excel Worksheet Functions 4 February 19th 05 03:15 AM
Grading Function Question... spooker4u Excel Worksheet Functions 2 November 2nd 04 01:45 PM
Grading Function Question... spooker4u Excel Worksheet Functions 1 November 1st 04 02:49 PM


All times are GMT +1. The time now is 10:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"