Need a formula

Copper Contributor

 

Hello,

 

I need your help guys,

 

I have a Excel file which is daily debitor report. This file has two sheets . Sheet 1 and Sheet 2. 

So, I want the data in the sheet 2 (here sales and bank) to be added to sheet 1 automatically. One of my friend applied a VBA code for this and it works ( attached file possess this VBA code). However, I want it with formula (not with Pivot table). I hope anyone can help me with this situation. 

 

5 Replies

@ismat1950 

 

Check the Sheet 1 in range I14:J19 I've applied an array (CSE) formula,,, and you need to copy it for other dates,, but be careful.

 

My observation & suggestions: 

 

  • The used VBA macro method is the best suitable for the job since,, for every month you have at least 30 data ranges need to work with an array (CSE) formula, as well as you need to protect them.

 

  • My suggestion is keep working with the VBA macro method.
Mr. Rajesh-S thanks for your help.
However there is still a problem. Remianing balance values is looking like this #VALUE! when add new data. Any solution for this?
coming to VBA code it is not working properly (
At my end not getting any error ,, I've tried so many new data,, plzz check it properly and remember the formula I've suggested is am Array (CSE) formula & need to finish with Ctrl+Shift+Enter simultaneously !!
I mean that remaining balance is only appers in cells where there is a transaction (bank and sales).
In other cells where there is no entries is looking as #VALUE!. I need they all appears regardless of transaction made or not.
Plzz reload the File !!