Excel formula for check Last updated value and subtract on next row values

Status
Not open for further replies.

elsenthil

New Member
Joined
Sep 29, 2011
Messages
4
HI Guys,

I need a excel formula. Here is my condition.


1) Row A is name and Row B is value.
2) First it has to check what name is updating in last cell on the row A. Then it has to check if the same name is updated on previous cell on the same row on A.
3) Then it has to check what value is updated for that name on the row B.
4) Then it want to subtract the last updated value to previous updated value and the result should display on the row C

For Example:

A B C
1 Good 45
2 Very good 25
3 Bad 56
4 Very good 50 25
5 Good 79 34


Note: The name is not updated by order. Any name can be updated on the row A.
I need excel formula or VBA code for this calculation.

Any one please help me this calculation.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Status
Not open for further replies.

Forum statistics

Threads
1,203,212
Messages
6,054,190
Members
444,708
Latest member
David R__

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