SUM numbers on cells containing specific text.

78459430

New Member
Joined
Apr 1, 2022
Messages
15
Office Version
  1. 365
  2. 2021
Platform
  1. MacOS
Hello,

I am trying to SUM only the value (in USD) of a cell that also contains a specific text. Please help, I ran out of ideas :)
Here below a screen-shot of my cells.
 

Attachments

  • Screen Shot 2022-04-01 at 17.43.25.jpg
    Screen Shot 2022-04-01 at 17.43.25.jpg
    94.5 KB · Views: 36
Aside from MacOs or WindowsOs, do you think of any alternative to this formula? Thank you 🙏
 
Upvote 0

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
What about

78459430.xlsm
AB
1Extras8000
2$980 (check 5/1/2019)
3$1,585 (check 8/1/2019)
4$2,000 (check 12/1/2020)
5$50,588 (check 4/1/2021)
6Extras2000
7$189,845 (check 2/1/2022)
8$15 (check 2/11/2022)
9
10Result
1120192565
1220202000
13202150588
142022189860
1520230
Sheet1
Cell Formulas
RangeFormula
B11:B15B11=LET(f,FILTER(SUBSTITUTE(B1:B8,"$",""),RIGHT(B1:B8,6)="/"&A11&")","0 "),SUM(LEFT(f,FIND(" ",f))+0))
 
Upvote 0
What about

78459430.xlsm
AB
1Extras8000
2$980 (check 5/1/2019)
3$1,585 (check 8/1/2019)
4$2,000 (check 12/1/2020)
5$50,588 (check 4/1/2021)
6Extras2000
7$189,845 (check 2/1/2022)
8$15 (check 2/11/2022)
9
10Result
1120192565
1220202000
13202150588
142022189860
1520230
Sheet1
Cell Formulas
RangeFormula
B11:B15B11=LET(f,FILTER(SUBSTITUTE(B1:B8,"$",""),RIGHT(B1:B8,6)="/"&A11&")","0 "),SUM(LEFT(f,FIND(" ",f))+0))
YES!!! Amazing, thank you so much! Life saver :)
 
Upvote 0
One last issue... this formula also is getting the same error #VALUE!
See example here below.
I need to sum ONLY cells containing the word INCOMING (the result on CELL B11 should be $1,000)


Book1
AB
1Extras8000
2$500 incoming
3$1,585 (check 8/1/2019)
4$2,000 (check 12/1/2020)
5$500 incoming
6Extras2000
7$189,845 (check 2/1/2022)
8$15 (check 2/11/2022)
9
10Result
1120190
1220202000
1320210
142022189860
1520230
Sheet1
Cell Formulas
RangeFormula
B11B11=LET(f,FILTER(B1:B8,ISNUMBER(SEARCH(incoming,B1:B8)),"0 "),SUM(LEFT(f,FIND(" ",f))+0))
B12:B15B12=LET(f,FILTER(SUBSTITUTE(B2:B9,"$",""),RIGHT(B2:B9,6)="/"&A12&")","0 "),SUM(LEFT(f,FIND(" ",f))+0))
 
Upvote 0
the result on CELL B11 should be $1,000
I can't see what, if anything, 2019 in A11 has to do with that result, but the first thing to try would be to put double quote marks around "incoming"
Excel Formula:
=LET(f,FILTER(B1:B8,ISNUMBER(SEARCH("incoming",B1:B8)),"0 "),SUM(LEFT(f,FIND(" ",f))+0))
 
Upvote 0
Hi @Peter_Simone sorry I missed the " but the issue still exists.
Any other way around?

Book2
AB
1Extras8000
2$15,500 incoming
3$1,585 (check 8/1/2019)
4$2,000 (check 12/1/2020)
5$500 incoming
6Extras2000
7$189,845 (check 2/1/2022)
8$15 (check 2/11/2022)
9
10Result
112019#VALUE!
1220202000
1320210
142022#VALUE!
152023#VALUE!
Sheet1
Cell Formulas
RangeFormula
B11B11=LET(f,FILTER(B1:B8,ISNUMBER(SEARCH("incoming",B1:B8)),"0 "),SUM(LEFT(f,FIND(" ",f))+0))
B12:B15B12=LET(f,FILTER(SUBSTITUTE(B2:B9,"$",""),RIGHT(B2:B9,6)="/"&A12&")","0 "),SUM(LEFT(f,FIND(" ",f))+0))
 
Upvote 0
I assume that the $ sign is the issue as it appeared to be with the other formulas so let's try removing it just as we did with them.

Excel Formula:
=LET(f,FILTER(SUBSTITUTE(B1:B8,"$",""),ISNUMBER(SEARCH("incoming",B1:B8)),"0 "),SUM(LEFT(f,FIND(" ",f))+0))
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,191
Members
453,021
Latest member
pingpong7117

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