If row exists help

milesy

New Member
Joined
Jan 1, 2014
Messages
23
Office Version
  1. 365
Platform
  1. Windows
HI Guys

i have a problem that i cant quite work out

i have data such as this

Where A1 is a product code, B1 is the Qty of product allocated and C is the Date the requirement was generated.

I then have a starting position say for example C0005=1000 peices. I want to be able to look at A1 and say if it is the first listing then D=1000-10 peices and of course then the second listing of C0005 would be C0005=990-12

is there a simple way of doing this?



A1 B1 C2
C0005 10 1/1/2018
C0005 12 1/2/2018
C0005 13
C0001 1
C0001 14
C0001 20
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
So where are you storing the initial 1000 that Excel would need to do that calculation?
 
Upvote 0

Forum statistics

Threads
1,215,759
Messages
6,126,731
Members
449,333
Latest member
Adiadidas

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top