Extract Latest 24 Date after Criteria match from database

3 views
Skip to first unread message

amar takale

unread,
Jun 29, 2016, 6:14:46 AM6/29/16
to Excel VBA Lab
Hi Vabs & Ashish Sir,

Due to heavy work I am not possible to visit our group.Here I required small Solution.

PFA with detail.

If suggest another formula (Extract Latest 24 Date) then I will accept it
Database.xls

Vaibhav Joshi

unread,
Jun 30, 2016, 3:29:20 AM6/30/16
to Excel VBA Lab
why dont you use same logic/formula which was given to you for similar query of yours.

--
www.ExcelVbaLab.com
---
You received this message because you are subscribed to the Google Groups "Excel VBA Lab - An Excel VBA Macro help Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ExcelVbaLab...@googlegroups.com.
To post to this group, send email to Excel...@googlegroups.com.
Visit this group at https://groups.google.com/group/ExcelVbaLab.
To view this discussion on the web visit https://groups.google.com/d/msgid/ExcelVbaLab/CAMNN7OY1_Q3ebUjmNRWqBmDzfg0nSD1t9-hN79_9C5xCdfw-Mw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

amar takale

unread,
Jun 30, 2016, 4:57:15 AM6/30/16
to Excel VBA Lab
by my formula NUM! error show & it jump up side  when other companies ticker put D2 (when less than 24 report extract). I required output like O column in database sheet where NUM!  show below  a7 also required formula show cell blank  for NUM error cell.

Is this OK formula? I feel we can do another formula.

amar takale

unread,
Jul 1, 2016, 3:22:58 AM7/1/16
to Excel VBA Lab
any update Sir?

Vaibhav Joshi

unread,
Jul 1, 2016, 4:03:34 AM7/1/16
to Excel VBA Lab
Hi

Since there are no 24 values, you are getting error, change formula as per attachment.

Cheers!!

Database.xls

amar takale

unread,
Jul 1, 2016, 4:49:49 AM7/1/16
to Excel VBA Lab
Dear Vabs Sir

Great Solution & solve my Query regarding NUM! Error Show but currently Formula extract Wrong Reco output.

Regards
Amar

amar takale

unread,
Jul 1, 2016, 4:52:01 AM7/1/16
to Excel VBA Lab
What is different between Sum product formula where we use " * " & where we us " , "

Star & Comma relation each other.

amar takale

unread,
Jul 1, 2016, 5:20:25 AM7/1/16
to Excel VBA Lab
Dear Vabs Sir,

I found one more issue.My formula extract only latest 24 date as per my previous sheet, So starting point (13-Aug-12) & End point (26- Jun-16).
In your sheet formula extract date from starting point (30May-12) & End point (21- Jun-16).

I required formula as per my sheet only remove NUM! error means show blank.if there are 24 latest reports then formula show all 24 reports & if no then show only which is availble & NUM error show below & Up side.

Regards
Amar

Vaibhav Joshi

unread,
Jul 1, 2016, 6:34:45 AM7/1/16
to Excel VBA Lab
Database.xls

amar takale

unread,
Jul 1, 2016, 7:36:35 AM7/1/16
to Excel VBA Lab
Dear Sir

All is perfect ,exact I wish to show output.But again small issue create in my mind that date column will sort ascending order.Our formula extract date as Descending order.(Change database sheet order by you)

And there are no required database sheet sort Descending order.I put & maintain my data in database sheet as ascending order.

can it possible?



amar takale

unread,
Jul 1, 2016, 7:41:40 AM7/1/16
to Excel VBA Lab
sample sheet.xls

Vaibhav Joshi

unread,
Jul 1, 2016, 11:13:47 AM7/1/16
to Excel VBA Lab
use small instead of large in formula for changing the order of sorting.

amar takale

unread,
Jul 2, 2016, 3:54:42 AM7/2/16
to Excel VBA Lab
Reply all
Reply to author
Forward
0 new messages