Sum values of one column, so long as the date in another column is between a range

RobList

New Member
Joined
May 7, 2023
Messages
3
Office Version
  1. 2019
Platform
  1. Web
Hi,
I promised I have tried to do this myself, without success!!
I run a little airbnb business. I keep a simple spreadsheet of when the customer checks in and how much their booking is worth.
I want to do a simple tally so I can see at a glance how much revenue I'm making each month.
The check in date is in Column C, and the value of their booking is in column M. So for Feb I'm doing:
=SUMIFS(M2:M50,C2:C50,”>=2/1/2023”,$M$2:$M$50,”<=28/02/2022”)
(have tried DD/MM/YYYY formats too).

Can anyone help, I'd be very grateful!

Cheers
Rob
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Hi & welcome to MrExcel.
Shouldn't it be
Excel Formula:
=SUMIFS(M2:M50,C2:C50,">=2/1/2023",C2:C50,"<=28/02/2023")
 
Upvote 0
I've fixed it!!!
=SUMIFS($M$2:$M$50, $C$2:$C$50,">=2/1/2023", $C$2:$C$50,"<=2/28/2023")
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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