Percent of change on report...Is this possible?

lmac

Board Regular
Joined
May 12, 2005
Messages
103
I have a report that shows totals for the month from daily entries (report is based on simple query based on data entry table). I want to add a Percent of Change field to the report that shows the % of change in the Total Sales Per Hour from month to month. Is this possible?

Report has:
.......Total Hours....Total Sales....Sales per Hour....SPH % Change
Aug.....500.............4210...............8.42..................NA
Sept....750.............5900...............7.87..................-6.57%
Oct......800.............6680...............8.35..................6.14%
Nov......825.............7200...............8.73..................4.52%
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
You may find it simpler to do this in Excel.
In a new workbook, use MS Query to pull the data from Access into the worksheet. In the first blank column, build the formula to get what you need.
Reason for the suggestion: Access is not great at comparing 2 records (rows). I guess you could try to get fancy with a DLOOKUP to pull the previous value, then compare them, but that could be a pain.

Denis
 
Upvote 0
Still seeking help for this. This is an Excel spreadsheet I am making into an Access report. Anyone else have any suggestions on how to do this?
 
Upvote 0
If it's already in Excel, consider doing the calc there and importing into Access. Alternatively, why not report in Excel anyway -- unless you have a whole pile of other data in the db that you want to include.

As I mentioned before, you can pull in data from the previous record but it involves either
(1) using a DLOOKUP function or
(2) writing the values to a field in your table, using code

As far as I know, there is no simple control or switch that can create the comparison in a report, unless you have already grabedd / modified the data using one of the above approaches.

Denis
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,747
Members
448,989
Latest member
mariah3

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