Sum a column of Income figures related to a text criteria in an adjacent column.

Gerry Hunt

New Member
Joined
Apr 10, 2021
Messages
11
Office Version
  1. 365
Platform
  1. Windows
I need a formula to examine Column “O” in my spreadsheet for the criteria “Apr-21” and then to enter an adjacent, related Column “J” and add up the monetary value for each instance of Apr-21 in Column “O” thereby providing a total value for Apr-21 in another cell – lets call it “INCOME C4”. I have used the following to no avail:
=SUMIF(CONSULTATIONS!O4:O200,"=Apr-21",CONSULTATIONS!J4:J200) but it just provides a monetary value figure for the first instance of Apr-21 in Column O.
If you can help - THANK YOU - so far Defeated.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Note the syntax for the criteria...you don't need the equals sign. Also, check for your date formats. Apr-21 is understood to be April 21, 2021...the current year.
MrExcel20210409.xlsm
JO
18
2
3Range to SumCriteria
411/1/2021
52
6321-Apr
74
854/21/2021
96
107
118
1294/21/2019
1310
CONSULTATIONS
Cell Formulas
RangeFormula
O1O1=SUMIF(O4:O13,"Apr-21",J4:J13)
 
Upvote 0
is this a date thats formatted as APR-21
and so many dates in APR , 1st to 30th
you may then need a SUMIFS()

=SUMIF(CONSULTATIONS!O4:O200,">=&"1-Apr-21",CONSULTATIONS!J4:J200)

=SUMIFS(CONSULTATIONS!J4:J200,CONSULTATIONS!O4:O200,">="&DATEVALUE("1-Apr-21"),CONSULTATIONS!O4:O200,"<="&DATEVALUE("30-Apr-21"))
 
Upvote 0

Forum statistics

Threads
1,216,099
Messages
6,128,820
Members
449,469
Latest member
Kingwi11y

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