Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jeff
 
Posts: n/a
Default summing cells with variables

I need to sum a group of cells, but the column is
dependent on another equation. Therefore I know that I
want to sum from G1 and I know that I want to sum to the
13th row and kth column where k is a number that has been
calculated using the MATCH function.

Any help would be greatly appreciated.

Jeff
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Something like

=SUM(OFFSET(A13,,,MATCH("t",H1:H25,0)))

--

HTH

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


"jeff" wrote in message
...
I need to sum a group of cells, but the column is
dependent on another equation. Therefore I know that I
want to sum from G1 and I know that I want to sum to the
13th row and kth column where k is a number that has been
calculated using the MATCH function.

Any help would be greatly appreciated.

Jeff



  #3   Report Post  
jeff
 
Posts: n/a
Default

Bob,

thank you for the quick reply. This is almost exactly
it. The one difference is that this sums one row only, I
would like to sum across several ros (e.g. a-f). Any
ideas?

Jeff
-----Original Message-----
Something like

=SUM(OFFSET(A13,,,MATCH("t",H1:H25,0)))

--

HTH

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


"jeff" wrote in

message
...
I need to sum a group of cells, but the column is
dependent on another equation. Therefore I know that I
want to sum from G1 and I know that I want to sum to

the
13th row and kth column where k is a number that has

been
calculated using the MATCH function.

Any help would be greatly appreciated.

Jeff



.

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

Jeff,

I assume you mean columns, not rows? Try this then

=SUM(OFFSET(A13,,,MATCH("t",H1:H25,0),6))


--

HTH

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


"jeff" wrote in message
...
Bob,

thank you for the quick reply. This is almost exactly
it. The one difference is that this sums one row only, I
would like to sum across several ros (e.g. a-f). Any
ideas?

Jeff
-----Original Message-----
Something like

=SUM(OFFSET(A13,,,MATCH("t",H1:H25,0)))

--

HTH

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


"jeff" wrote in

message
...
I need to sum a group of cells, but the column is
dependent on another equation. Therefore I know that I
want to sum from G1 and I know that I want to sum to

the
13th row and kth column where k is a number that has

been
calculated using the MATCH function.

Any help would be greatly appreciated.

Jeff



.



  #5   Report Post  
 
Posts: n/a
Default

Just needed to swap the match function and the the 6 to
do what I needed.

thank you!
Jeff
-----Original Message-----
Jeff,

I assume you mean columns, not rows? Try this then

=SUM(OFFSET(A13,,,MATCH("t",H1:H25,0),6))


--

HTH

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


"jeff" wrote in

message
...
Bob,

thank you for the quick reply. This is almost exactly
it. The one difference is that this sums one row

only, I
would like to sum across several ros (e.g. a-f). Any
ideas?

Jeff
-----Original Message-----
Something like

=SUM(OFFSET(A13,,,MATCH("t",H1:H25,0)))

--

HTH

RP
(remove nothere from the email address if mailing

direct)


"jeff" wrote in

message
...
I need to sum a group of cells, but the column is
dependent on another equation. Therefore I know

that I
want to sum from G1 and I know that I want to sum to

the
13th row and kth column where k is a number that has

been
calculated using the MATCH function.

Any help would be greatly appreciated.

Jeff


.



.



  #6   Report Post  
Jeff
 
Posts: n/a
Default

Here is my attempt at this

=SUM('Resource Plan'!G4:OFFSET('Resource Plan'!G13,,,MATCH
(RatePeriod_1,ProjectTimeLine,1)))

where MATCH(RatePeriod_1,ProjectTimeLine,1)=17

but I end up with a value of 0. It should be 30.

Jeff




-----Original Message-----
Something like

=SUM(OFFSET(A13,,,MATCH("t",H1:H25,0)))

--

HTH

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


"jeff" wrote in

message
...
I need to sum a group of cells, but the column is
dependent on another equation. Therefore I know that I
want to sum from G1 and I know that I want to sum to

the
13th row and kth column where k is a number that has

been
calculated using the MATCH function.

Any help would be greatly appreciated.

Jeff



.

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
Summing some cells Jim Excel Worksheet Functions 1 February 17th 05 03:06 AM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Summing non consecutive cells csfrolich Excel Discussion (Misc queries) 12 January 9th 05 03:53 PM
Summing cells in Excel marilena Excel Worksheet Functions 0 November 7th 04 12:22 AM
Summing cells in Excel marilena Excel Worksheet Functions 0 November 6th 04 11:55 PM


All times are GMT +1. The time now is 07:15 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"