Great than or equal to formula help

easybpw

Active Member
Joined
Sep 30, 2003
Messages
437
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
Hi everyone,

Thanks in advance for the help. I'm trying to adapt the formula below to be a greater than or equal to.

=SUMIFS('Card Type Summary'!$E:$E,'Card Type Summary'!$C:$C,$B$2,'Card Type Summary'!$A:$A,"DEBIT CARD")

In B2 is a date and the formula above works as is. It is pulling the debit card data for the specific date in B2. But when I change the formula to below I get the entered too few arguments error that I can't solve.

=SUMIFS('Card Type Summary'!$E:$E,'Card Type Summary'!$C:$C>=$B$2,'Card Type Summary'!$A:$A,"DEBIT CARD")

How can I change the formula to accommodate what I need?
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Hi, see this formula
=SUMIFS('Card Type Summary'!$E:$E,'Card Type Summary'!$C:$C,">="&$B$2,'Card Type Summary'!$A:$A,"DEBIT CARD")
 
Upvote 0
I actually tried that formula prior to posting in the forum with the result being -0- and I can't understand why. I don't know how to upload a snip of my worksheet on the forum to show.
 
Upvote 0
Here is my worksheet. Only concerned about column B formulas. They are the ones that don't work.

Copy of CC 11.9.22 REC STO26(16741).xlsx
ABCDEF
1StoreBeginning DateEnding Date
211/10/202211/10/2022
3
4
5TENDERSSum of Processed Net Amount
6AMEX$ -$ -$ --
7DEBIT CARD$ -$ -$ --
8DISCOVER$ -$ -$ --
9MASTERCARD$ -$ -$ --
10VISA$ -$ -$ --
11$ -
12CREDIT CARD$ -$ -$ --
13
14TOTAL$ -$ -$ -$ -
15
16
Total
Cell Formulas
RangeFormula
C6C6=(SUMIFS(Booking!$M:$M,Booking!$B:$B,">="&$B$2,Booking!$B:$B,"<="&$C$2,Booking!$F:$F,"Tender Type: AMERICAN EXPRESS"))*-1
D12,D6:D10D6=(SUMIFS('Cashier Differences Report'!$J:$J,'Cashier Differences Report'!$G:$G,">="&$B$2,'Cashier Differences Report'!$G:$G,"<="&$C$2,'Cashier Differences Report'!$F:$F,A6)*-1)
E12,E6:E10E6=B6-C6+-D6
C7C7=(SUMIFS(Booking!$M:$M,Booking!$B:$B,">="&$B$2,Booking!$B:$B,"<="&$C$2,Booking!$F:$F,"Tender Type: DEBIT CARD"))*-1
C8C8=(SUMIFS(Booking!$M:$M,Booking!$B:$B,">="&$B$2,Booking!$B:$B,"<="&$C$2,Booking!$F:$F,"Tender Type: DISCOVER"))*-1
C9C9=(SUMIFS(Booking!$M:$M,Booking!$B:$B,">="&$B$2,Booking!$B:$B,"<="&$C$2,Booking!$F:$F,"Tender Type: MASTERCARD"))*-1
C10C10=(SUMIFS(Booking!$M:$M,Booking!$B:$B,">="&$B$2,Booking!$B:$B,"<="&$C$2,Booking!$F:$F,"Tender Type: VISA"))*-1
B6:B7B6=SUMIFS('Card Type Summary'!$E:$E,'Card Type Summary'!$C:$C,">="&$B$2,'Card Type Summary'!$A:$A,"DEBIT CARD")
B8:B12B8=SUMIFS('Card Type Summary'!$E:$E,'Card Type Summary'!$C:$C,">="&$B$2,'Card Type Summary'!$C:$C,"<="&$C$2,'Card Type Summary'!$A:$A,$A8)
C12C12=(SUMIFS(Booking!$M:$M,Booking!$B:$B,">="&$B$2,Booking!$B:$B,"<="&$C$2,Booking!$F:$F,"*CREDIT CARD"))*-1
B14:E14B14=SUM(B6:B12)
Named Ranges
NameRefers ToCells
'Card Type Summary'!_FilterDatabase='Card Type Summary'!$A$12:$D$125B6:B12


And this should be the data sheet


Copy of CC 11.9.22 REC STO26(16741).xlsx
ABCDE
1Product CodeSite CityTxn DateProcessed Rejected AmountProcessed Net Amount
2VISA11/05/2022.00226,532.44
3VISA11/06/2022.00177,442.14
4VISA11/08/2022.0085,186.77
5VISA11/04/2022.0098,851.35
6VISA11/07/2022.0070,952.77
7VISA11/10/2022.0056,087.92
8VISA11/09/2022.0062,761.57
9DEBIT CARD11/05/2022.00169,018.66
10DEBIT CARD11/06/2022.00125,111.01
11DEBIT CARD11/04/2022.0068,942.83
12DEBIT CARD11/08/2022.0056,062.66
13DEBIT CARD11/07/2022.0059,883.44
14DEBIT CARD11/09/2022.0042,050.88
15DEBIT CARD11/10/2022.0040,552.22
16MASTERCARD11/05/2022.0095,800.18
17MASTERCARD11/06/2022.0061,385.06
18MASTERCARD11/08/2022.0028,911.03
19MASTERCARD11/04/2022.0028,661.02
20MASTERCARD11/07/2022.0026,582.61
21MASTERCARD11/10/2022.0016,629.93
22MASTERCARD11/09/2022.0023,070.49
23AMEX11/05/2022.0065,320.67
24AMEX11/06/2022.0055,948.69
25AMEX11/04/2022.0023,476.16
26AMEX11/08/2022.0025,346.08
27AMEX11/07/2022.0022,092.27
28AMEX11/10/2022.0017,771.38
29AMEX11/09/2022.0017,763.87
30DISCOVER11/05/2022.0024,942.86
31DISCOVER11/06/2022.0011,897.87
32DISCOVER11/04/2022.008,256.30
33DISCOVER11/08/2022.004,827.05
34DISCOVER11/09/2022.006,388.16
35DISCOVER11/10/2022.002,948.73
36DISCOVER11/07/2022.007,728.21
37Total.001,915,185.28
Card Type Summary
 
Upvote 0
Hi, the formulas in the linked table work well. I wrote the amounts randomly on the Booking and CashierDifferencesReport worksheets. My table has almost exactly the same formulas as your table. I have only one idea, that maybe there is a formatting problem in your table.

The formulas used in the table:
B6:
=SUMIFS('Card Type Summary'!$E:$E,'Card Type Summary'!$C:$C,">="&$B$2,'Card Type Summary'!$A:$A,$A6) (Range: B6:B10,B12)
C6: =(SUMIFS(Booking!$M:$M,Booking!$B:$B,">="&$B$2,Booking!$B:$B,"<="&$C$2,Booking!$F:$F,"Tender Type: AMERICAN EXPRESS"))*-1
C7: =(SUMIFS(Booking!$M:$M,Booking!$B:$B,">="&$B$2,Booking!$B:$B,"<="&$C$2,Booking!$F:$F,"*"&A7))*-1 (Range: C7:C10,C12)
D6: =(SUMIFS('Cashier Differences Report'!$J:$J,'Cashier Differences Report'!$G:$G,">="&$B$2,'Cashier Differences Report'!$G:$G,"<="&$C$2,'Cashier Differences Report'!$F:$F,A6)*-1) (Range: D6:D10,D12)
E6: =B6-C6+-D6 (Range: E6:E10,E12)
B14: =SUM(B6:B12) (Range: B14:E14)

CardTypeTotal.xlsx
 
Upvote 0

Forum statistics

Threads
1,214,798
Messages
6,121,636
Members
449,043
Latest member
farhansadik

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