PC Review


Reply
Thread Tools Rate Thread

Create formula referencing drop down list (data validation)

 
 
=?Utf-8?B?bWxkYW5jaW5n?=
Guest
Posts: n/a
 
      22nd Aug 2007
I have problem creating formula referencing a drop down list, can someone help?

Example:

In the drop down list, there are:

1-Below Average
2-Average
3-Good
4-Excellent

1 is given 1 point, 2 given 2 points, 3 given 3 points and 4 given 4 points.
Assume there are 3 drop down list, all drop down list has 3-Good.
So the mean should be (3+3+3)/3 = 3

How do I create a formula that will calculate the mean?

Thanks for your help.

 
Reply With Quote
 
 
 
 
Ragdyer
Guest
Posts: n/a
 
      22nd Aug 2007
Try this:

=SUMPRODUCT(--LEFT(A1:A3)/3)
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"mldancing" <(E-Mail Removed)> wrote in message
news:B35E3122-5C69-417F-9174-(E-Mail Removed)...
>I have problem creating formula referencing a drop down list, can someone
>help?
>
> Example:
>
> In the drop down list, there are:
>
> 1-Below Average
> 2-Average
> 3-Good
> 4-Excellent
>
> 1 is given 1 point, 2 given 2 points, 3 given 3 points and 4 given 4
> points.
> Assume there are 3 drop down list, all drop down list has 3-Good.
> So the mean should be (3+3+3)/3 = 3
>
> How do I create a formula that will calculate the mean?
>
> Thanks for your help.
>



 
Reply With Quote
 
Ragdyer
Guest
Posts: n/a
 
      22nd Aug 2007
Actually, with the divide by 3 (/3), the unary becomes unnecessary:

=SUMPRODUCT(LEFT(A1:A3)/3)
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"Ragdyer" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Try this:
>
> =SUMPRODUCT(--LEFT(A1:A3)/3)
> --
> HTH,
>
> RD
>
> ---------------------------------------------------------------------------
> Please keep all correspondence within the NewsGroup, so all may benefit !
> ---------------------------------------------------------------------------
>
> "mldancing" <(E-Mail Removed)> wrote in message
> news:B35E3122-5C69-417F-9174-(E-Mail Removed)...
>>I have problem creating formula referencing a drop down list, can someone
>>help?
>>
>> Example:
>>
>> In the drop down list, there are:
>>
>> 1-Below Average
>> 2-Average
>> 3-Good
>> 4-Excellent
>>
>> 1 is given 1 point, 2 given 2 points, 3 given 3 points and 4 given 4
>> points.
>> Assume there are 3 drop down list, all drop down list has 3-Good.
>> So the mean should be (3+3+3)/3 = 3
>>
>> How do I create a formula that will calculate the mean?
>>
>> Thanks for your help.
>>

>
>



 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      22nd Aug 2007
=SUM(IF(ISNUMBER(MATCH(G4:G7,{"Below
Average","Average","Good","Excellent"},0)),MATCH(G4:G7,{"Below
Average","Average","Good","Excellent"},0)))

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"mldancing" <(E-Mail Removed)> wrote in message
news:B35E3122-5C69-417F-9174-(E-Mail Removed)...
>I have problem creating formula referencing a drop down list, can someone
>help?
>
> Example:
>
> In the drop down list, there are:
>
> 1-Below Average
> 2-Average
> 3-Good
> 4-Excellent
>
> 1 is given 1 point, 2 given 2 points, 3 given 3 points and 4 given 4
> points.
> Assume there are 3 drop down list, all drop down list has 3-Good.
> So the mean should be (3+3+3)/3 = 3
>
> How do I create a formula that will calculate the mean?
>
> Thanks for your help.
>



 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      22nd Aug 2007
Forgot to add

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"mldancing" <(E-Mail Removed)> wrote in message
news:B35E3122-5C69-417F-9174-(E-Mail Removed)...
>I have problem creating formula referencing a drop down list, can someone
>help?
>
> Example:
>
> In the drop down list, there are:
>
> 1-Below Average
> 2-Average
> 3-Good
> 4-Excellent
>
> 1 is given 1 point, 2 given 2 points, 3 given 3 points and 4 given 4
> points.
> Assume there are 3 drop down list, all drop down list has 3-Good.
> So the mean should be (3+3+3)/3 = 3
>
> How do I create a formula that will calculate the mean?
>
> Thanks for your help.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Referencing data validation list in IF Statement PMarble Microsoft Excel Programming 2 15th Sep 2008 12:24 PM
Data Validation: How to create a dynamic range in column A and use itfor a drop-down list Mike C Microsoft Excel Discussion 2 23rd Mar 2008 02:07 AM
Re: Referencing a data validation list Gord Dibben Microsoft Excel Misc 1 19th Dec 2006 10:25 PM
Re: Referencing a data validation list T. Valko Microsoft Excel Misc 0 19th Dec 2006 08:04 PM
How to Create a macro from drop down list (Validation List) in excel rajashekar14@yahoo.com Microsoft Excel Programming 0 31st Oct 2006 12:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:20 PM.