Macro Requested to pull sections based upon number into blank excel sheet

Darryproduct

New Member
Joined
Jul 24, 2013
Messages
8
There is a CTR-CAR (Customer Transaction report / Customer accrual report) excel file that has a "CTR" Tab and a "CAR" tab. The CTR tab has a "Rebate No" column and often we have to pull a list of 10 or more rebate ID sections from the CAR report into a blank excel sheet to provide sufficient support for the journal entries we are booking. This takes a lot of time sometimes. The lines in the CTR look like the below:

GL AccountDebit AccountRebate NoRebate TypeRebate Amount / RateDescriptionEffective Start DateEffective End DatePrior Month BalCurrent Month Rebate AccrlCurr month DeductionsRebate balChannelComments
1230140309100121FA5833.33Technoglobal - NT BU - 2017 U - Apr-Jun'17 MDF - $17.5K16-APR-1723-JUN-17010000010000CHLAT1xxxx
1230140303100151FA333.33RC WILLEY LNK - NT BU - 2017 - U - O&A - Q3 NP - $1K1-APR-1730-JUN-17020000-150005000CHCEL1xxxx
1230140315100312FA3090ABBOUD TRADING CORP - NT BU - 2017 - P - INSTANT REBATE - (MIR 52720) - LNK10-APR-1712-MAY-17500000-2000030000CHLAT1XXXX
1230140303101007FR5LONDON DRUGS, LTD - CO BU - 2017/2018 - U - O&A 5% INTERNAL MDF19-MAY-1718-MAY-1818252.81992.3019245.11CHCAN1xxxx

<tbody>
</tbody>

<tbody>
</tbody>

The sections of the CAR look like the below:

FUTURE SHOP - CO BU - 2017 - U - O&A APR ENDCAP PROTO 1.0 TABLET ACCESSORIES - $0.7K
Rebate Number : 101002
Effective Dates : 02-APR-17 29-APR-17
Rebate Type FIXED AMOUNT GL Asset Account 12301 Accrued Co-op/MDF
Sales Type GROSS SALES GL Expense Account 40303 Promotional Funding
Rebate Tiers
Customer Info 2172
Product Info .MCP...(I), .MCB...(I), .MMA...(I), .LSG...(I), .TAB...(I), .MSG...(I), .CBL...(I), .AVI...(I), .MPP...(I), .MPW...(I), .SRG...(I)
Comments SF #86978 ; Prog51259. SF COMMENTS "Please deduct $700 from Rebate ID# 98616 for Belkin Endcap Fee for Proto 1.0 Tablet Accessories Hard Goods - APRIL LOG: 441985"
MonthRate %SalesAccrualAdjustTotal AccrualCM DedAP DedGL DedTotal DedBalance
May-170.000.000.00700.00700.000.000.000.000.00700.00
Jul-170.000.000.000.000.00(515.46)0.000.00(515.46)184.54
Dec-170.000.000.00(184.54)(184.54)0.000.000.000.000.00
Rebate Total0.000.00515.46515.46(515.46)0.000.00(515.46)0.00

<tbody>
</tbody>
Right above the Rebate description header there is a highlighted black line and 2 rows below the Rebate Total there is another black line.

Is there a macro that can pull the CARs from the "CAR" tab in an excel file with both the "CTR" & "CAR" tab into a separate blank worksheet where the black lines overlap and are next to each other lined up to down?
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,214,920
Messages
6,122,269
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top