Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mari C
 
Posts: n/a
Default Need formula for a fixed cell minus last entry on ongoing log

Hi all - I need a formula so that I get the difference between the first
entry and the last entry - an ongoing log. How do I do that

thanks

Mari
  #2   Report Post  
Kassie
 
Posts: n/a
Default

Hi Mari

Say your first entry is in C2, then in D3 enter =IF(C3="","",$C$2-C3) and
copy down as far as you want to go. You will then always subtract the last
entry from the first one, so that in D20, the formula will subtract C20 from
C2.

However, if you want the difference between the last 2 entries every time,
then enter in D3 =IF(C3="","",C2-C3) and copy down. In this case in row 20
the formula will subtract C20 from C19.

"Mari C" wrote:

Hi all - I need a formula so that I get the difference between the first
entry and the last entry - an ongoing log. How do I do that

thanks

Mari

  #4   Report Post  
Mari C
 
Posts: n/a
Default

Thanks biff - after I limited the size of the column I was able to enter it
in the bottom of the column
Mari

"Biff" wrote:

Hi!

First entry in A1.

Last entry in An

=A1-LOOKUP(9.99999999E+307,A:A)

Biff

"Mari C" <Mari wrote in message
...
Hi all - I need a formula so that I get the difference between the first
entry and the last entry - an ongoing log. How do I do that

thanks

Mari




  #5   Report Post  
Mari C
 
Posts: n/a
Default

Hi Kassie

I needed to enter 20 columns so I wanted the sum at the bottom of the column
- biffs formula worked better for the layout of the page but yours was great
too. thanks a bunch

"Kassie" wrote:

Hi Mari

Say your first entry is in C2, then in D3 enter =IF(C3="","",$C$2-C3) and
copy down as far as you want to go. You will then always subtract the last
entry from the first one, so that in D20, the formula will subtract C20 from
C2.

However, if you want the difference between the last 2 entries every time,
then enter in D3 =IF(C3="","",C2-C3) and copy down. In this case in row 20
the formula will subtract C20 from C19.

"Mari C" wrote:

Hi all - I need a formula so that I get the difference between the first
entry and the last entry - an ongoing log. How do I do that

thanks

Mari



  #6   Report Post  
Biff
 
Posts: n/a
Default

You're welcome. Thanks for the feedback!

Biff

"Mari C" wrote in message
...
Thanks biff - after I limited the size of the column I was able to enter
it
in the bottom of the column
Mari

"Biff" wrote:

Hi!

First entry in A1.

Last entry in An

=A1-LOOKUP(9.99999999E+307,A:A)

Biff

"Mari C" <Mari wrote in message
...
Hi all - I need a formula so that I get the difference between the
first
entry and the last entry - an ongoing log. How do I do that

thanks

Mari






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
numbers being entered show in formula bar but not in cell? Jim in Florida Excel Discussion (Misc queries) 2 May 13th 05 06:36 PM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
need help creating formula based on cell value Brad Excel Discussion (Misc queries) 3 April 1st 05 07:51 PM
Can a Formula in Cell X modify Cell Y? alMandragor Excel Discussion (Misc queries) 7 February 10th 05 09:51 PM
looking for a formula Amanda Excel Worksheet Functions 5 January 5th 05 07:37 AM


All times are GMT +1. The time now is 11:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"