[Solved] Assigning values to numbers-calclation method

Discuss the spreadsheet application
Post Reply
User avatar
chandrankrishnan
Posts: 63
Joined: Sat Mar 05, 2016 1:21 pm

[Solved] Assigning values to numbers-calclation method

Post by chandrankrishnan »

Hai
Good day to all,
Can any one help me to give a solution for assigning values to Alphabets.

Example:

if i type AB the value has to show as"3". BC means value has to be as "5".like this(A=1,B=2,C=3.........and so on)

Any method or formula can be used to achieve this.

(i tried myself by using method through Vlookup too.)
Last edited by Hagar Delest on Fri Mar 24, 2017 9:15 am, edited 1 time in total.
Reason: tagged [Solved].
OpenOffice 4.1.2 windows vista
FJCC
Moderator
Posts: 9271
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Assigning values to numbers-calclation method

Post by FJCC »

Will the input always be two characters?
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
User avatar
chandrankrishnan
Posts: 63
Joined: Sat Mar 05, 2016 1:21 pm

Re: Assigning values to numbers-calclation method

Post by chandrankrishnan »

No it will change.
OpenOffice 4.1.2 windows vista
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Assigning values to numbers-calclation method

Post by acknak »

You might try a search here; I'm pretty sure this has come up before. I believe there is a single large formula that will calculate a sum given any text.
 Edit: PS: 
Here is one previous discussion: viewtopic.php?f=9&t=86198

You may find more with a search for numerology or destiny
AOO4/LO5 • Linux • Fedora 23
User avatar
chandrankrishnan
Posts: 63
Joined: Sat Mar 05, 2016 1:21 pm

Re: Assigning values to numbers-calclation method

Post by chandrankrishnan »

Hai acknak,
Thanks for the feedback.
the formula given in previous discussions where the result is showing the count value,where i need is the sum value,what i need to change in formula.
Please advice me.
Formula:
MOD(SUMPRODUCT(MOD(CODE(UPPER(MID(SUBSTITUTE(A1;" ";"");ROW(OFFSET(INDIRECT("A1");0;0;LEN(SUBSTITUTE(A1;" ";""));1));1)))-CODE("A")+1;9)+IF(CURRENT()=0;9;0));9)+IF(CURRENT()=0;9;0)
OpenOffice 4.1.2 windows vista
User avatar
keme
Volunteer
Posts: 3703
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Assigning values to numbers-calclation method

Post by keme »

chandrankrishnan wrote:Hai acknak,
Thanks for the feedback.
the formula given in previous discussions where the result is showing the count value,...
No it does not. It gives the "iterated digit sum" of the raw sum you requested. To have the sum without reduction, just remove the MOD(...;9) constructs and the then unnecessary substitution of zero with 9.
=SUMPRODUCT(CODE(UPPER(MID(SUBSTITUTE(A1;" ";"");ROW(OFFSET(INDIRECT("A1");0;0;LEN(SUBSTITUTE(A1;" ";""));1));1)))-CODE("A")+1)
Last edited by keme on Fri Mar 24, 2017 4:40 pm, edited 1 time in total.
Apache OO 4.1.12 and LibreOffice 7.5, mostly on Ms Windows 10
User avatar
chandrankrishnan
Posts: 63
Joined: Sat Mar 05, 2016 1:21 pm

Re: Assigning values to numbers-calclation method

Post by chandrankrishnan »

Wow....thanks alot keme / acknak.

Its working fine.
OpenOffice 4.1.2 windows vista
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: [Solved] Assigning values to numbers-calclation method

Post by acknak »

Sorry, I thought the sum was what the previous poster was after, and I didn't check the formula carefully.
AOO4/LO5 • Linux • Fedora 23
Post Reply