SumIf formula alteration.

asyamonique

Well-known Member
Joined
Jan 29, 2008
Messages
1,286
Office Version
  1. 2013
Platform
  1. Windows
Good Day,
If B:B column has dates entries all the way down with as the format of "1-Jan-2023" and B2 data is only month entry as "JANUARY"
What will be the alter on given formula below?
Thanks for the help.


Excel Formula:
=SUMIF(MASTER!B:B,B2,MASTER!D:D)
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Are you trying to sum D:D only if the month matches January, or something else?
 
Upvote 0
Actually fixed as below info.
Created helping column as numbered mnths.
Thx

Excel Formula:
=TEXT(D3, "mmmm")

Excel Formula:
=SUMIF(MASTER!A:A,B3,MASTER!E:E)
 
Upvote 0
The month is coerced within the formula to number; this may depend on your Regional Settings.

T202312a.xlsm
ABC
1
2January1769
3
7b
Cell Formulas
RangeFormula
C2C2=SUMIFS(Master!D:D,Master!B:B,">="&DATE(2023,MONTH(1&B2),1),Master!B:B,"<="&EOMONTH(DATE(2023,MONTH(1&B2),1),0))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,179
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