+ Reply to Thread
Results 1 to 8 of 8

Need advice before I build

  1. #1
    Registered User
    Join Date
    12-15-2010
    Location
    Australia, Melbourne
    MS-Off Ver
    Excel 2016
    Posts
    6

    Need advice before I build

    I'm building an asset forecast model. It will drag information in from an MS Access table, calculate a utilsation value over N period then provide a forecast value over N period. I'm familiar wiht Excel to a point however I would like to clarify a few things before i build:

    1. I plan on using power query to bring in the Access table with the asset details
    2. The asset details will then be put in a table
    3. I will have premade forumlas on the right of the table which will calculate a N period forecast
    4. I want to add a slicer on this table so I can slice and dice the assets by the various description fields available <--- Not sure how to do this
    5. I want to have the table transposed into a report layout ready for printing or saving as PDF <--- Not sure how to do this

    Appreciate any input

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Need advice before I build

    This will be a lot more difficult to do since you are using Excel 2003. A lot of the things you want to do are automatic with later versions of Excel.

    I don't know about power query, but if memory serves me correctly, MS-Query will bring data onto a sheet and it has an option to replicate formulas so that takes care of point #3.

    Slicers are not available for Excel 2003, so you'll probably have to program a user form with a listbox that sets a filter.

    For PDF, all you really have to do is record a macro and modify the code it produces.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    12-15-2010
    Location
    Australia, Melbourne
    MS-Off Ver
    Excel 2016
    Posts
    6

    Re: Need advice before I build

    Sorry dflak I have Office 2016 not 2003

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Need advice before I build

    Well, that makes life a lot easier! I am not familiar with power query. Does it bring the data into an Excel table? If it does, then columns added immediately to the right of the returned data will have their formulas "memorized" and copied down for each row.

    Slicers are easy. Select a cell in the returned data. Select Insert -> Slicer. You will get a list of column headers for which you can create a slicer. Also if you select a slicer and look in slicer options you can do a lot of things to make it look better.

    As for publishing as a PDF, here's the macro I recorded.
    Please Login or Register  to view this content.
    I would not depend on ActiveSheet. Use Sheets("Sheet Name") instead. The only other thing is to change the file name to something you want. Generally I "compute" the file name based on a date stamp either in the code or on the spreadsheet and read it in with Range().

  5. #5
    Registered User
    Join Date
    12-15-2010
    Location
    Australia, Melbourne
    MS-Off Ver
    Excel 2016
    Posts
    6

    Re: Need advice before I build

    dflak, would Power Pivot be a better option to bring data in from a Access database table? The reason I'm hesitant to use it, is because it can only summarise data. I need to be able to interact with the data. For example the system will run its calculations however the user will have the option to overwrite values as the see fit. - System suggests product A is classified as class 1, the user can overwrite that and say class 2 instead.

    With tables, can I reference them in other sheets - eg. Sheet1 has tblFormulas, can I make a reference to tblForumlas and have it transposed/linked in Sheet2?

    Slicers are working great! And thanks for the vba, I'll add it in the later stages of the build.

  6. #6
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Need advice before I build

    If power query is working for you, by all means, stick with it. It's just that I've not used it and am not familiar with what it does and doesn't do.

    My weapon of choice is MS-Query.

  7. #7
    Registered User
    Join Date
    12-15-2010
    Location
    Australia, Melbourne
    MS-Off Ver
    Excel 2016
    Posts
    6

    Re: Need advice before I build

    I think its the same thing dflak, I go to Data > New Query > From Database > From MS Acces Database

  8. #8
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Need advice before I build

    Actually it's different. Data -> From Other Data Sources -> MS-Query. As long as you have the drivers for it, you can make a database out of any ODBC connection, Access, Other Excel Spreadsheets and text files. MS-Query also allows passing parameters at run time.

    I think for Access it doesn't make that much difference. As long as the data comes out as tables, you are good to go.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 04-01-2016, 01:17 PM
  2. VBA code advice/Excel advice for summing groups of numbers
    By paulblower in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-17-2014, 05:47 AM
  3. Excel 2007 : Update average calculations
    By Hexcelator in forum Excel General
    Replies: 4
    Last Post: 05-30-2012, 02:02 PM
  4. Replies: 4
    Last Post: 05-02-2011, 08:31 AM
  5. Excel 2007 : Need Advice
    By Janniiie in forum Excel General
    Replies: 2
    Last Post: 11-07-2008, 07:45 PM
  6. build a udf
    By John2007 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-24-2008, 08:07 AM
  7. Any advice about the best way to go
    By leedspaddy in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-12-2007, 04:41 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1