LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Help? SUM row to a cell with a specific value in a different row

I am creating a grade sheet where I would like to SUM D5:Z5 on Sheet
1, up to the point where a "m" appears in row 1 on the same sheet.
This SUM will be used in a function in Sheet 2.

For example:
The letters in row 1 (table below) can vary. They represent:
a = assignment
q = quiz
m = midterm

Sheet 1 (currently labeled "Input Student Grades") looks like this:


A B C D E F G H .....
1 a q a a q m a q
2
3
4
5 10 20 10 10 20 10 35 45


Since the "m" appears in Column "F" (cell F1), I would like the SUM to
stop at, and possibly include F5 (depending on which value I am
adding).

The values in row 1 are in a data validation drop-down, so the "m" can
essentially appear anywhere from A1 to Z1.

I am trying to calculate a midterm grade in a sheet where there can be
any number of assignments or quizzes before the midterm.

This SUM will be used in a calculation on Sheet 2 (now called
"Summary").

What I am ultimately trying to accomplish is:
SUM up all the values from A5:Z5 where "a" appears in row 1 (ie,
A5+C5+D5=30),
SUM up all the values from A5:Z5 where "q" appears in row 1 (ie,
B5+E5=40)
....and so on.


I am looking for a purely "excel" solution. I am sure there is a VB
solution, but VB is a little beyond my expertise right now.

Any help you could provide would be appreciated.

Thanks!

 
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
Not allowing to continu unless a specific cell has specific answer madubois9 Excel Discussion (Misc queries) 3 October 25th 07 12:45 AM
Link to specific cell in specific Excel file JeroenM Excel Discussion (Misc queries) 3 July 6th 07 10:08 AM
Link from a specific Cell in Excel to a specific para. in Word CathyK Excel Worksheet Functions 0 August 10th 06 04:40 PM
Highlight a row if a specific cell is specific numbers/words sea0221 Excel Worksheet Functions 2 March 9th 05 12:06 AM
How do I make a cell date specific to input a value on a specific. ebuzz13 Excel Discussion (Misc queries) 1 January 18th 05 05:53 PM


All times are GMT +1. The time now is 08:54 AM.

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"