Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default nth value in an array formula

I currently have an array formula that reads
{=IF(MilestoneDates=$D$31;Tasks;"")}

What this does is that it checks through my milestone dates and sees if they
are equal to the next Group Meeting date ($D$31) - if they are, the formula
returns the associated Task. The problem is I only know how to use this to
show the first such result. What I want to be able to do is return, for
example, all five tasks with this milestone date, on separate rows. The tasks
are all text values unfortunately, which means I can't use BIG or SMALL
unfortunately. Any ideas?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default nth value in an array formula

Perhaps this can help:

http://office.microsoft.com/en-us/ex...260381033.aspx
--
Gary''s Student - gsnu200839


"Babymech" wrote:

I currently have an array formula that reads
{=IF(MilestoneDates=$D$31;Tasks;"")}

What this does is that it checks through my milestone dates and sees if they
are equal to the next Group Meeting date ($D$31) - if they are, the formula
returns the associated Task. The problem is I only know how to use this to
show the first such result. What I want to be able to do is return, for
example, all five tasks with this milestone date, on separate rows. The tasks
are all text values unfortunately, which means I can't use BIG or SMALL
unfortunately. Any ideas?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default nth value in an array formula


Thanks - that did help indeed, but as soon as I got it to work another
question popped up: now I want to do the same with multiple criteria. I
assumed that it wouldn't be harder than using:

{=IFERROR(INDEX(Tasks;SMALL(IF(AND(MilestoneDates D31-6;MilestoneDates<=D31);ROW(MilestoneDates));ROW(1: 1))-3);"")}

But that returns nothing. How would I go about setting it up so that the
date it checks is between two values, or bring in another criteria to bear?

"Gary''s Student" wrote:

Perhaps this can help:

http://office.microsoft.com/en-us/ex...260381033.aspx
--
Gary''s Student - gsnu200839


"Babymech" wrote:

I currently have an array formula that reads
{=IF(MilestoneDates=$D$31;Tasks;"")}

What this does is that it checks through my milestone dates and sees if they
are equal to the next Group Meeting date ($D$31) - if they are, the formula
returns the associated Task. The problem is I only know how to use this to
show the first such result. What I want to be able to do is return, for
example, all five tasks with this milestone date, on separate rows. The tasks
are all text values unfortunately, which means I can't use BIG or SMALL
unfortunately. Any ideas?


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default nth value in an array formula

Never mind - I think I got it, by using multiplication instead of an AND
formula. Thanks!

"Babymech" wrote:


Thanks - that did help indeed, but as soon as I got it to work another
question popped up: now I want to do the same with multiple criteria. I
assumed that it wouldn't be harder than using:

{=IFERROR(INDEX(Tasks;SMALL(IF(AND(MilestoneDates D31-6;MilestoneDates<=D31);ROW(MilestoneDates));ROW(1: 1))-3);"")}

But that returns nothing. How would I go about setting it up so that the
date it checks is between two values, or bring in another criteria to bear?

"Gary''s Student" wrote:

Perhaps this can help:

http://office.microsoft.com/en-us/ex...260381033.aspx
--
Gary''s Student - gsnu200839


"Babymech" wrote:

I currently have an array formula that reads
{=IF(MilestoneDates=$D$31;Tasks;"")}

What this does is that it checks through my milestone dates and sees if they
are equal to the next Group Meeting date ($D$31) - if they are, the formula
returns the associated Task. The problem is I only know how to use this to
show the first such result. What I want to be able to do is return, for
example, all five tasks with this milestone date, on separate rows. The tasks
are all text values unfortunately, which means I can't use BIG or SMALL
unfortunately. Any ideas?


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,180
Default nth value in an array formula

Excel 2007 Pivot Table
Works on text.
One easy non-array formula:
=([Deadline]-[Milestone]<6)*([MyCriteria]=1)
No hidden rows. Dynamic resize.
http://www.mediafire.com/file/lgajntlwldm/03_16_09.xlsx
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
Array Formula Help klmiura Excel Worksheet Functions 2 February 11th 09 07:28 PM
Find specific value in array of array formula DzednConfsd Excel Worksheet Functions 2 January 13th 09 06:19 AM
meaning of : IF(Switch; Average(array A, array B); array A) DXAT Excel Worksheet Functions 1 October 24th 06 06:11 PM
Array Formula - using LEFT("text",4) in formula Andrew L via OfficeKB.com Excel Worksheet Functions 2 August 1st 05 02:36 PM
An array formula to sum row max ucamms Excel Discussion (Misc queries) 2 June 27th 05 08:54 PM


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