Hi:
I have a series of data (Open - High - Low - Close) based on date.
I need the maximum & minimum value between certain dates.
I am attaching an excel sheet explaining what I mean.
Looking forward to help...
Thanks & Best Regards,
Hi:
I have a series of data (Open - High - Low - Close) based on date.
I need the maximum & minimum value between certain dates.
I am attaching an excel sheet explaining what I mean.
Looking forward to help...
Thanks & Best Regards,
Regards,
Navin Agrawal
Array formulas
=MAX(IF(($A$2:$A$2041>=A3)*(G2:$G$2041<=G3),$C$2:$C$2041))
and
=MIN(IF(($A$2:$A$2041>=A3)*(G2:$G$2041<=G3),$C$2:$C$2041))
...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
Adjust ranges accordingly
EDIT: Changed range to Column C
Last edited by Ace_XL; 09-13-2013 at 07:09 AM.
Life's a spreadsheet, Excel!
Say thanks, Click *
Sligthly quicker:
=MAX(IF($A$2:$A$2041>=A3,IF(G2:$G$2041<=G3,$C$2:$C$2041)))
=MIN(IF($A$2:$A$2041>=A3,IF(G2:$G$2041<=G3,$C$2:$C$2041)))
Confirm COntrol+Shift+Enter
If you arehappy with the results, please add to the contributor's
reputation by clicking the reputation icon (star icon).
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
Select Thread Tools-> Mark thread as Solved.
To undo, select Thread Tools-> Mark thread as Unsolved.
http://www.excelaris.co.uk
What's your expected result for let say M3 and Q3?
Apologies to the forum.... There was an error in the formula.... I will be correcting the same and attaching a new file...
Thanks friends...
I have managed to resolve the issue with some permutations & combinations....
Best Regards,
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks