Here's the formula, where your dates start from A2 to A7

=SUMPRODUCT(MAX(($A$2:$A$7<=B2)*($A$2:$A$7)))

Regards

Sam Mathai Chacko

On Wed, Oct 12, 2011 at 5:45 PM, B Sharma <sharma....@gmail.com> wrote:

> Hiiiii Sanjib ... can you please send me your email id so that i can
> send you a sample file..
>
>
>
>
> On Oct 12, 5:02 pm, Sanjib Chatterjee <chatterjee.kolk...@gmail.com>
> wrote:
> > B. sharma.
> >
> > goto vba = module1=>paste the code
> >
> > in excel write a date = inset the function from userdefined function
> >
> > Sanjib
> >
> >
> >
> >
> >
> >
> >
> > On Wed, Oct 12, 2011 at 4:43 PM, B Sharma <sharma....@gmail.com> wrote:
> > > Dear Sanjib.....
> > > there is no option there to attach the file....
> > > please help
> >
> > > On Oct 12, 12:16 pm, Sanjib Chatterjee <chatterjee.kolk...@gmail.com>
> > > wrote:
> > > > dear
> > > > B Sharma
> > > > please send me the sheets
> >
> > > > sanjib
> >
> > > > On Wed, Oct 12, 2011 at 12:37 PM, B Sharma <sharma....@gmail.com>
> wrote:
> > > > > Dear Excel Experts....
> > > > > I want to select a date which is either equals to or lesser than
> the
> > > > > select date.
> >
> > > > > For Example
> >
> > > > > in Column 1 I have different dates
> >
> > > > > 01-Apr-2010
> > > > > 01-Jul-2010
> > > > > 15-Aug-2010
> > > > > 01-Oct-2010
> > > > > 15-Nov-2010
> > > > > 08-Aug-2010
> >
> > > > >  (sorted and un sorted both)
> >
> > > > > In Cell B2 I have entered a date, say.  15-Sep-2010
> > > > > In Cell C3 I want a formula which will return the date either
> equals
> > > > > to B2 or 1 time lesser than it.
> > > > > In this case the result will be 15-Aug-2010
> >
> > > > > Please help.... its very urgent
> >
> > > > > --
> >
> > >
> ---------------------------------------------------------------------------
> > > -------
> > > > > 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 link
> > > > >http://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 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 link
> > >http://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
>



-- 
Sam Mathai Chacko

-- 
----------------------------------------------------------------------------------
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