formula question

ariel20029

Board Regular
Joined
Jun 20, 2013
Messages
97
Hi all, I am not sure if access can do this function or not. I have data in a table where I am calculating the best % rate for a set of data. I have formulas for 5% increments (0%, 5%,10% etc) I am summing the columns and the column with the highest count is the best rate. Is there a formula in access to scan the columns of data and show the % ( the header). Or is there a better method to do this?
Basically my table is PO number and product family list price and sell price and discount. I am checking to see what % range is the best % rate range.
0 % range is +- 25%. The 5% range would be 5% ( low end 5%*.75 and high end 5% *1.25) and so on. If the discount is within the range return 1 else 0. Then I am summing the column and seeing which rate is best.
I am trying to automate this in access and I do not know if it is possible- the screenshots are in excel.
thanks for your help,
Sharon
 

Attachments

  • discount calc.PNG
    discount calc.PNG
    41 KB · Views: 10
  • Capture.PNG
    Capture.PNG
    64.5 KB · Views: 10

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
It might be a little subjective but it looks like you are trying to replicate what you have in Excel in Access. That is not really possible. Access doesn't even have formulas that work with cell addresses and column offsets the way Excel does, and there is no formula to scan a row of headers or any other type of row really.

That said it would be possible to build a tool in Access to do what you want, but it would take some skill with writing queries and possibly setting up some processing driven programmatically or semi-automatically to analyze and report on the data.

More likely however, you would find it more comfortable and easier to work in Excel where you have existing expertise that you can leverage (again, its an assumption but based on the terminology I'm thinking you are probably new to database development and doing this in Access would therefore take a bit of work just learning about how Access works).
 
Upvote 0

Forum statistics

Threads
1,214,790
Messages
6,121,608
Members
449,038
Latest member
apwr

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