Sumif i have a start date and an end date but i want to sum one day in between those days.

Waffles255

New Member
Joined
Mar 30, 2019
Messages
26
Office Version
  1. 2019
Hi, I am a bit slow today I would like to do the following :

Source Data As Follow:
------------------------------Start Date-----End Date-----NUmber People---Camp Site-----Course
Course 1 Duration From 01/05/2020 - 20/05/2020-----------18-------------MAKU---------Course1
Course 2 Duration From 01/05/2020 - 10/08/2020-----------23--------------Selatu-------- Course 2
Course 3 Duration From 08/05/2020 - 30/09/2020------------33-------------Makado----Course 3
Course 4 Duration From 01/05/2020 - 03/05/2020------------4---------------Maku---------Course 4


What i would like to do is make a table of the number of people in a camp on every day as per the following :
---------------- MAKU---Selatu---Makado
01/05/2020 =18+4
02/05/2020
03/05/2020
04/05/2020

SO i want to sum the number of people in camp on that specific day for example on the 01/05/2020 there were 18 + 4 People in Maku Camp
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Can you please post your data using the XL2BB add-in?

Also please update your account details to show what version of Excel you are using, as that affects what functions you have.
Thanks
 
Upvote 0
sales report Alan.xlsx
ABCDE
9Start DateEnd DatePeopleCamp Site
10Course 101/05/202020/05/202018Maku
11Course 201/05/202010/08/202023Selatu
12Course 308/05/202030/09/202033Makado
13Course 401/05/202003/05/20204Maku
Sheet18



sales report Alan.xlsx
ABCD
2MakuSelatuMakado
301-Jul-20
402-Jul-20
503-Jul-20
Sheet17
 
Upvote 0
Thanks for that
How about
+Fluff New.xlsm
ABCDEFGHIJ
1
2SelatuKarongweCampMakuBotswanaPridelandsKenyaOther VenuesOnline
301/05/202023002200000
402/07/20202300000000
503/07/20202300000000
Data
Cell Formulas
RangeFormula
B3:J5B3=SUMIFS(Sheet18!$D$10:$D$13,Sheet18!$B$10:$B$13,"<="&$A3,Sheet18!$C$10:$C$13,">="&$A3,Sheet18!$E$10:$E$13,B$2)


Note the headers need to match the values in col E
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,918
Members
449,093
Latest member
dbomb1414

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