Hi,
How do I get the MAX for every fifth cell in a column, starting with M5.
so MAX of M5, M10, M15, M20, M25....... Probably to m2500 or so.
thanks
Hi,
How do I get the MAX for every fifth cell in a column, starting with M5.
so MAX of M5, M10, M15, M20, M25....... Probably to m2500 or so.
thanks
live logic & long prosper
Like this?
<----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left
If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.
hi stockgoblin, different intepretation, not sure if correct. try this array:
=MAX(IF(MOD(ROW(M5:M2500),5)=0,M5:M2500))
...confirmed by pressing CTRL-SHIFT-ENTER to activate the array. 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.
Thanks, if you have clicked on the * and added our rep.
If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".
"Contentment is not the fulfillment of what you want, but the realization of what you already have."
Tips & Tutorials I Compiled | How to Get Quick & Good Answers
yes, thanks! Max of every 5th cell, not every 5 cells. Is there any way around an array formula as speed is an issue and my program loops alot?
you're welcome. maybe a helper column beside it.
=IF(MOD(ROW(M5),5),"",M5)
copy down all the way. then do a MAX of this column. for eg if the formulas are in N5:N2500, then:
=MAX(N5:N2500)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks