Sum Numbers Ignore Text, All Information in One Cell

Bosavon

New Member
Joined
Jul 13, 2024
Messages
13
Office Version
  1. 2021
Platform
  1. Windows
  2. Mobile
Hello!
Am having a Cell with (20K Mon, 28K Tue, 38K Wed) and need to sum those numbers without the use of VBA. And The sum Is to cover some blank Cells.. Pls help me how to do it without errors
Thanks in Advance!
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Are there always 3 numbers in you data or is there some variance?
 
Upvote 0
Hi,

1. 20K = 20000 or 'K' is only letter
2. after number is all time K or could be ...
3. 20+28+38 or 20000+28000+38000
 
Upvote 0
How about this formula (entered with CTRL+SHIFT+ENTER) for values in cell A2:A4:
Excel Formula:
{=SUM(LEFT(A2:A4,FIND("K ",A2:A4)-1)*1000)}
(Note that the "{" and "}" are not literally there, they are added when you enter the formula with CTRL+SHIFT+ENTER).

1721129710413.png
 
Upvote 0
How about this formula (entered with CTRL+SHIFT+ENTER) for values in cell A2:A4:
Excel Formula:
{=SUM(LEFT(A2:A4,FIND("K ",A2:A4)-1)*1000)}
(Note that the "{" and "}" are not literally there, they are added when you enter the formula with CTRL+SHIFT+ENTER).

View attachment 114140

Joe4,

All data are in one cell, not different cells
Am having a Cell with (20K Mon, 28K Tue, 38K Wed).....
 
Upvote 0
Joe4,

All data are in one cell, not different cells
Ah, I missed that subtle detail.
What a horrible data structure to have to try to work with!

I am sure someone may be able to come up with a solution. It is too bad this isn't on 365, where there are many new functions at your disposal to make this a bit easier.
But I am afraid I do not know of a good way to do it without VBA.
 
Upvote 0
Based on your prior thread, you're using 365. Try:
Excel Formula:
=SUM(--TEXTBEFORE(TEXTSPLIT(A2,","),"K"))
 
Upvote 0
Based on your prior thread, you're using 365.
If that is indeed the case, they need to update their account details.
They just registered 3 days ago, and marked that they are using 2013!

1721134333491.png


Please update your account details if that is really the case!
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,120
Members
451,399
Latest member
alchavar

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