+ Reply to Thread
Results 1 to 6 of 6

Formula Assistance--Not sure how to do this

Hybrid View

  1. #1
    Registered User
    Join Date
    02-20-2020
    Location
    Bakersfield, CA
    MS-Off Ver
    365
    Posts
    3

    Formula Assistance--Not sure how to do this

    This is probably very elementary, but I cannot find the answer anywhere online or it is not relevant to my issue. I need formulas that are essentially the same except for the data to return. All the needed data is 1) on a different worksheet within the same workbook, and 2) dependent upon the data in Column D. I need the formulas to return 1) "Weight (Each)" -- Column K, and 2) "Shipping included in price (per unit)" -- Column L. Thus, for Line 2, Column K should pull "1" and Column L should pull "$2.60". Rather than writing a "IF(D2=xxx" formula hundreds of times (I have almost a thousand different Items), how do I write this--again, sorry if this is elementary. I'm not new to Excel but this one has me stumped! Here is the spreadsheet (customer information has been blanked out for confidentiality purposes), and the worksheet with the needed data (Column A for item, Column B for weight, Column C for shipping cost). Thank you in advance! Have a great day!
    Attached Images Attached Images

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,807

    Re: Formula Assistance--Not sure how to do this

    assuming the table is in sheet2 columns A,b & C

    to pull back the number from column B

    IN K

    index(sheet2!$B:$B, match(sheet1!$D2,sheet2!$A:$A,0))

    to pull back the number from column C

    IN L

    index(sheet2!$C:$C, match(sheet1!$D2,sheet2!$A:$A,0))

    easier if you attach a sample spreadsheet
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    02-20-2020
    Location
    Bakersfield, CA
    MS-Off Ver
    365
    Posts
    3

    Re: Formula Assistance--Not sure how to do this

    Hi Wayne, and THANK YOU!

    I tried this approach and nothing happened, I know I am doing something wrong. I've attached a workable sample worksheet for reference.

    Thanks for your time, it is much appreciated!!!!!

    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-08-2017
    Location
    Virginia
    MS-Off Ver
    2010
    Posts
    77

    Re: Formula Assistance--Not sure how to do this

    Hey KelleyAnn1018

    Let me know if this works for you. I had to add a formula to Sheet2 which is what my vlookup is based off of on Sheet1. I also tested this with some of the more complicated identifiers that you have towards the bottom of Sheet2 in (Now) Column B.

    It seems to work fine with those. I can't guarantee that it will work with some of those more complicated ones, but I know it works for the ones starting with "AK-" and a few of the others. Let me know if this gets you started at least. I'm happy to try to tweak this if it's not handling all of them.

    Thanks!
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-20-2020
    Location
    Bakersfield, CA
    MS-Off Ver
    365
    Posts
    3

    Re: Formula Assistance--Not sure how to do this

    Thank you thank you thank you this works!!!!

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Formula Assistance--Not sure how to do this

    Hi KelleyAnn1018,

    Glad you have found your solution, but please follow out forum rules next time about thread titles.

    Administrative Note:

    Welcome to the forum.

    We would love to help you with your query; however, the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly.

    To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    HTH
    Regards, Jeff

+ 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. [SOLVED] If formula assistance
    By dprobst in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-14-2018, 10:12 AM
  2. [SOLVED] assistance to merge 2 formula trim, substitute, len as one formula
    By JEAN1972 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-06-2017, 05:37 AM
  3. Excel formula - need assistance with challenging formula or table
    By m masi in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-05-2017, 08:19 AM
  4. Assistance with CountIF formula and additional formula conditions
    By solios in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-18-2016, 01:46 PM
  5. Formula Assistance
    By Dawn V in forum Excel General
    Replies: 10
    Last Post: 03-31-2008, 11:32 AM
  6. Need assistance with a particular formula....
    By dmellano in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-01-2007, 02:33 PM
  7. Formula Assistance
    By Randy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-05-2006, 02:50 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