+ Reply to Thread
Results 1 to 7 of 7

Need to Create Bin Locations based on the following example

  1. #1
    Forum Contributor
    Join Date
    09-28-2016
    Location
    Seattle, washington
    MS-Off Ver
    2016
    Posts
    330

    Need to Create Bin Locations based on the following example

    Hello, on the attached I’m trying to get to the best way to create bin locations. Please look at the example and let me know if it makes since. There will be 10 Bays, with 30 Bins in Each Bay, Level A thru E for Each Bin. All in Aisle 01. Please let me know your thoughts as this is way too much copy and pasting, and data entry, to do this manually. Thank you for all help in advance.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    09-28-2016
    Location
    Seattle, washington
    MS-Off Ver
    2016
    Posts
    330

    Re: Need to Create Bin Locations based on the following example

    My Apologies, I was typing to fast, there is 3 bins in each bay not 30. Sorry for the confussion.

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Need to Create Bin Locations based on the following example

    Fairly involved to explain, however the process took a little over a minute to do.
    Delete the number 10 from cell B28
    Select cells C16:C20 and drag the fill handle of cell C20 down to cell C155,
    Select cell A155 and simultaneously press the Ctrl, Shift and up arrow keys,
    Simultaneously press Ctrl and D,
    Select cell B6 and change the format from text to general,
    Paste the following formula into the formula bar and press enter: =1*(INT(COUNTIFS(C$5:C5,"E")/3)+1)
    Double click the fill handle of cell B6 to copy down,
    Select cell D6 and change the format from text to general,
    Paste the following formula into the formula bar and press enter: =COUNTIF(C$6:C6,"A")
    Double click the fill handle of cell B6 to copy down.
    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.

  4. #4
    Forum Contributor
    Join Date
    09-28-2016
    Location
    Seattle, washington
    MS-Off Ver
    2016
    Posts
    330

    Re: Need to Create Bin Locations based on the following example

    Quote Originally Posted by JeteMc View Post
    Fairly involved to explain, however the process took a little over a minute to do.
    Delete the number 10 from cell B28
    Select cells C16:C20 and drag the fill handle of cell C20 down to cell C155,
    Select cell A155 and simultaneously press the Ctrl, Shift and up arrow keys,
    Simultaneously press Ctrl and D,
    Select cell B6 and change the format from text to general,
    Paste the following formula into the formula bar and press enter: =1*(INT(COUNTIFS(C$5:C5,"E")/3)+1)
    Double click the fill handle of cell B6 to copy down,
    Select cell D6 and change the format from text to general,
    Paste the following formula into the formula bar and press enter: =COUNTIF(C$6:C6,"A")
    Double click the fill handle of cell B6 to copy down.
    Let us know if you have any questions.
    Thanks a lot JeteMc, I appreciate the through explanation as i'm always trying to learn more about Excel. Thanks also for the working file.

  5. #5
    Forum Contributor
    Join Date
    09-28-2016
    Location
    Seattle, washington
    MS-Off Ver
    2016
    Posts
    330

    Re: Need to Create Bin Locations based on the following example

    One other question if possible JeteMc, how would I go about acheiving the following for each row?

    Please Login or Register  to view this content.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Need to Create Bin Locations based on the following example

    re: Post #5, Try pasting the following formula into cell E6:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I have to chuckle at myself for the formula in column B, certainly it will work without the unneeded '1*' portion as in: =INT(COUNTIFS(C$5:C5,"E")/3)+1
    re: Post #4, You're Welcome.Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

  7. #7
    Forum Contributor
    Join Date
    09-28-2016
    Location
    Seattle, washington
    MS-Off Ver
    2016
    Posts
    330

    Re: Need to Create Bin Locations based on the following example

    Quote Originally Posted by JeteMc View Post
    re: Post #5, Try pasting the following formula into cell E6:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I have to chuckle at myself for the formula in column B, certainly it will work without the unneeded '1*' portion as in: =INT(COUNTIFS(C$5:C5,"E")/3)+1
    re: Post #4, You're Welcome.Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.
    Thank You JeteMc, Appreciate the help! this will work

+ 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. Incorporating Google Map inside spreadsheet having Two locations to show locations
    By phanikumarbh in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-22-2015, 09:10 AM
  2. Create a master file from multiple worksheets using cell locations
    By ellisgirl in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 01-26-2015, 05:31 PM
  3. [SOLVED] create copy of template file in various locations
    By SierraKilo78 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-08-2014, 05:18 PM
  4. [SOLVED] Consolidation of info. Files differing locations, password protected, create one summary
    By marsham in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-17-2013, 07:38 PM
  5. create variables refering to cell locations with VBA
    By KATIEexcel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-14-2012, 05:56 AM
  6. Replies: 1
    Last Post: 07-01-2011, 12:37 PM
  7. Replies: 1
    Last Post: 03-04-2011, 08:43 PM

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