LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.misc
Maarten
 
Posts: n/a
Default conditional reference

Thanks a lot!

"Bob Phillips" wrote:

Could you not simply INDIRECT it and use that in the PopTools formula. For
instance, if this formula returns B1:B10, =SUM(INDIRECT(this_formula)) will
sum those cells.

Other than that, you could use an array formula to get a range, like so

=SUM(OFFSET(B1,,,COUNTA(IF(A1:A100="a",A1:A100)),1 ))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Maarten" wrote in message
...
Great, that works, but it seems that I can't do any calculations with the
result. It looks like Excel doesn't recognize the formula result as a
reference. Is there any way to get around with this?
I want to use the results (reference) in a formula ('bootmean' from

Poptools
addin)which may only use cells in column B from a certain class (defined

in
column A).

Is there a way to make Excel recognize the result of the formula below as

a
reference?

Many thanks,
Maarten

"pinmaster" wrote:


Hi, try this:


="B"&ROW(INDEX(A:A,MATCH("a",A:A,0)))&":"&"B"&ROW( INDEX(A:A,MATCH("a",A:A,0)
))+COUNTIF(A:A,"a")-1

or


="B"&ROW(INDEX(A:A,MATCH(F1,A:A,0)))&":"&"B"&ROW(I NDEX(A:A,MATCH(F1,A:A,0)))
+COUNTIF(A:A,F1)-1

where F1 is your lookup value.

HTH
JG


--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile:

http://www.excelforum.com/member.php...fo&userid=6261
View this thread:

http://www.excelforum.com/showthread...hreadid=494109





 
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
Conditional reference on average interest calculation PiPPo Excel Worksheet Functions 1 October 21st 05 07:28 PM
Conditional Formatting Reference / Inserting Rows Werner Rohrmoser Excel Worksheet Functions 1 September 9th 05 02:27 PM
Conditional formatting a full row triggered by a single cell reference... neilcarden Excel Worksheet Functions 1 August 17th 05 02:59 PM
Expanding conditional formating with reference cells changing CCoop Excel Discussion (Misc queries) 2 May 4th 05 02:36 PM
Can a conditional cell formula reference data selection in a comb. t_nellis Excel Worksheet Functions 1 April 19th 05 04:44 PM


All times are GMT +1. The time now is 09:36 AM.

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"