Formula Help

jahaynes

New Member
Joined
May 16, 2024
Messages
11
Office Version
  1. 365
Platform
  1. Windows
I am trying to get the sum expenses on 25 sheets with specific data in a certain column. so say all 25 sheets have the data in column D that I want a total of and look for anything in column C that contains "7605". These numbers in column C could be from 760500-760599. Is it possible to do this? I have tried these formulas and they return 0, but the total should be 55,025.81

=SUMIFS(Atlanta!D:D,Atlanta!$C:$C,"*"&C2&"*")
=SUMIFS(Atlanta!D:D,Atlanta!C:C,"<="&C2,Atlanta!C:C,">="&C2)

this is just trying to get the formula to work with one sheet before trying to add the other 24 to the range.

Can this be done?
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
So do you only want to sum Col D if Col C has that "7605" inside it ?

thanks
Rob
 
Upvote 0
I want it to sum if it contains because it could the 760510, 760515, 760520, etc. I need the totals for all cells in C that contain those first 4 numbers
 
Upvote 0
Hi & welcome to MrExcel.
If col C are all numbers from 760500 to 760599 then they all match your criteria.
 
Upvote 0
1715868437235.png


This is what is in those columns and the formulas I used returned 0

1715868556139.png
 

Attachments

  • 1715868502580.png
    1715868502580.png
    5 KB · Views: 12
Upvote 0
How about
Excel Formula:
=SUMIFS(Atlanta!D:D,Atlanta!$C:$C,"<>")
 
Upvote 0
Try;
Excel Formula:
=SUMIFS(D:D,C:C,">=760500",C:C,"<=760599")
?
 
Upvote 0
Why do you need to do that if all numbers are between those limits?
Did you try what I suggested?
 
Upvote 0
I am trying to get the sum expenses on 25 sheets with specific data in a certain column. so say all 25 sheets have the data in column D that I want a total of and look for anything in column C that contains "7605". These numbers in column C could be from 760500-760599. Is it possible to do this? I have tried these formulas and they return 0, but the total should be 55,025.81

=SUMIFS(Atlanta!D:D,Atlanta!$C:$C,"*"&C2&"*")
=SUMIFS(Atlanta!D:D,Atlanta!C:C,"<="&C2,Atlanta!C:C,">="&C2)

this is just trying to get the formula to work with one sheet before trying to add the other 24 to the range.

Can this be done?

Rather than expressing your data as text it would be easier if you expressed them as numbers. Try this formula:

Excel Formula:
=SUMIFS(D:D, C:C, ">=760500", C:C, "<=760599")
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

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