+ Reply to Thread
Results 1 to 10 of 10

Adding extra lines within a spreadsheet of new product codes

Hybrid View

  1. #1
    Registered User
    Join Date
    10-21-2015
    Location
    dundee
    MS-Off Ver
    2010
    Posts
    4

    Adding extra lines within a spreadsheet of new product codes

    I have a spreadsheet that has 2 tabs one that shows products with locations and a tab with empty locations

    I want to join them together to see on one spreadsheet

    I have attached my spreadsheet to help
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    24,024

    Re: Adding extra lines within a spreadsheet of new product codes

    I want to join them together to see on one spreadsheet
    Please explain what you mean by this. How do you want them joined together? Do you wish the empty to be added at the bottom of your list? Why not just cut and paste? Am I missing something here?
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    10-21-2015
    Location
    dundee
    MS-Off Ver
    2010
    Posts
    4

    Re: Adding extra lines within a spreadsheet of new product codes

    I want to add the empty locations into the locations with products so I can see on one spreadsheet all locations with and without products

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,427

    Re: Adding extra lines within a spreadsheet of new product codes

    Here is one wat, using two array formulae. I suspect that cut and paste might be easier though. However, if this is really what you want to do, then the addition of a couple of Named Ranges would make this HUGELY easier to manage. Do you know how to do that?

    Formula for the bins, copy down:

    Formula: copy to clipboard
    =IFERROR(IFERROR(INDEX(bin1!C:C,SMALL(IF(bin1!$C$2:$C$271<>"",ROW(bin1!$C$2:$C$271)),ROWS($1:1))),INDEX(Empty!$A:$A,SMALL(IF(Empty!$A$2:$A$748<>"",ROW(Empty!$A$2:$A$748)),ROWS($1:1)-(COUNTA(bin1!C:C)-1)))),"")


    for the other bits, copy across and down:

    Formula: copy to clipboard
    =IFERROR(INDEX(bin1!A:A,SMALL(IF(bin1!$C$2:$C$271<>"",ROW(bin1!$C$2:$C$271)),ROWS($1:1))),"")


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Registered User
    Join Date
    10-21-2015
    Location
    dundee
    MS-Off Ver
    2010
    Posts
    4

    Re: Adding extra lines within a spreadsheet of new product codes

    sorry I must have not explained myself correctly

    I have a spreadsheet tab that shows

    Material code - description and bin location (B01S001X01) I have another spreadsheet that has bin locations with no products that I want to add to the first tab with info so the spreadsheet would look like below where the empty location would be blank

    Material Desciption Stor. Bin
    822 H/Piece Eng Labour (per 1/4hr) B01S001X01
    B01S001X02

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,427

    Re: Adding extra lines within a spreadsheet of new product codes

    How do you want duplicates handled. There are a few of these in your dataset:

    B01S033X02
    B01S060X03
    B01S001X01
    B01S059X06
    B01S078X04
    B01S051X08
    B01S020X01
    B01S041X02
    B01S029X01
    B01S027X01
    B01S059X07

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,427

    Re: Adding extra lines within a spreadsheet of new product codes

    I have just noticed that you attached an xls file (97-2003), but your profile indicates that you are using Excel 2010. Which Excel version is this sheet needed for? The attachment above will NOT work, without modification, in Excel 2003 or earlier.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,427

    Re: Adding extra lines within a spreadsheet of new product codes

    OK. So you want the lists MERGED and SORTED? Correct. Again, though - which version of Excel is this wanted for?

  9. #9
    Registered User
    Join Date
    10-21-2015
    Location
    dundee
    MS-Off Ver
    2010
    Posts
    4

    Re: Adding extra lines within a spreadsheet of new product codes

    I have both versions of excel xls and xlsx either would be great so I can understand

  10. #10
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    24,024

    Re: Adding extra lines within a spreadsheet of new product codes

    The quickest way to do this in my opinion. Copy column A on the tab containing the empty bins. Paste into the bottom of column C of the other tab. Now click on cell A2, and on the ribbon click on the Data tab. Select Sort and indicate that you have headers, and sort column C.

+ 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. Excel adding extra quotation marks (") to HTML codes
    By Eliot Y in forum Excel General
    Replies: 0
    Last Post: 07-14-2015, 04:36 AM
  2. [SOLVED] adding target lines into graphs without adding an extra column of data
    By ea223 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 03-16-2013, 12:32 PM
  3. Replies: 8
    Last Post: 08-27-2012, 04:37 PM
  4. extra hours adding money for each extra hour worked FORMULA
    By cynthiamcastro in forum Excel General
    Replies: 3
    Last Post: 06-18-2012, 11:27 AM
  5. Replies: 2
    Last Post: 04-06-2012, 02:42 PM
  6. Problem adding extra data lines to Combo boxes
    By daisy2012 in forum Excel General
    Replies: 0
    Last Post: 03-23-2012, 01:38 AM
  7. Adding descriptions to product codes
    By paulboy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-18-2009, 05:26 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