Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Using range with INDIRECT and ROW()

I am setting up a spreadsheet that with add columns in a row, but need
it to be applicable to various rows, I hacked this formula together so
far:
=SUM(INDIRECT("A"&ROW()), INDIRECT("B"&ROW()), INDIRECT("C"&ROW()),
INDIRECT("D"&ROW()), INDIRECT("E"&ROW()))
Anyone have a suggestion how to improve this formula?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Using range with INDIRECT and ROW()

This will do the same thing:

=SUM(INDEX(A:E,ROW(),))

--
Biff
Microsoft Excel MVP


"Paranormal Gravy" wrote in message
...
I am setting up a spreadsheet that with add columns in a row, but need
it to be applicable to various rows, I hacked this formula together so
far:
=SUM(INDIRECT("A"&ROW()), INDIRECT("B"&ROW()), INDIRECT("C"&ROW()),
INDIRECT("D"&ROW()), INDIRECT("E"&ROW()))
Anyone have a suggestion how to improve this formula?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 211
Default Using range with INDIRECT and ROW()

Could you please explain what do you want to do?

"Paranormal Gravy" wrote:

I am setting up a spreadsheet that with add columns in a row, but need
it to be applicable to various rows, I hacked this formula together so
far:
=SUM(INDIRECT("A"&ROW()), INDIRECT("B"&ROW()), INDIRECT("C"&ROW()),
INDIRECT("D"&ROW()), INDIRECT("E"&ROW()))
Anyone have a suggestion how to improve this formula?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Using range with INDIRECT and ROW()

On Jan 30, 9:43*pm, "T. Valko" wrote:
This will do the same thing:

=SUM(INDEX(A:E,ROW(),))

--
Biff
Microsoft Excel MVP

"Paranormal Gravy" wrote in message

...

I am setting up a spreadsheet that with add columns in a row, but need
it to be applicable to various rows, I hacked this formula together so
far:
=SUM(INDIRECT("A"&ROW()), INDIRECT("B"&ROW()), INDIRECT("C"&ROW()),
INDIRECT("D"&ROW()), INDIRECT("E"&ROW()))
Anyone have a suggestion how to improve this formula?


That worked perfectly, thank you so much.
And all I want to do is create a formula that can be "copied and
pasted" into multiple cells in a column to add up the previous
columns, without having to change the formula for each row.
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Using range with INDIRECT and ROW()

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Paranormal Gravy" wrote in message
...
On Jan 30, 9:43 pm, "T. Valko" wrote:
This will do the same thing:

=SUM(INDEX(A:E,ROW(),))

--
Biff
Microsoft Excel MVP

"Paranormal Gravy" wrote in message

...

I am setting up a spreadsheet that with add columns in a row, but need
it to be applicable to various rows, I hacked this formula together so
far:
=SUM(INDIRECT("A"&ROW()), INDIRECT("B"&ROW()), INDIRECT("C"&ROW()),
INDIRECT("D"&ROW()), INDIRECT("E"&ROW()))
Anyone have a suggestion how to improve this formula?


That worked perfectly, thank you so much.
And all I want to do is create a formula that can be "copied and
pasted" into multiple cells in a column to add up the previous
columns, without having to change the formula for each row.


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
Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions Mike Barlow Excel Worksheet Functions 7 May 21st 23 07:42 PM
Using Indirect to set a range Dkline Excel Worksheet Functions 3 August 11th 08 04:04 PM
using indirect to sum range Edward Excel Worksheet Functions 4 September 17th 07 04:35 PM
Indirect Range [email protected] Excel Worksheet Functions 0 September 28th 05 05:01 PM
Indirect range in SUMPRODUCT? BobT Excel Discussion (Misc queries) 2 February 16th 05 08:51 PM


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