# SUM Text and apply numerical value

#### JackRegan

##### New Member
Data results measured as A, B, C or D. I am trying to dynamically turn these into a numerical range to run some maths against. (without using a helper column – which might be the easier way)

In laymans
• Count the number of [A|B|C|D] in Table column B, lookup [A|B|C|D] value in score table, score x count = total

Results from the the example below :
A = 8
B = 6
C = 4
D = 1

I think I am trying to combine SUMIFS & VLOOKUP – which is not working so well. Although I just came across XLOOKUP, currently reading.

Table

 Control 1 A Control 2 C Control 3 D Control 4 B Control 5 B Control 6 A Control 7 C

Score Table

 A 4 B 3 C 2 D 1

Thank you for looking.

### Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

#### Fluff

##### MrExcel MVP, Moderator
Hi & welcome to MrExcel.
Maybe
+Fluff 1.xlsm
ABCDE
1
2Control 1AA8
3Control 2CB6
4Control 3DC4
5Control 4BD1
6Control 5B
7Control 6A
8Control 7C
9
Lists
Cell Formulas
RangeFormula
E2E2=COUNTIFS(B:B,D2)*4
E3E3=COUNTIFS(B:B,D3)*3
E4E4=COUNTIFS(B:B,D4)*2
E5E5=COUNTIFS(B:B,D5)

#### JackRegan

##### New Member
Thank you ... When I came to implement I realised I'd asked the wrong question. I'll mark this as solved and ask again.

Ok,

Replies
10
Views
111
Replies
0
Views
115
Replies
1
Views
81
Replies
11
Views
131
Replies
0
Views
238

1,148,145
Messages
5,745,050
Members
423,917
Latest member
Frank1931

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

### Which adblocker are you using?

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

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