Count number of entries and sum

Muthukrishnan V

Active Member
Joined
May 29, 2008
Messages
297
Office Version
  1. 365
Platform
  1. Windows
Number of entries.xlsx
ABCDEFG
1
2Excel 365
3Columns B to G Numericals
4AmountFromToNo.of entriesTotal Amount
540105004971
671850110001718
7207411001200023138
887002001500000
913500110000326420
101459100011500000
114781500120000115756
12157562000125000241541
13208002500150000134007
1488195000100
151679
168901
1779
1834007
1912255114122551
20
21From Column B, I want to accomplish Columns F and G with formula.
22Kindly help me with Formula for Columns F and G. Thanks
Sheet1
Cell Formulas
RangeFormula
B19,F19:G19B19=SUM(B5:B18)
 
Based on Column B, I want to accomplish Colimns F and G with formula.
Kindly help me with formula for columns F and G.
Thanking you.
 
Upvote 0
SUMIFS and COUNTIFS should work?

Book1
ABCDEFG
1
2Excel 365
3Columns B to G Numericals
4AmountFromToNo.of entriesTotal Amount
540105004971
671850110001718
7207411001200023138
887002001500000
913500110000326420
101459100011500000
114781500120000115756
12157562000125000241541
13208002500150000134007
1488195000100
151679
168901
1779
1834007
1912255114122551
Sheet1
Cell Formulas
RangeFormula
F5:F14F5=COUNTIFS($B$5:$B$18,">="&$D5,$B$5:$B$18,"<="&IF($E5<>"",$E5,1E+23))
G5:G14G5=SUMIFS($B$5:$B$18,$B$5:$B$18,">="&$D5,$B$5:$B$18,"<="&IF($E5<>"",$E5,1E+23))
B19,F19:G19B19=SUM(B5:B18)
 
Upvote 1
Solution
Thank you Mr Anonymous Sir. Works great. What is 1E+23 in G column formula Sir?
It's just scientific notation for 100,000,000,000,000,000,000,000, a really high number which you probably will not be using in the "From" field, as the blank in the "To" field wouldn't work very well.
 
Upvote 0

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