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>
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
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.
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,214,897
Messages
6,122,148
Members
449,066
Latest member
Andyg666

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