+ Reply to Thread
Results 1 to 10 of 10

Need Help Auto Formatting Exported Excel Documents

  1. #1
    Registered User
    Join Date
    07-26-2017
    Location
    Clifton
    MS-Off Ver
    Office 365
    Posts
    5

    Need Help Auto Formatting Exported Excel Documents

    Hi,

    Our Company runs reports every month that are exported from our Property Management Software. We like to edit the excel documents to help us get better information from the spreadsheet. We cannot edit the formatting from the Property Management Software. What would be the best way to have it so that I can copy and paste the report into a spreadsheet, and it automatically format it for me?

  2. #2
    Forum Contributor
    Join Date
    10-13-2012
    Location
    Southern California
    MS-Off Ver
    Excel 2007
    Posts
    401

    Re: Need Help Auto Formatting Exported Excel Documents

    Are you aware of Paste Special... VALUES?

    You could set up your desired Excel spreadsheet with the fonts and colors and all of the other formatting the way you want, and then just paste the VALUES from your Property Management Software Excel document into the previously formatted Excel document.

  3. #3
    Registered User
    Join Date
    07-26-2017
    Location
    Clifton
    MS-Off Ver
    Office 365
    Posts
    5

    Re: Need Help Auto Formatting Exported Excel Documents

    I have heard of it, but I would need the excel document to add columns and rows to the document that is being exported.

  4. #4
    Forum Contributor
    Join Date
    10-13-2012
    Location
    Southern California
    MS-Off Ver
    Excel 2007
    Posts
    401

    Re: Need Help Auto Formatting Exported Excel Documents

    It sounds like what you may want is a macro, that takes your exported Property Management Software Excel file and "cleans it up" automtically for you. The macro will format it the way you want, adds columns and/or rows as desired, and generally makes it easier to view the data.

    Can you post an example document of the original, raw Property Management Software file, and also an example of what you would like it to eventually look like? That will give us an idea of exactly what is desired and what might be required to achieve the goal.

  5. #5
    Registered User
    Join Date
    07-26-2017
    Location
    Clifton
    MS-Off Ver
    Office 365
    Posts
    5

    Re: Need Help Auto Formatting Exported Excel Documents

    Please see the attached. Also keep in mind something like this report would be adjusted each month. Ie the next month would have July in it etc.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    10-13-2012
    Location
    Southern California
    MS-Off Ver
    Excel 2007
    Posts
    401

    Re: Need Help Auto Formatting Exported Excel Documents

    Well, here's a quick and dirty solution which should help a bit... although it might not be exactly what you want. (But this only took a minute or two to put together.)

    See the attached spreadsheet.

    Each month, copy the new monthly column values from the exported worksheet into this edited worksheet, for the new month only. (Just copy the values, as to preserve the new workbook formatting.)

    Update the "Period Ending" on row 4. (In July, for example, you will want to to say "Jul 2017")

    The TOTAL column (column N) and the Average column (column O) do NOT have to be changed, as they are formulas.

    However, you will have to update the month to month formula in column P. However, once you update that first row, row 11 (in July it will be =H11-G11), you can copy and paste that same formula down the entire column. (There's probably a tricky way to make that column a formula too, that never needs to be changed, but I don't know what it is.)

    If desired, hide all of the columns that are blank until you need them.

    It should take literally a minute or less to copy and paste the values each month, and update the month to month Column P formula.
    Attached Files Attached Files
    Last edited by Ed_Collins; 07-26-2017 at 05:52 PM. Reason: typo

  7. #7
    Forum Contributor
    Join Date
    10-13-2012
    Location
    Southern California
    MS-Off Ver
    Excel 2007
    Posts
    401

    Re: Need Help Auto Formatting Exported Excel Documents

    The above solution, of course, requires no macros.

  8. #8
    Registered User
    Join Date
    07-26-2017
    Location
    Clifton
    MS-Off Ver
    Office 365
    Posts
    5

    Re: Need Help Auto Formatting Exported Excel Documents

    Thank you!

    That is a great idea, did not think about it like that at all!

    Just curious, where is a good place to learn about a macro edit: That could do well.

  9. #9
    Forum Contributor
    Join Date
    10-13-2012
    Location
    Southern California
    MS-Off Ver
    Excel 2007
    Posts
    401

    Re: Need Help Auto Formatting Exported Excel Documents

    No problem. Glad I could give you another idea to the problem.

    Much of what I've learned about macros I've learned right here on this website, by reading all of the different problems others have had, and looking at the different solutions provided by the users.

    A macro to edit column P automatically would be easy to write. All it would have to do is loop through columns and find the first empty column. (In this case that's column H, July.) It would then replace the current formula in column P with the last non empty column it found, minus the column before that.

    If you really wanted to get fancy you can also have a macro import all of the data from the exported file into this new file at the click of a button. That way you wouldn't have to copy and paste it by hand.

    It's just a matter of how much time you want to spend on it. Note that if it takes you or someone, say, 20 minutes to create, test, and debug a newly-created macro, and yet it only takes a single minute each month to do everything by hand, the ROI is going to take a long time before the writing of the macro will sees dividends... in this case 20 months.

    Finally, other tabs within this spreadsheet could be created to display some or all of this monthly data in chart form.

  10. #10
    Registered User
    Join Date
    07-26-2017
    Location
    Clifton
    MS-Off Ver
    Office 365
    Posts
    5

    Re: Need Help Auto Formatting Exported Excel Documents

    Wow so much to learn. Thank you again for your time and insight!! I wish I could leave you a review or something.

+ 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. convert all 97-2003 excel documents to macro enabled documents on server
    By viperisback in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-23-2013, 09:06 AM
  2. [SOLVED] Can you use a Macro to auto format a MS Access Report (exported to Excel)?
    By Castillb in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-07-2013, 12:43 PM
  3. [SOLVED] Printing Macro- Need to auto apply to all open Excel documents
    By cupcakes in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-21-2013, 07:44 PM
  4. Formatting a list exported from SharePoint
    By Mirabyshirt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-08-2012, 09:22 AM
  5. Excel 2007 : Formatting an exported Excel document
    By hermanpeckel in forum Excel General
    Replies: 1
    Last Post: 06-15-2012, 07:12 AM
  6. Replies: 0
    Last Post: 05-20-2009, 05:37 AM
  7. Formatting exported DB data with IF(AND)?
    By firefiend in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-08-2007, 12:37 PM
  8. Conditional Formatting not applied to data exported from Access
    By Mark A in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-24-2005, 08:05 AM

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