+ Reply to Thread
Results 1 to 2 of 2

Changing a single point of data into a row of data merging identical items into total…

  1. #1
    Registered User
    Join Date
    05-09-2012
    Location
    Liverpool
    MS-Off Ver
    Excel 2008
    Posts
    34

    Changing a single point of data into a row of data merging identical items into total…

    Yeah that thread title even confuses me! (Short title, my boss is making my life harder by being stupid)

    So here’s my enigma…
    I do a manual weekly stock check on parts, the result is a list of approx. 100 locations and the parts in them. The end result is a 100+ line report with parts listed by number and includes number of pallets and up to 5 (usually 1) part full pallets. Parts can be on more than one line if they are in more than one location. There is potential for up to 5 part full pallets to be present for each part but usually only one.
    This system need to be kept as is as it’s essentially a directory of where the parts are located. (see component stock check sheet for example)

    My report is great I have total pallets per part in a single data point, however…

    The system my boss uses has each part on a single line and (stupidly in my opinion) each pallet has its own column. I’m now supposed to include in my excel doc a page with the data in his format.
    I’ve been trying to setup a page that works all the calculations needed (mostly via nested ifs) will probably need a few Vlookups etc This isn’t the issue. The problem I’m having, well two actually, is firstly combining a part on 2, 3 maybe even 4 lines in my stock report into one line that I can then automatically fill in his daft pallet section secondly I’m having trouble shortening the nested ifs to include all possible part pallets and all pallets.

    I’m using a third sheet to do the working out then will paste the data into the required sheet and save just the first two pages.

    The data to the left of his pallet sheet is grabbed from an internally linked excel doc that can change weekly so parts can move up or down the sheet.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    19,034

    Re: Changing a single point of data into a row of data merging identical items into total…

    If I understand the request correctly then, since you are using the 2008 version, the following array entered formula** could be used:
    =INDEX('Component stock check'!H$3:H$7,SMALL(IF('Component stock check'!$A$3:$A$7=$AG2,ROW(H$3:H$7)-ROW(H$2)),COUNTIFS($AG$2:$AG2,$AG2)))
    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Note that if you were using Excel 2010 or a more recent version then the following regular formula would work:
    =INDEX('Component stock check'!H$3:H$7,AGGREGATE(15,6,(ROW(H$3:H$7)-ROW(H$2))/('Component stock check'!$A$3:$A$7=$AG2),COUNTIFS($AG$2:$AG2,$AG2)))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Merging Two Excel Files with Different and Identical Data
    By rv4life in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 01-03-2020, 03:00 AM
  2. Replies: 0
    Last Post: 01-03-2020, 02:26 AM
  3. [SOLVED] Merging col items in a single cell for each row item
    By Rajkumar_h in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-14-2017, 07:27 AM
  4. Removing Rows With Identical Data and Merging Cells
    By Burnout in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2011, 01:07 PM
  5. Merging the data of two identical Workbooks
    By elastic in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-10-2010, 04:18 AM
  6. Replies: 1
    Last Post: 07-22-2010, 08:39 AM
  7. Merging Excel data from identical copies of a workbook
    By John Guzz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-03-2005, 01:06 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