create date wise & ledger wise report by vba in excel

SACHIN_P

New Member
Joined
Aug 30, 2016
Messages
5
datedoc noledgernarramtbalcne
01-04-16A001ABCXYZ10001000
01-04-16A002BCDRTY20003000
01-04-16A003CDEEER5003500
02-04-16A004DEFEWR2103710
02-04-16A005BCDWER5004210
03-04-16A006ABCHFT5004710
03-04-16A007DEFERW10005710
OPENING BALANCE OF ABC : 1000
OPENING BALANCE OF BCD :1500
OPENING BALANCE OF CDE :100
OPENING BALANCE OF DEF :NILL
1) I WANT DATE-WISE (FROM DATE TO DATE )(TILL DATE BALANCE MUST) REPORT AS IN FORMAT AS BELOW
DATE DOC NO. LEDGER NARRATION AMOUNT BALANCE
2) I WANT LEDGER-WISE DATE-WISE REPORT AS IN FORMAT AS BELOW
LEDGER NAME (ABC)
DATE DOC NO. NARRATION AMOUNT BALANCE
OPENING BALNCE 1000
3) I WANT DOC NO-WISE REPORT AS BELOW
DOC NO. DATE LEDGER AMOUNT BALANCE
***
IF REPORT WANT FROM 03-04-2016 THAN BALANCE TILL DATE MUST SHOW (FROM 01-04 TO 02-04 LAST ENTRY TOTAL)

<colgroup><col style="width:48pt" span="8" width="64"> </colgroup><tbody>
</tbody>
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
datedoc noledgernarramtbalcne
01-04-16A001ABCXYZ10001000
01-04-16A002BCDRTY20003000
01-04-16A003CDEEER5003500
02-04-16A004DEFEWR2103710
02-04-16A005BCDWER5004210
03-04-16A006ABCHFT5004710
03-04-16A007DEFERW10005710
OPENING BALANCE OF ABC : 1000
OPENING BALANCE OF BCD :1500 please explain how this is so
OPENING BALANCE OF CDE :100
OPENING BALANCE OF DEF :NILL

<tbody>
</tbody>
 
Upvote 0
this data in sheet1 in excel

it is the opening balance of ledger BCD. if i want report of ledger BCD it will be shown as :

Ledger :BCD
Date Doc. no narration amount balance
-------------------------------------------------------------------------------
opening balance 1500
01/04/2016 A002 RTY 2000 3500
02/04/2016 A005 WER 520 4000
-------------------------------------------------------------------------------
Total balance is : 4000
 
Upvote 0
date
doc noledgernarramtbalcne
01-04-16A001ABCXYZ10001000
01-04-16A002BCDRTY20003000
01-04-16A003CDEEER5003500
02-04-16A004DEFEWR2103710
02-04-16A005BCDWER5004210
03-04-16A006ABCHFT5004710
03-04-16A007DEFERW10005710
OPENING BALANCE OF ABC : 1000
OPENING BALANCE OF BCD :1500
OPENING BALANCE OF CDE :100
OPENING BALANCE OF DEF :NILL
1) I WANT DATE-WISE (FROM DATE TO DATE )(TILL DATE BALANCE MUST) REPORT AS IN FORMAT AS BELOW
date doc noledgernarramtbalcne
01-04-16A001ABCXYZ10001000
01-04-16A002BCDRTY20003000
01-04-16A003CDEEER5003500
02-04-16A004DEFEWR2103710
02-04-16A005BCDWER5004210
03-04-16A006ABCHFT5004710
03-04-16A007DEFERW10005710
2) I WANT LEDGER-WISE DATE-WISE REPORT AS IN FORMAT AS BELOW
LEDGER NAME (ABC)
DATEDOC NONARRAMOUNTBALANCE
OPENING BALNCE1000
01-04-16A001XYZ10002000
03-04-16A006HFT5002500
CLOASING BALANCE2500
3) I WANT DOC NO-WISE REPORT FROM A002 TO A006 THAN AS BELOW
DOC NODATELEDGERNARRATIONAMOUNTBALANCE
A00201-04-16BCDRTY20002000
A00301-04-16CDEEER5002500
A00402-04-16DEFEWR2102710
A00502-04-16BCDWER5003210
A00603-04-16ABCHFT5004210
***
IF REPORT WANT FROM 03-04-2016 THAN BALANCE TILL DATE MUST SHOW (FROM 01-04 TO 02-04 LAST ENTRY TOTAL)

<tbody>
</tbody>
 
Upvote 0
ahhhhhhhhhhhhhhhhhhhhhhhh....the last column is a running total....

I suggest you tackle it one question at a time

1) I WANT DATE-WISE (FROM DATE TO DATE )(TILL DATE BALANCE MUST) REPORT AS IN FORMAT AS BELOW
datedoc noledgernarramtbalcne
01/04/2016A001ABCXYZ10001000
01/04/2016A002BCDRTY20003000
01/04/2016A003CDEEER5003500
02/04/2016A004DEFEWR2103710
02/04/2016A005BCDWER5004210
03/04/2016A006ABCHFT5004710
03/04/2016A007DEFERW10005710
2) I WANT LEDGER-WISE DATE-WISE REPORT AS IN FORMAT AS BELOWa pivot table gives you the row doc numbers
LEDGER NAME (ABC)
ledgerABC
DATEDOC NONARRAMOUNTBALANCE
OPENING BALNCE1000Count of doc no
01/04/2016A001XYZ10002000doc noTotal
03/04/2016A006HFT5002500A0011
CLOASING BALANCE2500A0061
Grand Total2
DATEDOC NONARRAMOUNTBALANCE
OPENING BALNCE1000
A0011000
A006
I obtained the 1000 by
=OFFSET($B$2,MATCH(B24,$B$3:$B$9,0),3)
you can use the same principle to get the other amount , the narratives and the balances

<colgroup><col><col><col span="5"><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
sorry should have been clearer - the offset match formula means start from here,go down until you obtain a match, then go 3 columns to the right
 
Upvote 0

Forum statistics

Threads
1,215,430
Messages
6,124,853
Members
449,194
Latest member
HellScout

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