# sum of numbers behind a specific letter

#### IvoOvermars

##### New Member
Hi,

It's been a while since I did anything with excel and VBA so I am a bit rusty.

I have sheet with data in wich the value always consists of two digits. The first is always a letter (V, Z, T, S) and the second is always a number ranging from 1 to 9. So cells are filled with V1, T6, V4, S9 etcetc. On a different sheet I would like the sum of all numbers behind V, the sum of all numbers behind S etcetc. I know I have build a similar thing years ago but I can't find that file :s and I can't figure out how I did this back then. Can anyone help me or point me in the right direction?

Kind regards,

Ivo

### Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

#### Scott Huish

##### MrExcel MVP
Try this:

=SUM(IF(LEFT(Sheet1!A1:A1000)="T",RIGHT(Sheet1!A1:A1000)+0))

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

Substitute the "T" with your other letters for the other formulas.

Replies
1
Views
329
Replies
4
Views
430
Replies
0
Views
338
Replies
7
Views
316
Replies
21
Views
353

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,163,701
Messages
5,833,215
Members
430,197
Latest member
edeibold

### 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?

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