If you look closely at the results, it returns exactly the same output
desired by you and if you take a look at the code, I am sure you can figure
out a way to replace 'E' with 'D'.

As Paul said, we are here to help, Sir and have absolutely no interest in
coding for requirements which keep escalating or changing with each
response.

Rgds.
 On May 16, 2013 8:29 PM, "DHAMODHARAN KARTHIKEYAN" <deekart...@gmail.com>
wrote:

> Dear Friend,
>
> *Sub : Sorting and Numbering through Macros.*
>
> First, I'd like to mention my thanks for your time and effort on my
> request.
>
>
> The attached file may be improved, if possible.
>
> I look for the following :
>
> 1. In Data Sheet, Column D will have PANs.
>
> 2. If I run MACROS, the details should appear exactly as given
>     in the Resulting Sheet. (I am not specific about the borders).
>
> Subject to your time, convenience and availability, you may do the needful.
>
> With Regards,
> DK.
>
>
>
> ---------- Forwarded message ----------
> From: Abhishek Jain <abhishek....@gmail.com>
> Date: Thu, May 16, 2013 at 1:49 PM
> Subject: Re: $$Excel-Macros$$ Sorting and Numbering through Macros
> To: excel-macros@googlegroups.com
>
>
> Dear Sir,
>
> Please see the attached.
>
> Regards,
>
> Abhishek
>
>
> On Wed, May 15, 2013 at 8:33 PM, DHAMODHARAN KARTHIKEYAN <
> deekart...@gmail.com> wrote:
>
>> File not attached in my previous mail. I will avoid such things in future.
>>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> - - - - - - - - - - - - - -
>> Dear Friends,
>>
>> At the outset, I would like to introduce myself as a reader of your group
>> mails.
>>
>> I do not have knowledge in Excel VBA Codes. However, after started
>> reading certain mails of your group, I gradually improved my interest in
>> Excel VBA Codes.
>>
>> I am just a learner of any interested subjects. Though I am 40+, I am not
>> declining my interest at all in subjects like Word, Excel-Macros, PP,
>> Access, Photoshop, etc. From this group also, I have unlimited subjects and
>> topics to study and improve my knowledge.
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> - - - - - - - - - - - - -
>>
>> Now, I request VBA Codes for the attached excel file.
>>
>> *Sub : Sorting and Numbering through Macros*
>>
>> Column A to V – Details.
>> Column D will have PAN say AAAPA0000A
>> Column F will have Payment Date say 30-Jun-12 (Any date from 01-Apr-12 to
>> 30-Jun-2012)
>>
>> Please see the Sheet 1 and Resulting Sheet. I need Result as given in
>> Resulting Sheet.
>>
>> That is, by using Macros,
>>
>> - the records in Sheet1 should get SORTED based on the PAN (Column D) and
>> it should place the details from Column B4.
>>
>> - Column A4 should start with Sl. No.1, 2, 3……….. for each (Same) PAN.
>>
>> By this, I am able to know the last Sl. No. and accordingly, generate the
>> number of Certificates for the PAN Holders. (For one PAN Holder, one
>> certificate only will be issued, though he may have N number of records).
>>
>> If anybody has better option for such requirement, please suggest.
>>
>> With Regards,
>> DK.
>>
>>
>>  --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to excel-macros+unsubscr...@googlegroups.com.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to