+ Reply to Thread
Results 1 to 7 of 7

Creating a function while incorporating name ranges?

  1. #1
    Registered User
    Join Date
    03-06-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    59

    Creating a function while incorporating name ranges?

    I am trying to create a function that will get the Category in the second row of my Size_Category_List array while using the Weight field as the lookup value.
    So really what I would like to do is on my Shipping Data sheet in I16 whatever the weight is to correspond to a matching size category which is found on the Input Data sheet starting at A24. I tried using HLOOKUP with no luck.
    Attached Files Attached Files
    Last edited by BillJo; 03-28-2015 at 02:32 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    11-12-2014
    Location
    Nottingham
    MS-Off Ver
    2013
    Posts
    383

    Re: Creating a function while incorporating name ranges?

    =LOOKUP(H16,'Input Data'!$B$25:$D$25,'Input Data'!$B$26:$D$26)

    Obviously need to autofill downwards from I16

  3. #3
    Registered User
    Join Date
    03-06-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    59

    Re: Creating a function while incorporating name ranges?

    Oh Okay I see thank you.

  4. #4
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: Creating a function while incorporating name ranges?

    Create Named Range: Weight2 as
    Please Login or Register  to view this content.
    On Shipping Data sheet in I16 enter
    Please Login or Register  to view this content.
    Or as ARowbot did

  5. #5
    Registered User
    Join Date
    03-06-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    59

    Re: Creating a function while incorporating name ranges?

    Thanks for that suggestion as well

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Creating a function while incorporating name ranges?

    Or, using INDEX/MATCH

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Creating a function while incorporating name ranges?

    Thanks for the rep.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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] incorporating a cell value in an IF Function
    By Charters in forum Excel General
    Replies: 5
    Last Post: 06-20-2014, 01:11 AM
  2. Incorporating the results of a MAX function in to an OFFSET Function
    By tennisbuff in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-17-2013, 01:10 PM
  3. Referencing cells vs incorporating in function
    By ARayburn in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-11-2013, 03:28 PM
  4. Subtotal while Incorporating IF function Formula
    By mbnewton1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-21-2013, 10:57 PM
  5. [SOLVED] Incorporating a CountIF function into VBA
    By jbumps in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-14-2012, 06:21 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