Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Stating ranges in formulae

Hi,

I was wondering if it possible to state formula in the
following way, i can't figure out how to do it myself but
its along these lines:

DSTDEV(database,field,criteria)

DSTEV(A5:J50,4,array("Code","F0.01"))

I want to specify the criteria myself as opposed to
stating a range. Is it possible or... is possible to state
the formula as:

DSTEV(A5:J50,4,array(A1,C3))

Thanks for any help,

Steven
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Stating ranges in formulae

criteria requires a range.

--
Regards,
Tom Ogilvy


"Steven Revell" wrote in message
...
Hi,

I was wondering if it possible to state formula in the
following way, i can't figure out how to do it myself but
its along these lines:

DSTDEV(database,field,criteria)

DSTEV(A5:J50,4,array("Code","F0.01"))

I want to specify the criteria myself as opposed to
stating a range. Is it possible or... is possible to state
the formula as:

DSTEV(A5:J50,4,array(A1,C3))

Thanks for any help,

Steven



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Stating ranges in formulae

I worked around it using a table with named ranges in and
used the lookup to decide which named range to choose.

DAVERAGE($A$7:$J$42,4,INDIRECT(VLOOKUP(LEFT($B10,L EN($B10)-
2),CritRange,2,FALSE))

indirect takes the text name of the named range and
returns it as a range.


-----Original Message-----
criteria requires a range.

--
Regards,
Tom Ogilvy


"Steven Revell" wrote in

message
...
Hi,

I was wondering if it possible to state formula in the
following way, i can't figure out how to do it myself

but
its along these lines:

DSTDEV(database,field,criteria)

DSTEV(A5:J50,4,array("Code","F0.01"))

I want to specify the criteria myself as opposed to
stating a range. Is it possible or... is possible to

state
the formula as:

DSTEV(A5:J50,4,array(A1,C3))

Thanks for any help,

Steven



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Stating ranges in formulae

Not knowing what you are trying to do, you can also use a single criteria
range and have formulas in the criteria cells which "calculate" your
criteria, perhaps based on some input cells.

But glad you found a solution.

--
Regards,
Tom Ogilvy

"Steven Revell" wrote in message
...
I worked around it using a table with named ranges in and
used the lookup to decide which named range to choose.

DAVERAGE($A$7:$J$42,4,INDIRECT(VLOOKUP(LEFT($B10,L EN($B10)-
2),CritRange,2,FALSE))

indirect takes the text name of the named range and
returns it as a range.


-----Original Message-----
criteria requires a range.

--
Regards,
Tom Ogilvy


"Steven Revell" wrote in

message
...
Hi,

I was wondering if it possible to state formula in the
following way, i can't figure out how to do it myself

but
its along these lines:

DSTDEV(database,field,criteria)

DSTEV(A5:J50,4,array("Code","F0.01"))

I want to specify the criteria myself as opposed to
stating a range. Is it possible or... is possible to

state
the formula as:

DSTEV(A5:J50,4,array(A1,C3))

Thanks for any help,

Steven



.



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 we find the stating date of the week in Excel or ms access? KK Excel Discussion (Misc queries) 1 July 31st 08 08:51 AM
WEEKNUM calculations for week stating with Tuesday P C Verma Excel Worksheet Functions 7 June 12th 08 07:07 AM
Comparing & Stating The Nearest Matching FARAZ QURESHI Excel Discussion (Misc queries) 2 April 11th 08 07:01 AM
My IF statement is stating False but if I manual calculate it it Kyla2000 Excel Discussion (Misc queries) 4 April 11th 06 04:22 AM
Can Named ranges be used in file link formulae? Philip J Smith Excel Worksheet Functions 3 April 10th 06 01:26 PM


All times are GMT +1. The time now is 02:31 PM.

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"