Sumif different sheet

michae

New Member
Joined
Nov 23, 2013
Messages
18
Hi Guys,

Can anybody help me with this

I have Sheet 1 , Column C Dates which range 01-01-2017 to 30-09-2020 DD-MM-YYYY and I have Sheet 1, Colum K which is Total Values.

My Sheet 2, has rows which are represented by each month A2=Jan2017, A3= Feb2017 through to A46=Sept2020

What I want to do is to apply a date range on Sheet2 in B2 (all dates => 01-01-2017 & =< 31-01-2017) sum the corresponding values found from Column K in Sheet 1.

Apologies for being dense here but is a very long time since I have used Excel and would great appreciate if anyone can give me the formuls.

Thanks in Advance

Michael .Mazak
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

mrshl9898

Well-known Member
Joined
Feb 6, 2012
Messages
1,777
Assuming A2 is a date (01/01/2017)

=SUMIFS(Sheet1!K:K,Sheet1!A:A,">="&Sheet2!A2,Sheet1!A:A,"<="&EOMONTH(Sheet2!A2,0))
 

amritabansal

New Member
Joined
Oct 29, 2020
Messages
2
Office Version
  1. 2016
  2. 2013
  3. 2011
  4. 2010
  5. 2007
Platform
  1. Windows
Sumif

The SUMIF function is a worksheet function that adds all numbers in a range of cells based on one criteria

=Sumif(Range, Criteria, Sum_Range)

sumif 1.png




Sumifs


The SUMIFS function, one of the math and trig function, adds all of its arguments that meet multiple criteria.

=Sumifs(Sum_Range, Criteria_Range1, Criteria1, Criteria_Range2, Criteria2, ..)
sumifs 1.png
 

Watch MrExcel Video

Forum statistics

Threads
1,129,713
Messages
5,637,936
Members
416,993
Latest member
ant8989

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
Top