Sum Range based on single cell date

epicstandard

New Member
Joined
Apr 10, 2025
Messages
1
Office Version
  1. 2011
Platform
  1. Windows
Good morning and thank you for the help.

- In Cell F1, date is 4/7/2025
- In Cells F2:F7, are random values
- In Cell G1, I want to Sum range F2:F7, if the date in F1 is greater than or equal to 4/7/2025, but less than or equal to 4/14/2025

The problem run into is everything I find wants to look at a range of dates, I just need to evaluate that single cell and if it falls between 2 dates, add cells F2:F7

Thank you!
 
how about something like

=IF(AND(F1>=datevalue("4/7/2025"),F1<=datevalue("4/14/2025")),sum(F2:F7),"")

i suspect i'm not understanding exactly what you are after

also version of excel - i dont think 2011 is on a windows system possible OSX (Mac) - 2010,2013.2016 ,2019 , 2021,2024 365

Therefore -

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

This will possibly enable a quicker and more accurate solution for you.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
 
Upvote 0

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