Help/guidance needed on nested Sumif formula condition range

MJ Erasmus

New Member
Joined
Jan 20, 2023
Messages
4
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
  3. Web
Hi,

I am busy creating a "Live sheet" for the team to track progress in real-time.

this sheet is hosted on our SharePoint and thus eliminates the possibility to use VBA scripting which in all fairness would work best here.

I broke the link and added dummy data so that I can post it here.

currently, the summary works but I need to use additional rows to extract and refine data which I am trying to get rid of.

I tried searching online but for the life of me I cannot see if this is actually possible or not hence I am resorting to ask the experts here.

I am essentially trying to get the condition range of the formula broken down to either the month or the week number before it evaluates the rest of the statement.

=SUMIFS($C$4:$O$4,$C$2:$O$2,"="&NUMBERVALUE(RIGHT(D10,LEN(D10)-5)))

basically what I am trying to achieve and the simplest way to explane is to have it something like this. =SUMIFS($C$4:$O$4,weeknum($C$3:$O$3),"="&NUMBERVALUE(RIGHT(D10,LEN(D10)-5)))

Sales Specialist Tracker - Summary.2.xlsx
BCDEF
1Month2222
2Week5556
301-Feb02-Feb03-Feb06-Feb
4Total Meetings891
5Total Quoted151
6Total Quoted MRCR 1 698.84R 20 000.00R 500.00
7Total MRCR 1 698.84R 30 000.00R 5 000.00
8
9
10Week 5Week 6Week 7Week 8
11Total Meetings17100
12Total Quoted6100
13Total Quoted MRCR 21 698.84R 500.00R -R -
14Total MRCR 31 698.84R 5 000.00R -R -
15
16JanFebMarApr
17Total Meetings01800
18Total Quoted0700
19Total Quoted MRCR -R 22 198.84R -R -
20Total MRCR -R 36 698.84R -R -
Chart tracker (2)
Cell Formulas
RangeFormula
C1:F1C1=MONTH(C3)
C2:F2C2=WEEKNUM(C3)
C3:F3C3='Daily Tracker - Summary'!C1
B4:B7B4='Daily Tracker - Summary'!B34
C11:F11C11=SUMIFS($C$4:$O$4,$C$2:$O$2,"="&NUMBERVALUE(RIGHT(C10,LEN(C10)-5)))
C12:F12C12=SUMIFS($C$5:$O$5,$C$2:$O$2,"="&NUMBERVALUE(RIGHT(C10,LEN(C10)-5)))
C13:F13C13=SUMIFS($C$6:$O$6,$C$2:$O$2,"="&NUMBERVALUE(RIGHT(C10,LEN(C10)-5)))
C14:F14C14=SUMIFS($C$7:$O$7,$C$2:$O$2,"="&NUMBERVALUE(RIGHT(C10,LEN(C10)-5)))
C17:F17C17=SUMIFS($C$4:$O$4,$C$1:$O$1,"="&NUMBERVALUE(MONTH(C16)))
C18:F18C18=SUMIFS($C$5:$O$5,$C$1:$O$1,"="&NUMBERVALUE(MONTH(C16)))
C19:F19C19=SUMIFS($C$6:$O$6,$C$1:$O$1,"="&NUMBERVALUE(MONTH(C16)))
C20:F20C20=SUMIFS($C$7:$O$7,$C$1:$O$1,"="&NUMBERVALUE(MONTH(C16)))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C4:O7Expression=C$3=TODAY()textNO
C4:O7Expression=WEEKNUM(C$3)=WEEKNUM(TODAY())textNO
C3:O3Expression=C$3=TODAY()textNO
C3:O3Expression=WEEKNUM(C$3)=WEEKNUM(TODAY())textNO
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
How about
Excel Formula:
=SUMPRODUCT((WEEKNUM(--C3:O3)=--(RIGHT(C10,2)))*(C4:O4))
 
Upvote 1
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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