+ Reply to Thread
Results 1 to 5 of 5

Help with Excel Auto Fill

  1. #1
    Registered User
    Join Date
    03-05-2021
    Location
    Cape Town, South Africa
    MS-Off Ver
    Office 365
    Posts
    3

    Help with Excel Auto Fill

    Facts: Customer orders 15 Widgets.
    Material is XYZ 71000
    Thickness required is 6mm
    Length of Widget 160mm
    Breadth of Widget is 120mm

    Calculation 1: Length Breadth Total SqM per Widget Number of Widgets Total SqM
    I work out Square Metres of Total of Widgets (Order) 350 280 0.098 15 1.47

    Calculation 2:
    I only sell FULL or HALF or QUARTER or ONE EIGHTH Sheets Cost Price psm XYZ mm
    Sheet Sizes of Material XYZ 71000 mm mm Sheet SqM Cost Price of 6mm Material SHEET R305 71000 3
    FULL 3050 2050 6.2525 R3645.21 R391 71000 4
    HALF 2050 1525 3.12625 R1822.60 R520 71000 5
    QUARTER 1525 1025 1.563125 R911.30 R583 71000 6
    EIGHTH 1025 765 0.784125 R457.14 R777 71000 8
    R972 71000 10
    R1232 71000 12
    In the above example I can only fit the TOTAL SqM required into a QUARTER SHEET 1.563125 SqM and I'll have 0.093125 SqM Left as an offcut R1524 71000 15
    R2083 71000 18
    Question: R2483 71000 20
    What is the Cost Price of a Quarter Sheet of 6mm Material XYZ 71000 R911.30 R3104 71000 25

    AUTOMATED CALCULATION REQUIRED
    I need to automate the Cost of Material required for my Sales Staff.
    Basically they should have a TABLE that they populate with Widget L & B and Material Type and Material Thickness. This multiplied by Widget SqM and Material Cost should deliver the COST PRICE OF THE WIDGET RAW MATERIAL.

    I'm thinking I should have ….
    1. All my different Material NAMES listed in a Drop Down List
    2. The variousTHICKNESSES listed in another Drop Down List
    3. When I click on Material NAME in Drop Down 1 AND then Material THICKNESS in Drop Down 2
    4. This should activate a Formula to give me the FULL SHEET price of the relevant Material & Thickness

    A. An empty field for Length of Widget
    B. An empty field for Width of Widget
    C. Filling in A and B should deliver SqM of ONE Widget
    D. An empty field for Number of Widgets required
    E. An automated answer of Total SqM required
    G. An automated answer that E above will only fit into FULL or HALF or QUARTER or EIGTH
    H. An automated answer of the Cost Price of G above.

    i) A mistake in a Sales Person's calculations could lead to heavy Losses which is why I would prefer a series of Drop Downs and Formulae.

    Hope someone can help. (Hope I haven't forgotten something!)

    Best,
    Adum

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,765

    Re: Help with Excel Auto Fill

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    03-05-2021
    Location
    Cape Town, South Africa
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Help with Excel Auto Fill

    Hi,

    Please see file attached.

    Look forward to your most excellent help.

    Regards,
    Adum
    Attached Files Attached Files

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

    Re: Help with Excel Auto Fill

    Deleted by JeteMc
    Last edited by JeteMc; 03-13-2021 at 03:43 PM. Reason: Deleted
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

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

    Re: Help with Excel Auto Fill

    Perhaps the following will be a starting point:
    1. Put all the materials on Sheet 2 into one list
    2. Put the sizes into one column
    3. Make a list without duplicates of the materials to be used to produce a data validation list
    4. On sheet 3 place a data validation list for materials in cell B8 using the source: =Sheet2!$D$2:$D$7
    5. Place a data validation for only the sizes available for the material in B8 using the source: =OFFSET(Sheet2!$A$1,MATCH(B8,Sheet2!$A$2:$A$21,0),1,COUNTIFS(Sheet2!$A$2:$A$21,B8))
    6. Cell B11 displays the size of the sheet using: =INDEX(A13:A16,MATCH($H8,$D13:$D16,-1))
    7. Cell C11 displays the cost psm using: =AGGREGATE(15,6,Sheet2!C2:C21/(Sheet2!A2:A21=B8)/(Sheet2!B2:B21=C8),1)
    8. Cell D11 displays the price of the sheet using: =C11*INDEX(D13:D16,MATCH(B11,A13:A16,0))
    Let us know if you have any questions.

+ 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. Auto fill in for excel lists
    By seh09 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-15-2016, 08:42 PM
  2. Excel Auto Fill
    By wsilage in forum Excel General
    Replies: 8
    Last Post: 02-29-2016, 11:05 PM
  3. Auto-Fill on Excel
    By aa1bb2cc3 in forum Excel General
    Replies: 1
    Last Post: 01-14-2015, 07:11 AM
  4. excel formula auto fill
    By p9770 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-02-2009, 07:08 AM
  5. How do I get excel to auto fill data?
    By Angelfsh9 in forum Excel General
    Replies: 3
    Last Post: 08-10-2006, 10:00 AM
  6. [SOLVED] Using Excel Auto Fill
    By Mikeytj in forum Excel General
    Replies: 3
    Last Post: 03-09-2006, 03:55 PM
  7. [SOLVED] Auto color fill in Excel - help
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-17-2005, 08: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