inventory values to update

mc136355

New Member
Joined
Mar 20, 2018
Messages
36
Hi I am trying to update values in an inventory sheet but if value has no change then i cannot create a formula to show the previous value. Any help would be appreciated. Hope this makes sense. thanks MC

cust1 has starting value of 100
cust2 has starting value of 200

Thanks
date
detailstype
customer
in
out
cust1
cust2
21/08/19
order
AAA
cust1
500
100
500
200
21/08/19
order
AAA
cust1
100
50
550
200
21/08/19
order
AAA
cust2
50
100
550
150
21/08/19
order
AAA
cust1
100
200
450
150

<tbody>
</tbody>
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Maybe...


A
B
C
D
E
F
G
H
I
J
K
1
date​
details​
type​
customer​
in​
out​
cust1​
cust2​
Customer​
Starting Value​
2
21/08/2019​
order​
AAA​
cust1​
500​
100​
500​
200​
cust1​
100​
3
21/08/2019​
order​
AAA​
cust1​
100​
50​
550​
200​
cust2​
200​
4
21/08/2019​
order​
AAA​
cust2​
50​
100​
550​
150​
5
21/08/2019​
order​
AAA​
cust1​
100​
200​
450​
150​
6

Formula in G2 copied to H2 and down
=VLOOKUP(G$1,$J:$K,2,0)+SUMIF($D$2:$D2,G$1,$E$2:$E2)-SUMIF($D$2:$D2,G$1,$F$2:$F2)

M.
 
Upvote 0
Hi MB thanks for the quick reply. Looks like this has done the trick and is working on both columns. Thanks for your time. MC
 
Upvote 0

Forum statistics

Threads
1,214,540
Messages
6,120,106
Members
448,945
Latest member
Vmanchoppy

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