Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dharsh
 
Posts: n/a
Default To Bob(regarding drop downs)- Pls reply

Thanks sooooo much for the prompt reply Bob.
I am not sure how I'd modify this to apply it to my
spread sheet.I'd really appreciate it if you could reply
to this one as well.

Say in Column B i have a couple of L and a couple of Ms
(first 4 rows). So when I add it up , it should give me
(1+1+2+2)=6. How will I change the equation you just gave
me to apply it to this column and rows?

Thanks in anticipation
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Here is one way for B2:B100, use

=SUMPRODUCT(((B2:B100="L")*1)+(B2:B100="M")*2+(B2: B100="H")*3)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Dharsh" wrote in message
...
Thanks sooooo much for the prompt reply Bob.
I am not sure how I'd modify this to apply it to my
spread sheet.I'd really appreciate it if you could reply
to this one as well.

Say in Column B i have a couple of L and a couple of Ms
(first 4 rows). So when I add it up , it should give me
(1+1+2+2)=6. How will I change the equation you just gave
me to apply it to this column and rows?

Thanks in anticipation



  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

.... or more simply

=SUMPRODUCT(((B2:B100={"L","M","H"})*{1,2,3}))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Dharsh" wrote in message
...
Thanks sooooo much for the prompt reply Bob.
I am not sure how I'd modify this to apply it to my
spread sheet.I'd really appreciate it if you could reply
to this one as well.

Say in Column B i have a couple of L and a couple of Ms
(first 4 rows). So when I add it up , it should give me
(1+1+2+2)=6. How will I change the equation you just gave
me to apply it to this column and rows?

Thanks in anticipation



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Refer to seperate workbook for validation list for drop downs? Dee Excel Discussion (Misc queries) 2 March 4th 05 07:50 PM
automatic color change in cells using a drop down list kennethwt Excel Worksheet Functions 1 January 21st 05 06:37 PM
Drop Downs Menus GBH99 Excel Worksheet Functions 4 December 10th 04 02:48 PM
Filling drop down box Nick Excel Discussion (Misc queries) 0 November 25th 04 07:49 PM
Drop List Referencing Boony Excel Worksheet Functions 2 November 11th 04 11:42 AM


All times are GMT +1. The time now is 11:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"