Thanks to all ..... almost every formula is working ....

Actually my problem is the following
I have 3 coloums

"Rate w.e.f.
(dd-mmm-yy)"    Item     Rate

01-Apr-10              Bulb      5.00
15-Apr-10              Bulb      6.00
01-Jul-10              Bulb      7.00
30-Jul-10              Bulb      8.00
15-Aug-10              Bulb      9.00
31-Oct-10              Bulb      10.00
01-Apr-10              Light     11.00
15-Apr-10              Light     12.00
01-Jul-10              Light     13.00
30-Jul-10              Light     14.00
15-Aug-10              Light     15.00
31-Oct-10              Light     16.00
01-Apr-10              Switch 17.00
15-Apr-10              Switch 18.00
01-Jul-10              Switch    19.00
30-Jul-10              Switch    20.00
15-Aug-10              Switch    21.00
31-Oct-10              Switch    22.00

I can sort the above columns as and when required

So In Column DEF I have the following criterias...
Date             Item      Rate(Formula)
14-Aug-10     Switch      14

The formula for column F is the following...
=SUMPRODUCT((A1:A18=SUMPRODUCT(MAX(($A$1:$A$18<=K7)*($A$1:$A
$18))))*(B1:B18=L7)*(C1:C18))

Do anyone have any other small formula.... (i need because I have to
add this formula with other formulas in a very large database)

Thanks & Regards,

PLease also tell me why there is no option to attach files here... how
the other users are attaching their files.

BS





On Oct 13, 12:23 am, Dilip Pandey <dilipan...@gmail.com> wrote:
> Hi,
>
> Use the formula :-
> =OFFSET($A$1,MATCH($B$1,$A$1:$A$6,1)-1,0)
>
> Sample worksheet is also attached for your ready reference.  Let me
> know if this suits your requirements.
>
> Regards,
> DILIPandey
>
> On 10/12/11, 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
>
> --
> Thanks & Regards,
>
> DILIP KUMAR PANDEY, mvp
>        MBA,B.Com(Hons),BCA
> Mobile: +91 9810929744
> dilipan...@gmail.com
> dilipan...@yahoo.com
> New Delhi - 62, India
>
>  Selecting equal or less date by DILIPandey.xlsx
> 12KViewDownload

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