Convert a Letter to number

ef0rel1

New Member
Joined
Mar 2, 2011
Messages
7
Would like to Convert a Letters to numbers and total numbers in cell. Example (A1,A2,A3,=letter V), convert to numbers 1's and total in A4=numbers 3. I'm working on time sheet for work. thanks
 

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
Hi and Welcome to the board

Sounds like a pretty difficult way to do a timesheet, but I'd suggest posting a data sample.....see the 2nd line of my tag for downloading HTML maker, to post sample data.
At fist guess I'd maybe look at a VLOOKUP table where the letters and their numeric equivalents are stored.
 
Upvote 0
This formula you gave me worked fine but for only a few cell not for the group i have below =COUNTIF(A1:A4,"V") Here is example of what i'm trying to do.
=COUNTIF(B6:H6,N6:T6,Z6:AF6,AL6:AR6,AX6:BD6,BJ6:BP6,"V") Thanks for your help so far.
 
Upvote 0
If none of the cells between your groups will ever have just a V in them, don't create groups like that. Just use the whole row, e.g.

=COUNTIF(B6:BP6,"V")

If that won't work, perhaps:

=SUMPRODUCT((B6:H6="V")+(N6:T6="V")+(Z6:AF6="V")+(AL6:AR6="V")+(AX6:BD6="V")+(BJ6:BP6="V"))
 
Upvote 0
This formula worked fine Thanks!!

=SUMPRODUCT((B6:H6="V")+(N6:T6="V")+(Z6:AF6="V")+(AL6:AR6="V")+(AX6:BD6="V")+(BJ6:BP6="V"))

Could this formula be modified, say if count goes over 12, either the letter or cell would change to the color red.

Also how would you make a formula that would count only one item in a cell, example 8 * would like to count only the* with the ranges from the above formula.
 
Upvote 0
You can use conditional formatting on the cell with the formula to check if the value is greater than 12, and if so set the font or fill color to red.

As for your last question, please start a new thread.
 
Upvote 0
I'm using excel 2010, can you show what formula would look like and how it's added to the above formula, new to this.
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,730
Members
452,939
Latest member
WCrawford

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