Text to Number dart scoreboard

brian7mcdee

New Member
Joined
Nov 12, 2012
Messages
2
Hi

I've had a good search of the forum regarding this problem. There are a few threads about dart scoreboards but none that match what I'm thinking of.

Basically, I've been trying to figure out a way that I can input in three columns what each dart scores in text so it returns the total value of the three darts which is then subtracted from the cell above in the fourth:

EG: (T=Treble D=Double S=Single)

Dart 1Dart 2Dart 3501
T20D5S1430
S20S5S1404

<tbody>
</tbody>

A friend suggested VLOOKUP but that has confused me more. Any help/pointers would be gratefully appreciated. Thanks.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi
In cell D2 try this formula:
=D1-(IF(LEFT(A2,1)="T",3*MID(A2,2,LEN(A2)-1),IF(LEFT(A2,1)="D",2*MID(A2,2,LEN(A2)-1),MID(A2,2,LEN(A2)-1)+0))+IF(LEFT(B2,1)="T",3*MID(B2,2,LEN(B2)-1),IF(LEFT(B2,1)="D",2*MID(B2,2,LEN(B2)-1),MID(B2,2,LEN(B2)-1)+0))+IF(LEFT(C2,1)="T",3*MID(C2,2,LEN(C2)-1),IF(LEFT(C2,1)="D",2*MID(C2,2,LEN(C2)-1),MID(C2,2,LEN(C2)-1)+0)))

Vidar
 
Upvote 0
You can do this with a name
Name: mySum
RefersTo: =EVALUATE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(Sheet1!$A1&"+"&Sheet1!$B1&"+"&Sheet1!$C1,"T","3*"),"D","2*"), "S", "1*"))

Since this uses relative addressing, a cell in row 1 should be active when entering the name definition.
Then putting =mySum in a cell will return the sum of columns A,B,C of that row.
 
Upvote 0

Forum statistics

Threads
1,215,444
Messages
6,124,891
Members
449,194
Latest member
JayEggleton

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