=INDEX($A$1:$AE$1,SUMPRODUCT(MAX(($B2:$AE2="P")*COLUMN($B$1:$AE$1))))
will work without an array formula Dan :)

On Jul 31, 5:20 pm, "Daniel" <dcolarde...@free.fr> wrote:
> Hi,
>
> In AF2 (array formula, validate with Ctrl+Shift+Enter) :
>
> =INDEX($A$1:$AE$1,1,MAX(IF($B$2:$AE$2="P",COLUMN($B$2:$AE$2))))
>
> Copy down.
>
> Regards.
>
> Daniel
>
> De : excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] De
> la part de maulik desai
> Envoyé : dimanche 31 juillet 2011 10:26
> À : excel-macros@googlegroups.com
> Objet : $$Excel-Macros$$ How to Find Last Present Date From Month in One
> column
>
> Hi Group,
>
> Required Small help,
>
> I am having one excel sheet in that i have to update the Emp Attendance
> status for every month & actul no of Emp are more then 500 & I have to
> update their last Present date in Final column. (details given in Attached
> File)
>
> Currently i have to find out date manually & its take long time to update.
>
> Request you to kindly provide the solution.
>
> --
> Thanks & Regards,
> Maulik Desai
> 9967363926
>
> --
> ----------------------------------------------------------------------------
> ------
> Some important links for excel users:
> 1. Follow us on TWITTER for tips tricks and links 
> :http://twitter.com/exceldailytip
> 2. Join our LinkedIN group @http://www.linkedin.com/groups?gid=1871310
> 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
>
> <><><><><><><><><><><><><><><><><><><><><><>
> Like our page on facebook , Just follow below 
> linkhttp://www.facebook.com/discussexcel

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
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

<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/discussexcel

Reply via email to