+ Reply to Thread
Results 1 to 12 of 12

Help with creating formula within a worksheet

  1. #1
    Registered User
    Join Date
    09-20-2024
    Location
    Manchester
    MS-Off Ver
    365 (v. 2408).
    Posts
    6

    Help with creating formula within a worksheet

    Good afternoon,
    I am sorry if this is not the right place for this query.
    My company is a manufacturer and is looking for a way to add formula (or something similar - I am not good with the lingo) in to our excel dispatch list.
    When a new product comes in to our company, we add it to our dispatch list.
    We want to create a code in this dispatch list which will tell us the weight required in order to make this product.
    Is there a way of creating a separate tab on our dispatch list spreadsheet that talks to the main tab telling it to the weights of a particular product.
    I basically want to input a certain product code in one column and then in the next column subsequently tell me how much that will weigh if that makes sense?
    It is so we are able to identify how much of a part we need to order to make the product overall.
    A sort of stock helper.

    Many thanks in advance!!
    Attached Files Attached Files
    Last edited by SKWLTD; 09-24-2024 at 11:29 AM.

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

    Re: Help with creating formula within a worksheet

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. The sample layout accurately matches that of your real data. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    09-20-2024
    Location
    Manchester
    MS-Off Ver
    365 (v. 2408).
    Posts
    6

    Re: Help with creating formula within a worksheet

    Hi AliGW,

    Thank you so much for replying to my thread.
    I have attached a workbook in the hopes this will give you an idea of what I am working with.

    SKWLTD.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,002

    Re: Help with creating formula within a worksheet

    Is it 365 that you have? If so, please update your profile to 365 (v. 2408). Thanks.

  5. #5
    Registered User
    Join Date
    09-20-2024
    Location
    Manchester
    MS-Off Ver
    365 (v. 2408).
    Posts
    6

    Re: Help with creating formula within a worksheet

    I have done that. Thank you.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,002

    Re: Help with creating formula within a worksheet

    Would i need to create another sheet that gives you all the product codes and their weights?
    Yes - you'd need a lookup table somewhere. Then you can use this:

    =XLOOKUP(K2,lookup_array,return_array)

  7. #7
    Registered User
    Join Date
    09-20-2024
    Location
    Manchester
    MS-Off Ver
    365 (v. 2408).
    Posts
    6

    Re: Help with creating formula within a worksheet

    Thankyou.
    I have created a separate sheet with the product codes and their weights on.
    I am unsure where I need to use the "=XLOOKUP(K2,lookup_array,return_array)"

    So sorry, I am a complete beginner at this.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,002

    Re: Help with creating formula within a worksheet

    Tell me EXACTLY where the lookup table is - sheet name and range of cells where it is. Does the lookup table include headers?
    Last edited by AliGW; 09-24-2024 at 11:27 AM. Reason: Typos fixed.

  9. #9
    Registered User
    Join Date
    09-20-2024
    Location
    Manchester
    MS-Off Ver
    365 (v. 2408).
    Posts
    6

    Re: Help with creating formula within a worksheet

    No problem. Thank you.

    I have attached a new document with the product codes on a third sheet.

    I hope this helps.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,002

    Re: Help with creating formula within a worksheet

    In L2 drag copied down:

    =XLOOKUP(K2,Table1[[Product Code ]],Table1[Weight of wire])

  11. #11
    Registered User
    Join Date
    09-20-2024
    Location
    Manchester
    MS-Off Ver
    365 (v. 2408).
    Posts
    6

    Re: Help with creating formula within a worksheet

    Hi AliGW,

    Thank you so much for your help.
    This is greatly appreciated.
    We will put this into practice on our big spreadsheet and see how we get on.
    Once again, thank you for your help.

    SKWLTD.

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,002

    Re: Help with creating formula within a worksheet

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

+ 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. Creating a formula which will work if the worksheet name is changed
    By jo3810 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-29-2017, 06:16 PM
  2. Creating a Copy of a worksheet changes to new worksheet appear in previous worksheet
    By jermique98 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-03-2016, 02:37 PM
  3. [SOLVED] Creating a hyperlink to another worksheet based on IF formula
    By dosydos in forum Excel General
    Replies: 4
    Last Post: 03-01-2016, 03:42 PM
  4. Creating a user defined function based on a complex worksheet formula
    By Atul Maskara in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-24-2014, 09:36 AM
  5. [SOLVED] Creating Function Procedure to be used In Worksheet Formula
    By NS273 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-25-2014, 01:42 PM
  6. Creating formula/worksheet that tabulates points for votes
    By jbryant12 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 11-02-2013, 04:11 AM
  7. Creating a formula to add 30% to worksheet figures?
    By EasyTech in forum Excel General
    Replies: 13
    Last Post: 10-10-2008, 08:28 PM

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