Sumif Criteria reference problem ?

amhedley

New Member
Joined
Jan 19, 2007
Messages
2
Have an excel problem here you might be able to help with. Thank you in advance. :rolleyes:

Sumif problem
=SUMIF(range, criteria,(sum_range))
The formulae works if the cell reference is written eg. =SUMIF(A8:A23,"<2006",C8:C23) but
not if cell referenced =SUMIF A8:A23,"<B8",C8:C23) any ideas how to solve this problem?

A / B / C
Range / Criteria /Sum_range
1 / 2006 /0.8
2 2007 1.0
3 2008 0.7
4 2009 1.0
5 2010 0.8
6 2011 0.4
7 2012 0.1
8 2013 0.2
9 2014 0.6
10 2015 0.5
11 2016 0.2
12 2017 0.7
13 2018 0.0
14 2019 0.6
15 2020 0.4
16 2021 0.7 :oops: :oops:
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Not sure how you are writing that (the html was turned on which can cause probs) but the following should be OK:

Code:
=SUMIF(A8:A23,"<" &$A$1,C8:C23)
 
Upvote 0

Forum statistics

Threads
1,214,927
Messages
6,122,309
Members
449,080
Latest member
jmsotelo

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