calculating formula

kare13

New Member
Joined
Aug 9, 2008
Messages
18
Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
<o:p></o:p>
I have a data validation list with text values, each text value theoretically has a numerical value. I need to calculate the theoretical value when a corresponding text value is chosen.<o:p></o:p>
Can anyone help?<o:p></o:p>
I.e. the text value is sometimes and carries a numerical value of 1. If I have several questions that are answered with the sometimes answer I need to calculate the total of all the answers. Thanks much<o:p></o:p>
 

Some videos you may like

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

jproffer

Well-known Member
Joined
Dec 15, 2004
Messages
2,643
Ten questions worth:

In B1:

Code:
=IF(A1="never",0,IF(A1="sometimes",1,IF(A1="always",2,"ENTRY ERROR")))

drag down to B10

in B11 (or wherever you would like your sum to be)

Code:
=SUM(B1:B10)

Questions are in column A.

EDIT: Also change the 0 and the 2 in the formula to whatever you want the value to be for the "other than sometimes" entries.
 

jproffer

Well-known Member
Joined
Dec 15, 2004
Messages
2,643
I'm just glad I was even somewhat CLOSE to what you wanted. I was guessing on the "always/never" parts...and on the values, but I see you got the general idea. :)

Glad it worked.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,217
Messages
5,594,887
Members
413,947
Latest member
gizmolucy

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
Top