Sum formula with criteria

Gonney

New Member
Joined
Jul 28, 2022
Messages
19
Office Version
  1. 365
Platform
  1. Windows
Hi Team,
I've been having issues getting this one sorted, I'm on Excel 365 now. I have been trying to take the amount from A2:A8 with the below formula criteria,using the below formula i thought it would work, however i believe that excel is having issues with using a number as a wild card. However the Number at the start is all i care about as there could be multiple different numbers starting with a 1 , 2, 3, 4, etc and these come at different lengths as well.

=SUMIFS($A$2:$A$8, $B$2:$B$8, "2*", $C$2:$C$8, "P")
^ Above is looking to be placed in G fields.

Any suggestions would be appreciated.
 

Attachments

  • Capturerequst.JPG
    Capturerequst.JPG
    31.3 KB · Views: 10

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
I'm on Excel 365 now
In that case I suggest you change your profile to show this. ;)

How about
Excel Formula:
=sum(filter($A$2:$A$8,(left($B$2:$B$8,1)="2")*($C$2:$C$8="P")))
 
Upvote 1
Solution
In that case I suggest you change your profile to show this. ;)

How about
Excel Formula:
=sum(filter($A$2:$A$8,(left($B$2:$B$8,1)="2")*($C$2:$C$8="P")))

Updated in profile :).

Thank you for all the support Fluff <3 you got me heading down the right road <3.
 
Last edited:
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,201
Members
453,022
Latest member
RobertV1609

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