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

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

eqbal

Board Regular
Joined
Sep 6, 2002
Messages
92
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
 

Forum statistics

Threads
1,181,104
Messages
5,928,090
Members
436,587
Latest member
Slicesofquince

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
Top