Are you able to give a letter a number value

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to give letters a number value so when sum a row or colume it
will reflect a number value even though there are letters..

Ex: X=5
A1 = X
A2 = X
A3 = SUM(A1:A2) A3 would reflect 10
 
maybe something along the lines of

=SUM(IF(ISNUMBER(MATCH(A1:A10,{"X","A","B"},0)),LOOKUP(A1:A10,{"A","B","X";5
,10,15})))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)
 
Bryon said:
I am trying to give letters a number value so when sum a row or colume it
will reflect a number value even though there are letters..

Ex: X=5
A1 = X
A2 = X
A3 = SUM(A1:A2) A3 would reflect 10

Put your 5 in a convenient cell (D1, for example), and having selected that
cell use Insert/ Name/ Define, and call it X.
Then in A1 and A2 you can put =X as you suggest.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top