Don Guillett

Great contribution, thanks Don Guillett

Chilexcel
2012/2/29 Sam Mathai Chacko <samde...@gmail.com>

> Just a guess without testing
>
> For i = Cells(Rows.Count, "Z").End(xlUp).Row To 2 Step -1
> If Cells(i + 1, "Z") = Cells(i, "Z") Then
>
> Sam
>
>
> On Wed, Feb 29, 2012 at 4:41 PM, Jorge Marques <leote.w...@gmail.com>wrote:
>
>> Sorry my friends for writting again in the post, it just that i
>> understood this code, the only thing i don´t get is if the control cell is
>> Z and not A, how can i change it, because, i have a another report that is
>> exactly like the initial post but now the control is not A- Order but cell
>> Z - Shop, how can i turn this around, is it done in the code line:
>>
>> If Cells(i + 1, 1) = Cells(i, 1) do i have to change the 1 to the
>> correspondent Column of Z? Thank you again :).
>>
>>  2012/2/22 dguillett1 <dguille...@gmail.com>
>>
>>>   Glad to help
>>>
>>> Don Guillett
>>> SalesAid Software
>>> dguille...@gmail.com
>>>
>>>  *From:* Jorge Marques <leote.w...@gmail.com>
>>> *Sent:* Wednesday, February 22, 2012 10:00 AM
>>>  *To:* excel-macros@googlegroups.com
>>> *Subject:* Re: $$Excel-Macros$$ Help on gathering duplicate summing and
>>> counting
>>>
>>>
>>> Hi, Aamir Shahzad was option was good, but it suited me for doing
>>> another thing in another report, but i needed in a macro format in order to
>>> delete the data whenever i pull a report, dguillett1 was exactly as i
>>> wanted :). thank you very much both of you.
>>>
>>> 2012/2/20 dguillett1 <dguille...@gmail.com>
>>>
>>>>   I didn’t do columns F & G so use this
>>>> Sub ConsolidateTotalsSAS()
>>>> Dim i As Long
>>>> For i = Cells(Rows.Count, 1).End(xlUp).Row To 2 Step -1
>>>> If Cells(i + 1, 1) = Cells(i, 1) Then
>>>> Cells(i, "e") = Val(Cells(i + 1, "e")) + Val(Cells(i, "e"))
>>>> Cells(i, "f") = Val(Cells(i + 1, "f")) + Val(Cells(i, "f"))
>>>> Cells(i, "g") = Val(Cells(i + 1, "g")) + Val(Cells(i, "g"))
>>>> Rows(i + 1).Delete
>>>> End If
>>>> Next i
>>>> End Sub
>>>>
>>>>
>>>> Don Guillett
>>>> SalesAid Software
>>>> dguille...@gmail.com
>>>>
>>>>  *From:* Aamir Shahzad <aamirshahza...@gmail.com>
>>>> *Sent:* Monday, February 20, 2012 11:11 AM
>>>> *To:* excel-macros@googlegroups.com
>>>> *Subject:* Re: $$Excel-Macros$$ Help on gathering duplicate summing
>>>> and counting
>>>>
>>>>   Dear Jorge,
>>>>
>>>> See the third table in attached sheet.
>>>>
>>>> Aamir Shahzad
>>>>
>>>> On Mon, Feb 20, 2012 at 9:30 PM, Jorge Marques <leote.w...@gmail.com>wrote:
>>>>
>>>>> Hi friends, i have a problem,
>>>>> 1. i trying to use a report and i have to sum the column H, G, F, if
>>>>> the orders numbers are equal and
>>>>> 2. leave the information in column B,C,D, gathered.
>>>>> 3. The problem is that i was doing it with formulas, but didn´t have a
>>>>> dinamic range that´s the first,
>>>>> 4. then the system has changed, the report is generated by a sql, so i
>>>>> loose the formulas everytime i generate a report and i can´t gather the
>>>>> column B,C,D.
>>>>> 5. is there any way i can do it, by macro, running it after i push the
>>>>> report from SQL? Thank you very much.
>>>>>
>>>>>
>>>>> --
>>>>> FORUM RULES (986+ members already BANNED for violation)
>>>>>
>>>>> 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) Cross-promotion of, or links to, forums competitive to this forum
>>>>> in signatures are prohibited.
>>>>>
>>>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>>>> Forum owners and members are not responsible for any loss.
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------------------------------
>>>>> To post to this group, send email to excel-macros@googlegroups.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Regards,
>>>>
>>>> Aamir Shahzad
>>>>
>>>> --
>>>> FORUM RULES (986+ members already BANNED for violation)
>>>>
>>>> 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) Cross-promotion of, or links to, forums competitive to this forum in
>>>> signatures are prohibited.
>>>>
>>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>>> Forum owners and members are not responsible for any loss.
>>>>
>>>>
>>>> ------------------------------------------------------------------------------------------------------
>>>> To post to this group, send email to excel-macros@googlegroups.com
>>>>  --
>>>> FORUM RULES (986+ members already BANNED for violation)
>>>>
>>>> 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) Cross-promotion of, or links to, forums competitive to this forum in
>>>> signatures are prohibited.
>>>>
>>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>>> Forum owners and members are not responsible for any loss.
>>>>
>>>>
>>>> ------------------------------------------------------------------------------------------------------
>>>> To post to this group, send email to excel-macros@googlegroups.com
>>>>
>>>
>>> --
>>> FORUM RULES (986+ members already BANNED for violation)
>>>
>>> 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) Cross-promotion of, or links to, forums competitive to this forum in
>>> signatures are prohibited.
>>>
>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>> Forum owners and members are not responsible for any loss.
>>>
>>>
>>> ------------------------------------------------------------------------------------------------------
>>> To post to this group, send email to excel-macros@googlegroups.com
>>>
>>> --
>>> FORUM RULES (986+ members already BANNED for violation)
>>>
>>> 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) Cross-promotion of, or links to, forums competitive to this forum in
>>> signatures are prohibited.
>>>
>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>> Forum owners and members are not responsible for any loss.
>>>
>>>
>>> ------------------------------------------------------------------------------------------------------
>>> To post to this group, send email to excel-macros@googlegroups.com
>>>
>>
>> --
>> FORUM RULES (986+ members already BANNED for violation)
>>
>> 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) Cross-promotion of, or links to, forums competitive to this forum in
>> signatures are prohibited.
>>
>> NOTE : Don't ever post personal or confidential data in a workbook. Forum
>> owners and members are not responsible for any loss.
>>
>>
>> ------------------------------------------------------------------------------------------------------
>> To post to this group, send email to excel-macros@googlegroups.com
>>
>
>
>
> --
> Sam Mathai Chacko
>
> --
> FORUM RULES (986+ members already BANNED for violation)
>
> 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) Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
>
>
> ------------------------------------------------------------------------------------------------------
> To post to this group, send email to excel-macros@googlegroups.com
>



-- 
Visita ; http://sites.google.com/site/chilexcel/Home
Visita ; http://www.youtube.com/user/timextag41

-- 
FORUM RULES (986+ members already BANNED for violation)

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)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Reply via email to