Using filters

eqbal

Board Regular
Joined
Sep 6, 2002
Messages
92
Hi,

I have 3 columns in my sheet. A:A goes for DISCRIPTION; B:B for DEBIT and C:C for CREDIT. Cell D1 is for the balance with the following formula: D1= SUM(B:B) – SUM(C:C).

I use AUTO FILTERS to see a single transaction. I want the D1 to calculate only the data which is filtered while now it uses all the data in B:B and C:C for the results. How can I exclude the filtered data from being calculated in the formula?

Thank you for your advice in advance.

Best regards,
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Dear Juan,
THANK YOU. U know I was so frustrated and just felt so sluggish to use the help. If u were here I would have given u a big hug.
That was a very nice and simple advice. I'm glad to have participated in this forum.

Kind regards
 
Upvote 0

Forum statistics

Threads
1,214,787
Messages
6,121,558
Members
449,038
Latest member
Guest1337

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