Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default calculating values where it depends on the value of a previous cel

Need some help with formulas please! I suspect what's needed is some sort of
IF statement.

I'm maintaining a list like this:
1 2 3 4 5 6
Item date POR PORValue amount PORremaining
Item 1 31-Aug 001 100 100 0
Item 2 31-Aug 002 500 200 300
Item 3 31-Aug 002 300 100 200
Item 4 18-Sep 003 1000 200 800
Item 5 30-Sep 003 800 300 500
Item 6 30-Sep 004 500 200 300
Item 7 16-Oct 004 300 100 200
Item 8 20-Oct 002 200 100 100
Item 9 25-Oct 003

I need a formula so that when I enter item 9 with the POR=003, it "knows"
that the PORvalue equals the PORremaining from the last entry where POR=003
and when I enter the amount (col 5), it calculates the next column
'PORremaining'.

I also want the values to work if I sort the data differently, e.g by POR
(col3).

I hope I've explained this clearly enough!

Much appreciate your help.

David
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default calculating values where it depends on the value of a previous cel

Hi,

I don't understand. We have entered 003 against item 9 in column 3 what
numbers do you expect in columns 4,5 & 6 and how are they derived?

Mike

"DavidF" wrote:

Need some help with formulas please! I suspect what's needed is some sort of
IF statement.

I'm maintaining a list like this:
1 2 3 4 5 6
Item date POR PORValue amount PORremaining
Item 1 31-Aug 001 100 100 0
Item 2 31-Aug 002 500 200 300
Item 3 31-Aug 002 300 100 200
Item 4 18-Sep 003 1000 200 800
Item 5 30-Sep 003 800 300 500
Item 6 30-Sep 004 500 200 300
Item 7 16-Oct 004 300 100 200
Item 8 20-Oct 002 200 100 100
Item 9 25-Oct 003

I need a formula so that when I enter item 9 with the POR=003, it "knows"
that the PORvalue equals the PORremaining from the last entry where POR=003
and when I enter the amount (col 5), it calculates the next column
'PORremaining'.

I also want the values to work if I sort the data differently, e.g by POR
(col3).

I hope I've explained this clearly enough!

Much appreciate your help.

David

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default calculating values where it depends on the value of a previous

Ok, I want column 4 to be 500 (column 6 - PORremaining - from the last entry
where POR=003). If I enter 200 in column 5, I want it to calcuate column 6 to
be 300 (500-200). And then if the next entry for POR=003 is item 12, say, I
want it to "know" column 4 for that entry is 300.

I hope that's a little clearer!

"Mike H" wrote:

Hi,

I don't understand. We have entered 003 against item 9 in column 3 what
numbers do you expect in columns 4,5 & 6 and how are they derived?

Mike

"DavidF" wrote:

Need some help with formulas please! I suspect what's needed is some sort of
IF statement.

I'm maintaining a list like this:
1 2 3 4 5 6
Item date POR PORValue amount PORremaining
Item 1 31-Aug 001 100 100 0
Item 2 31-Aug 002 500 200 300
Item 3 31-Aug 002 300 100 200
Item 4 18-Sep 003 1000 200 800
Item 5 30-Sep 003 800 300 500
Item 6 30-Sep 004 500 200 300
Item 7 16-Oct 004 300 100 200
Item 8 20-Oct 002 200 100 100
Item 9 25-Oct 003

I need a formula so that when I enter item 9 with the POR=003, it "knows"
that the PORvalue equals the PORremaining from the last entry where POR=003
and when I enter the amount (col 5), it calculates the next column
'PORremaining'.

I also want the values to work if I sort the data differently, e.g by POR
(col3).

I hope I've explained this clearly enough!

Much appreciate your help.

David

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
TO Average Previous values Speedy Excel Worksheet Functions 7 October 20th 07 07:08 AM
Average of previous values Speedy Excel Discussion (Misc queries) 4 October 14th 07 07:28 AM
Delete row containing all previous values. mohd21uk via OfficeKB.com New Users to Excel 1 May 10th 06 01:57 PM
Calculating monthly totals for current and previous year Pieman New Users to Excel 1 February 26th 06 12:43 PM
Adding values from previous worksheets firecord Excel Worksheet Functions 1 June 27th 05 09:59 AM


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