hi,
I hope I could get more help this time, can someone help me out how to display the highest date together with the adjacent data on its row? I have attached a sample file.
regards,
stoey
hi,
I hope I could get more help this time, can someone help me out how to display the highest date together with the adjacent data on its row? I have attached a sample file.
regards,
stoey
Last edited by stoey; 04-19-2009 at 10:51 AM.
Highest start time, right? You don't need VBA.
J37: =INDEX(J12:J35,MATCH($K$37,$K$12:$K$35,0))
K37: =MAX(K12:K35)
L37 (copy from J37): =INDEX(L12:L35,MATCH($K$37,$K$12:$K$35,0))
hi,
actually its the date with the highest start time...is it possible to just simply use one formula which will eventually display the date which has the highest start time together with its start and end timeHighest start time, right? You don't need VBA.
regards,
stoey
You can put the results into one cell by concatenating those formulae.
i'm not that familiar on how to do that though...can you give me an idea?
to return all in one cell
=TEXT(INDEX($J$12:$J$35,MATCH($K$37,$K$12:$K$35,0)),"d-mmm-yy")&" " &TEXT(MAX($K$12:$K$35),"hh:mm")&" "&TEXT(INDEX($L$12:$L$35,MATCH($K$37,$K$12:$K$35,0)),"hh:mm")
BIG EDIT.............
thats not quite right however!!!!
it needs not to ref K37 but have the formula from k37 instead so
=TEXT(INDEX($J$12:$J$35,MATCH(MAX(K$12:$K$35),$K$12:$K$35,0)),"d-mmm-yy")&" " &TEXT(MAX($K$12:$K$35),"hh:mm")&" "&TEXT(INDEX($L$12:$L$35,MATCH(MAX($K$12:$K$35),$K$12:$K$35,0)),"hh:mm")
Last edited by martindwilson; 04-19-2009 at 10:58 AM.
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
wow! that works perfectly martindwilson...thanks a lot! hey stephen thanks a lot as well..your formula works perfectly as well... thanks a lot for all your quick responses...You guys Rock
Regards,
stoey
STOEY
before you say ah ha there is a problem !!!! re read my previous post lol
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks