Compare two records from same table?

behedwin

Active Member
Joined
Dec 10, 2014
Messages
399
Is it possible to compare two records from the same table?
For example:
I have a database with a table called STEP1.
The table contain columns: STEP1_ID, Amount1, Amount2, Date

If my record have the values like this:
ID=1, Amount1 = 500, Amount2 = 300, Date = 2019-03-01

Now i want to compare this record to another record.
Compare Amount1 and 2 to another record (row). So i can get the difference between the values.

Each record is for me a Repport. Each repport contains values that i want to compare to other repports so i can see any big fluctuation.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Found a solution to use a combobox to populate controls from another record than the current one viewing. that way i can create a view where the user can load one record and bring up data from another record and then i can either do calculations to compare the different data or just create views/reports.
 
Upvote 0

Forum statistics

Threads
1,214,583
Messages
6,120,378
Members
448,955
Latest member
BatCoder

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