Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Finding last cell with a value and then adding to another

I need help in writing a formula that will lookup the last value in a column
and then add that value with the value in another cell where you have several
rows in between that are null.

A
1 10
2 14
3 =A1 + A2
4
5 IF(A4 = 0, "", A3 + A4)
6
7 IF(A6 = 0, "", A6 + A7)
8
9 =IF(A8=0,"",IF(A80, SUMIF(A7,"0",A7:A8), A5+A8))


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Finding last cell with a value and then adding to another

=LOOKUP(99^99,A:A) + cellref

Where cellref is "another cell"


Gord Dibben MS Excel MVP

On Wed, 27 Aug 2008 12:58:08 -0700, KoolyHigh
wrote:

I need help in writing a formula that will lookup the last value in a column
and then add that value with the value in another cell where you have several
rows in between that are null.

A
1 10
2 14
3 =A1 + A2
4
5 IF(A4 = 0, "", A3 + A4)
6
7 IF(A6 = 0, "", A6 + A7)
8
9 =IF(A8=0,"",IF(A80, SUMIF(A7,"0",A7:A8), A5+A8))


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Finding last cell with a value and then adding to another

Thank you so much, it worked like a charm.



"Gord Dibben" wrote:

=LOOKUP(99^99,A:A) + cellref

Where cellref is "another cell"


Gord Dibben MS Excel MVP

On Wed, 27 Aug 2008 12:58:08 -0700, KoolyHigh
wrote:

I need help in writing a formula that will lookup the last value in a column
and then add that value with the value in another cell where you have several
rows in between that are null.

A
1 10
2 14
3 =A1 + A2
4
5 IF(A4 = 0, "", A3 + A4)
6
7 IF(A6 = 0, "", A6 + A7)
8
9 =IF(A8=0,"",IF(A80, SUMIF(A7,"0",A7:A8), A5+A8))



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
Finding and Adding Rich Excel Worksheet Functions 2 July 9th 08 08:05 PM
finding last non-blank cell and then copying it to the next cell mike_vr Excel Discussion (Misc queries) 0 January 17th 08 05:02 PM
Finding Corresponding Cell Value Ken Excel Discussion (Misc queries) 2 August 19th 07 03:49 PM
Finding a value by adding certain sums in a range? Meh27 Excel Discussion (Misc queries) 2 July 16th 07 09:02 PM
Finding a match and adding to the statement ben simpson Excel Discussion (Misc queries) 4 March 21st 06 03:51 PM


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