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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

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,144,112
Messages
5,722,544
Members
422,446
Latest member
jsasiadek35

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