Thanks Dave - that's excellent. On Mar 30, 3:35 pm, Dave Bonallack <davebonall...@hotmail.com> wrote: > Hi, > > Yes, it works; but it seems much longer than necessary. > > I think =MATCH(6,ATM!$C$3:$AJ$3,0) would work just as well. > > As to the Index part of the original function: > > When the Index function has a zero as it's second arguemnt, it reurns the > entire array - in our case, of True's and False's. The double negative > outside the bracket changes these to 1's and 0's, which are then handed to > the Match, which is looking for the first occurrence of 1. > > Regards - Dave, > > > > > > > Date: Mon, 29 Mar 2010 16:38:39 -0700 > > Subject: $$Excel-Macros$$ Question about Index function > > From: tomfabtas...@hotmail.com > > To: excel-macros@googlegroups.com > > > Hi, > > > I have a formula that works, but I'm not sure how the INDEX function > > is working: > > > =MATCH(1,INDEX(--(ATM!$C$3:$AJ$3=6),0),0) > > > The INDEX part of the above searches for a 6 in the range ATM!$C$3:$AJ > > $3. > > > The -- appears to create an array. Is the -- shorthand for another > > function ? > > > Regards, > > Tom > > > -- > > ---------------------------------------------------------------------------------- > > Some important links for excel users: > > 1. Follow us on TWITTER for tips tricks and links > > :http://twitter.com/exceldailytip > > 2. Join our Facebook Group > > @http://www.facebook.com/group.php?gid=287779555678 > > 3. Excel tutorials athttp://www.excel-macros.blogspot.com > > 4. Learn VBA Macros athttp://www.quickvba.blogspot.com > > 5. Excel Tips and Tricks athttp://exceldailytip.blogspot.com > > > To post to this group, send email to excel-macros@googlegroups.com > > > <><><><><><><><><><><><><><><><><><><><><><> > > HELP US GROW !! > > > We reach over 6,800 subscribers worldwide and receive many nice notes about > > the learning and support from the group.Let friends and co-workers know > > they can subscribe to group > > athttp://groups.google.com/group/excel-macros/subscribe > > > To unsubscribe from this group, send email to > > excel-macros+unsubscribegooglegroups.com or reply to this email with the > > words "REMOVE ME" as the subject. > > _________________________________________________________________ > Get personal with Windows. Download a free gift for your > PC.http://experience.windows.com- Hide quoted text - > > - Show quoted text -
-- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our Facebook Group @ http://www.facebook.com/group.php?gid=287779555678 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 6,800 subscribers worldwide and receive many nice notes about the learning and support from the group.Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe