LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Summing a column based on input in a cell

Try this...

Sheet1 A1:C1 = Jan, Feb, Mar
Sheet1 A2:C10 = H, M, L

H = High
M = Medium
L = Low

Sheet2 A1 = drop down list containing the selections Jan, Feb, Mar

How to create a drop down list:
http://youtube.com/watch?v=t2OsWJijrOM

Sheet2 A3:A4 = H, M, L

Enter this formula in Sheet2 B2 and copy down to B4:

=COUNTIF(INDEX(Sheet1!A$2:C$10,,MATCH(A$1,Sheet1!A $1:C$1,0)),A2)

--
Biff
Microsoft Excel MVP


"Taza" wrote in message
...
Hi everyone - I hope someone can help me with this problem.

I have a simple table, with say Jan, Feb and March as headers in columns
A,
B and C. Under each one, I have a list of defined text values (High,
Medium
and Low).

On a seperate sheet, I want to count the number of times High, Medium and
Low occurs for each month.

But the tricky thing is this. On the seperate sheet I want one cell where
the user can select the month of interest (Jan, Feb and March) and then I
want the results to change depending on the month selected.

Any help much appreciated.



 
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
run macro with input msg based on cell input Janelle S Excel Discussion (Misc queries) 0 January 20th 08 05:23 AM
summing column c based an column a criteria ndforty Excel Worksheet Functions 2 May 3rd 07 06:57 PM
summing numbers based on 2nd column John K Excel Worksheet Functions 3 August 7th 06 06:22 PM
Summing rows based on column headings DallasLDY Excel Worksheet Functions 1 March 8th 06 09:35 PM
Summing one column based on date in another column excel guru i'm not New Users to Excel 7 December 30th 05 08:39 PM


All times are GMT +1. The time now is 09:57 PM.

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

About Us

"It's about Microsoft Excel"