# SUMIF formula that calculates the criteria between a number range

Options
✭✭✭

Having a blank mental moment. I am trying to create a sum if formula to total all of the "medium" priorities using a range of numbers. High is fine as i just did a greater or equal to (>=) and likewise (<=) for the low. When I get to the medium priority, I can't work out how to do an "in between".

Below is a screen shot of what I am working on and where the formula is up to.

=SUMIF(Score:Score, >=27, [Requested Amount]:[Requested Amount])

What do I put after the 27? Number range finishes at 53.

Many thanks!!

Tash

• ✭✭✭✭✭✭
Options

Try...

=SUMIFS([Requested Amount]:[Requested Amount], Score:Score, AND(@cell >= 27, @cell <= 53))

• Options

Hi Natasha,

Try with the SUMIFS function instead:

=SUMIFS([Requested Amount]:[Requested Amount], Score:Score, >=27,Score:Score, <=53).

Have a nice day,

Mathieu | Workflow Consultant

info@evolytion.com

• ✭✭✭
Options

Thanks @Paul Newcome & @Mathieu PERSICO, they both worked perfectly.

I keep thinking I understand the @cell well but often have trouble thinking how to use it effectively in a formula. I will keep trying! Thanks for your help :)

• ✭✭✭✭✭✭
Options

The @cell reference basically tells the formula to evaluate the previously established range one cell at a time.

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!