Find Max after a date

B

Bruce

On my worksheet column I contains dates, E contains my values and D9 is my
startdate.

=MAX(IF(($I:$I>=Shares!$D$9),$E:$E))

What I want to do is find the Max E value where the date (I) is greater than
D9.

I havnt got this quite right yet.

Bruce
 
P

Peo Sjoblom

You can't use the whole column range in an array formula, try

=MAX(IF($I1:I$500>=Shares!$D$9,$E1:$E500))

entered with ctrl + shift & enter

--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)
 
R

RagDyer

Try this:

=SUMPRODUCT(MAX((I1:I100>=Shares!D9)*E1:E100))

However, with SumProduct, you can't use entire columns.
If necessary you could use 1:65000.
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


On my worksheet column I contains dates, E contains my values and D9 is my
startdate.

=MAX(IF(($I:$I>=Shares!$D$9),$E:$E))

What I want to do is find the Max E value where the date (I) is greater than
D9.

I havnt got this quite right yet.

Bruce
 
M

Max

Try something like:

=MAX(IF($I1:$I100>=Shares!$D$9,$E1:$E100))

Array-enter the formula, i.e. press CTRL+SHIFT+ENTER
instead of pressing ENTER

Adapt the ranges to suit
(but you can't use entire col refs)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top