sumifs returning 0 instead of value

Mr2017

Well-known Member
Joined
Nov 28, 2016
Messages
644
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi

I'm trying to write a SUMIFS formula that returns the Quantity total of the ItemSKU numbers in the 10000 range in the data below.

The data starts in cell A4 ie CustomerID is in cell A4 and UnitPrice is in cell D4.

I've tried two different formulae, but neither of them worked.

Does anyone know how I should amend the formula, please?

Version 1 of the formula I wrote was =SUMIFS($C$5:$C$24,$B$5:$B$24,">=10000,<=20000")

And version 2 was =SUMIFS($C$5:$C$24,$B$5:$B$24,">=10000"&"<=20000")

Thanks in advance!

CustomerIDItemSKUQuantityUnitPrice
87258011234510010.5
882526823456222.5
8048929589109317.5
8032245111212122.5
8147770314151217.5
8836323161711620
828639981920408.75
8243640212222121.89
82008813242512.0
815812226272689.0
811536382930450.0
8072604313233338.3
802984533435050.8
7987086363731054.7
794432783940058.7
7901567414242162.7
7858808344452666.6
781604946474070.6
7773290849503774.5
773053151525078.5

<colgroup><col span="4"></colgroup><tbody>
</tbody>
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi,

The syntax for the SUMIFS should be:


Book1
ABCDEF
4CustomerIDItemSKUQuantityUnitPrice
587258011234510010.5137
6882526823456222.5
78048929589109317.5
88032245111212122.5
98147770314151217.5
108836323161711620
11828639981920408.75
128243640212222121.89
1382008813242512
14815812226272689
15811536382930450
168072604313233338.3
17802984533435050.8
187987086363731054.7
19794432783940058.7
207901567414242162.7
217858808344452666.6
22781604946474070.6
237773290849503774.5
24773053151525078.5
Sheet474
Cell Formulas
RangeFormula
F5=SUMIFS($C$5:$C$24,$B$5:$B$24,">=10000",$B$5:$B$24,"<=20000")
 
Upvote 0
Ok, that's great - that worked! Thank you jtakw!
 
Upvote 0

Forum statistics

Threads
1,215,417
Messages
6,124,777
Members
449,187
Latest member
hermansoa

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