Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Rollup the SUM of a column until last non empty Cell

Can any one help me resolve this issue?
I would like in Cell G5 for instance insert a formula that will rollup all
values beneath until last non empty Cell and generate that formula based on
the range found within the same column.

I found one related issue in the Forum but I tried to rollup the amount and
generate the Formula and I could not.

Your help will be very appreciated.

Thanks in advance!

Chuck
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default Rollup the SUM of a column until last non empty Cell

=sum(offset("G5",0,0,counta("G5:G65000"),1)

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Rollup the SUM of a column until last non empty Cell

Thanks Brian! but it is giving me an error.
It Says the Formula you typed contains an error.
I could not figure out where is the error?

Thanks!

"Brian Taylor" wrote:

=sum(offset("G5",0,0,counta("G5:G65000"),1)


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 246
Default Rollup the SUM of a column until last non empty Cell

Brain meant =sum(offset("G5",0,0,counta("G5:G65000"),1))

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Rollup the SUM of a column until last non empty Cell

that is almost what he meant. what he really meant was probably more like:

=sum(offset(G5,0,0,counta(G5:G65000),1))

--
Regards,
Tom Ogilvy


"GregR" wrote:

Brain meant =sum(offset("G5",0,0,counta("G5:G65000"),1))




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default Rollup the SUM of a column until last non empty Cell

Sorry. I don't know why I put quotes in there.

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default Rollup the SUM of a column until last non empty Cell

One way:

=SUM(G6:INDEX(G6:G1000,MATCH(FALSE,ISNUMBER(G6:G10 00),0)))

Array-entered, meaning after inserting the formula into G5, press ctrl +
shift + enter. Excel will place {} around the formula.

Change G1000 if needed.

HTH
Jason
Atlanta, GA

"Chuck H." wrote:

Can any one help me resolve this issue?
I would like in Cell G5 for instance insert a formula that will rollup all
values beneath until last non empty Cell and generate that formula based on
the range found within the same column.

I found one related issue in the Forum but I tried to rollup the amount and
generate the Formula and I could not.

Your help will be very appreciated.

Thanks in advance!

Chuck

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Rollup the SUM of a column until last non empty Cell

Thanks fellows! I have found that by removing the double quote and use the
formula as Brian provided, the formula works fine but have changed it as
below:
=SUM(OFFSET(G6,0,0,COUNTA(G6:G65000),1))
And this works perfectly.

Thank you very much to all!

Have a great weekend!

Chuck

"Jason Morin" wrote:

One way:

=SUM(G6:INDEX(G6:G1000,MATCH(FALSE,ISNUMBER(G6:G10 00),0)))

Array-entered, meaning after inserting the formula into G5, press ctrl +
shift + enter. Excel will place {} around the formula.

Change G1000 if needed.

HTH
Jason
Atlanta, GA

"Chuck H." wrote:

Can any one help me resolve this issue?
I would like in Cell G5 for instance insert a formula that will rollup all
values beneath until last non empty Cell and generate that formula based on
the range found within the same column.

I found one related issue in the Forum but I tried to rollup the amount and
generate the Formula and I could not.

Your help will be very appreciated.

Thanks in advance!

Chuck

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
Go To the next empty cell in Column A DaddyRay Excel Worksheet Functions 4 April 4th 23 11:27 AM
Go to last non-empty cell in column Fred Holmes Excel Discussion (Misc queries) 8 January 22nd 09 10:56 PM
find first empty cell in column and start transpose next row in that cell ali Excel Discussion (Misc queries) 6 July 21st 07 11:55 PM
VBA to copy to empty cell directly below a cell when analogous cells in different column have same value as each other? Steven Rosenberg Excel Programming 0 August 5th 03 06:10 AM
VBA to copy to empty cell directly below a cell when analogous cells in different column have same value as each other? SROSENYC Excel Programming 1 August 5th 03 04:34 AM


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