Add #, ignore text, in specific cells (not columns) plus percentages

MrSuperConfused

New Member
Joined
Nov 5, 2019
Messages
9
I have 11 cells to add that contain text and numbers. I only want to add the numbers, and if possible insert the sum into a cell that also contains text.

My other problem is creating a percentage using those 11 cells divided by 11 corresponding cells with only numbers to get the percentage in the another cell that also contains text.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Office 2013

Cells contain: “T: #”. I have to add those 11 cells into a cell that I want to contain, “T: answer” the answer should total 180.

For the percentages. It’s “U: #” divided by “#” and answer goes in cell containing “text - %”.
 
Upvote 0
What do you want the result to be if these are the entries

12
AT-14
Sam_23at57
87
 
Last edited:
Upvote 0
I have no idea seeing as how none of those are applicable.
Say all 11 cells contain T: 7.
No cells are next to each other in columns or rows.
I want to add all 11 cells and put the answer in a totals area.
I want the answer to look like T: 77
 
Upvote 0
Now for the percentages.

Each T and U cell has a corresponding total cell that does not contain a letter.

Example cell E4, U: 12, divided by cell C4, 19. (Or however excel does the math for percentages)

And insert the answer in cell B3 which contains TITLE - 63%
 
Upvote 0
If it's just a single letter followed by a colon, then a number. Something like this for the sum.

=SUM(IF(MID(A1:A100,2,1)=":",--MID(A1:A100,3,255)))

Confirm with CTRL-SHIFT-ENTER rather than just Enter.


Your division example:
="TITLE - "&TEXT(IF(MID(E12,2,1)=":",--(MID(E12,3,255)/C4),""),"0%")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,213,538
Messages
6,114,220
Members
448,554
Latest member
Gleisner2

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