SUMIF (This week without helper column)

jack109

Board Regular
Joined
May 10, 2020
Messages
50
Office Version
  1. 365
Platform
  1. Windows
Hi, I've tried searching but all the info I can find uses a helper column. Is there a way to use SUMIF or SUMIFS to return the sum of data from the current week (Week day starting Monday) without adding a helper column.

I've tried =SUMIF(D:D,WEEKNUM(TODAY(),2),AA:AA)


Any ideas? Im sure it simple but everything just returns zero.

Cheers
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
What is in col D?
MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
Column D is a list of dates in DD/MM/YYYY format.

I'll try and see if I can get the addin to work and post some data
 
Upvote 0
TIPSTER TRACKER.xlsx
CDEFG
3DATEPROFITP/L THIS WEEK0
425/10/21£14.00
525/10/21£16.50
625/10/21-£20.00
728/10/21-£35.00
829/10/21-£20.00
930/10/21£16.50
1031/10/21£21.20
1101/11/21£15.00
1201/11/21£8.30
1303/11/21-£10.00
1404/11/21£23.75
1504/11/21£13.50
1606/11/21£8.10
1708/11/21-£20.00
1808/11/21-£20.00
Sheet1
Cell Formulas
RangeFormula
G3G3=SUMIF(C:C,WEEKNUM(TODAY(),2),D:D)



I've streamlined my data for this, I'm sure if somebody can provide an answer, I'd can adapt it to work on my sheet.
 
Upvote 0
Ok, how about
Excel Formula:
=SUMIFS(D:D,C:C,">="&WORKDAY.INTL(TODAY()-1,1,"0111111"),C:C,"<"&WORKDAY.INTL(TODAY()-1,2,"0111111"))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,904
Messages
6,122,169
Members
449,070
Latest member
webster33

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