+ Reply to Thread
Results 1 to 5 of 5

Data Manipulation Examples

  1. #1
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Data Manipulation Examples

    Attached is a WorkBook with a data sheet, I thought it would be interesting for members to add their examples of common forum questions to it without disturbing the Data Sheet.

    Add a sheet for your example. Keep it simple.

    This first example gets the value between two dates. Click the calendars for the dates you want to find the value of.
    Attached Files Attached Files

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Data Manipulation Examples

    In order to keep file size under control, it might be a good idea to delete the sheets other than the Data sheet and then just add the sheet with the member's manipulation suggestion?

    Here my take at a very simple Pivot Table.

    Select company in the page area and see a breakdown of model and cost total by year.
    Attached Files Attached Files

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Get Unique Items from a list

    This example will get the Unique Company names from the Data Sheet, then will count and get the total Cost for each item.


    Edit:
    Please Login or Register  to view this content.
    appears to be missing from the code
    Attached Files Attached Files
    Last edited by davesexcel; 03-15-2011 at 05:51 AM.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Unique values with formulas, Countif sumif, Filter using formulas

    Using formulas to: Filter Data, Getting unique items, Countif, Sumif
    Attached Files Attached Files

  5. #5
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Data Manipulation Examples

    Been a while since I added to this.
    Back then I had used worksheetfunction.countif to get the unique values.
    I updated with a new Get Unique items code.
    Please Login or Register  to view this content.
    The old code is still in the workbook just to show how much the faster using collection is.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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