SUMIFS with filtes

smiles76

New Member
Joined
Sep 22, 2011
Messages
2
This is an excert of my sheet. in reality there are 2000 sales per month but I have just put 8 down to give you an idea of what I need to do.

cell :-
A1= date
B1= staff name
C1= cust (customer) name
D1= receipt no.
E1= Colour
F1= Payment
G1= Amount

A B C D E F G
1 Date Staff Cust receipt no. Colour Payment Amount
Name Name

2 01/01/11 Colin X 255 Red card 11.99
3 01/01/11 Dave X 256 Blue cash 9.99
4 03/01/11 Sara X 257 Red cheque 8.99
5 03/01/11 Lisa X 258 Red card 9.99
6 03/01/11 Mary X 259 Pink cash 12.99
7 04/01/11 Colin X 260 Blue cheque 9.99
8 04/01/11 Lisa X 261 Pink card 8.99
9 04/01/11 Mary X 262 Blue cash 9.99
10
11 cash
12 red
13 blue
14 pink

the word :-
cash is in cell E11
red is in cell D12
blue is in cell D13
pink is in cell D14

so the answe to E12 needs to say add amounts in colum G if E= red & F=cash.

I can enter the following formula which works:-
=SUMIFS(G2:G10,F2:F10,E11,E2:E10,D12)

but I need to make a seperate tab for each day of the month and filter each tab to a different date.

When filtered the formula still added the values that are hidden but I only want the total of the amounts that show.

Please advise.
 
Last edited:

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,224,519
Messages
6,179,263
Members
452,902
Latest member
Knuddeluff

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