Need Help in a Data Table

Santosh080

Board Regular
Joined
Jul 15, 2016
Messages
77
Office Version
  1. 2021
Platform
  1. Windows
hello Friends
i have a excel sheet like this.

MY MF.xlsx
ABCDE
1DatesDebitCreditInterestBalance
229-09-2011100000.00
330-09-2011500000105000.00
401-10-201106000099000.00
502-10-201100099000.00
603-10-201100099000.00
704-10-201100099000.00
805-10-201100099000.00
906-10-201100099000.00
1007-10-201100099000.00
1108-10-201100099000.00
1209-10-201100099000.00
1310-10-2011001169100169.00
1411-10-2011000100169.00
1512-10-2011000100169.00
1613-10-2011000100169.00
1714-10-20111500000115169.00
1815-10-2011000115169.00
1916-10-2011000115169.00
2017-10-2011000115169.00
2118-10-2011030000112169.00
2219-10-2011000112169.00
2320-10-2011000112169.00
2421-10-2011001547113716.00
2522-10-2011000113716.00
2623-10-2011000113716.00
2724-10-2011000113716.00
Sheet2
Cell Formulas
RangeFormula
E3:E27E3=E2+B3+D3-C3



I want to extract data like below table. Here i want ignore data where Debit,Credit,Interest,Balance all are "0" and extract data where data avaible. Please help me. Thanks

MY MF.xlsx
IJKLM
1DebitCreditInterestBalanceDates
2000100000.0029-09-2011
306000099000.0001-10-2011
4001169100169.0010-10-2011
51500000115169.0014-10-2011
6030000112169.0018-10-2011
7001547113716.0021-10-2011
Sheet2
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Santosh the data you have provided seems to be like some bank statement kind where you are getting a running total.

With Excel 2016 there are some limitations to work with but there are always workarounds.

  1. Best is to convert your data into structured table - This way you can filter data manually the way you want to.
  2. In case you want it on a click - Macro is a solution
    1. The easiest way to start with a macro is start recording a macro
    2. then perform the actions you need macro to perform
    3. Stop recording
    4. And use the macro over and over again.
  3. Once you get that macro and you have any challenge, feel free to post your macro in the forum along with the problem you are facing. Some expert shall help you.
Hope this information helps you in some useful way.
 
Upvote 0
thanks for reply.
If i install new version of office then is it possible? I really have no idea where to start a macro. Is there any other method?(Any method formula, vba, macro)
 
Upvote 0
thanks for reply.
If i install new version of office then is it possible? I really have no idea where to start a macro. Is there any other method?(Any method formula, vba, macro)
With Excel 2021 and 365 it can be done with a simple formula that works dynamically.

Also, once you update your Excel, remember to update same in your profile here. Experts will know what version you are working on and will deliver solution accordingly.
 
Upvote 0
I have installed office 2021. Now please tell how can i do this. Accutaly i have installed office 2021 in my home pc but at office it was MS Office 2016.
 
Upvote 0
How about
Fluff.xlsm
ABCDEFGHIJKLM
1DatesDebitCreditInterestBalanceDatesDebitCreditInterestBalance
229/09/201110000030/09/2011500000105000
330/09/201150000010500001/10/201106000099000
401/10/20110600009900010/10/2011001169100169
502/10/20110009900014/10/20111500000115169
603/10/20110009900018/10/2011030000112169
704/10/20110009900021/10/2011001547113716
805/10/201100099000
906/10/201100099000
1007/10/201100099000
1108/10/201100099000
1209/10/201100099000
1310/10/2011001169100169
1411/10/2011000100169
1512/10/2011000100169
1613/10/2011000100169
1714/10/20111500000115169
1815/10/2011000115169
1916/10/2011000115169
2017/10/2011000115169
2118/10/2011030000112169
2219/10/2011000112169
2320/10/2011000112169
2421/10/2011001547113716
2522/10/2011000113716
2623/10/2011000113716
2724/10/2011000113716
Certivin
Cell Formulas
RangeFormula
I2:M7I2=FILTER(A2:E100,MMULT(--(B2:D100<>0),SEQUENCE(COLUMNS(B2:D2),,,0)))
E3:E27E3=E2+B3+D3-C3
Dynamic array formulas.
 
Upvote 0
I have installed office 2021. Now please tell how can i do this. Accutaly i have installed office 2021 in my home pc but at office it was MS Office 2016.
Check this -

All Records.xlsb
ABCDEFGHIJ
1DatesDebitCreditInterestBalanceDebitCreditInterestBalance
2408151,00,0005,000001,05,000
3408165,000001,05,00006,000099,000
44081706,000099,000001,1691,00,169
54081800099,00015,000001,15,169
64081900099,00003,00001,12,169
74082000099,000001,5471,13,716
84082100099,000
94082200099,000
104082300099,000
114082400099,000
124082500099,000
1340826001,1691,00,169
14408270001,00,169
15408280001,00,169
16408290001,00,169
174083015,000001,15,169
18408310001,15,169
19408320001,15,169
20408330001,15,169
214083403,00001,12,169
22408350001,12,169
23408360001,12,169
2440837001,5471,13,716
25408380001,13,716
26408390001,13,716
27408400001,13,716
Sheet2
Cell Formulas
RangeFormula
G1:J1G1=B1:E1
G2:J7G2=FILTER(B2:E27,(B2:B27<>0)+(C2:C27<>0)+(D2:D27<>0))
E3:E27E3=E2+B3+D3-C3
Dynamic array formulas.
 
Upvote 0
thanks for help. It is working. Is it possible with out FILTER formula i mean can it possible in office 2016 (in my office).
 
Upvote 0
How about
Fluff.xlsm
ABCDEFGHIJKLM
1DatesDebitCreditInterestBalanceDatesDebitCreditInterestBalance
229/09/201110000030/09/2011500000105000
330/09/201150000010500001/10/201106000099000
401/10/20110600009900010/10/2011001169100169
502/10/20110009900014/10/20111500000115169
603/10/20110009900018/10/2011030000112169
704/10/20110009900021/10/2011001547113716
805/10/201100099000
906/10/201100099000
1007/10/201100099000
1108/10/201100099000
1209/10/201100099000
1310/10/2011001169100169
1411/10/2011000100169
1512/10/2011000100169
1613/10/2011000100169
1714/10/20111500000115169
1815/10/2011000115169
1916/10/2011000115169
2017/10/2011000115169
2118/10/2011030000112169
2219/10/2011000112169
2320/10/2011000112169
2421/10/2011001547113716
2522/10/2011000113716
2623/10/2011000113716
2724/10/2011000113716
Certivin
Cell Formulas
RangeFormula
I2:M7I2=FILTER(A2:E100,MMULT(--(B2:D100<>0),SEQUENCE(COLUMNS(B2:D2),,,0)))
E3:E27E3=E2+B3+D3-C3
Dynamic array formulas.
this gives rersult but not like yours, it shows all data mean it does not ignore data where Debit,Credit,Interest,Balance all are "0". I just put same formula but why mine is not working?
 
Upvote 0

Forum statistics

Threads
1,224,621
Messages
6,179,937
Members
452,949
Latest member
beartooth91

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