+ Reply to Thread
Results 1 to 7 of 7

Combining vlookup and hlookup (urgent) :'(

  1. #1
    Registered User
    Join Date
    05-15-2015
    Location
    Indonesia
    MS-Off Ver
    2010
    Posts
    3

    Combining vlookup and hlookup (urgent) :'(

    Hey Guys, This is my first post so dont be hard to me, i just got an assignment my boss told me to use VLOOKUP and HLOOKUP to combine her formula so it'll make it easier for her to set her price on her product..

    SampleTxT.xlsx

    As you can see on that file, she want me to make it simple for her to know the price of (For example : if she put operative pack with 450 employee she can get the price 30000 and 15 user and 80 ESS) and

    she wanted it if the employee 500 << that data will automatically goes to 30000 Price (Operative) if the employee 501 >>> that data will automatically goes to 40000 Price, 30 User, 160ESS

    And the other way around PAyroll pack employee 5001 The Price will be 60000, name user will be Unlimited, ESS wil be unlimited...







    SOrry for my english X_x..

  2. #2
    Valued Forum Contributor
    Join Date
    08-06-2013
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2013
    Posts
    671

    Re: Combining vlookup and hlookup (urgent) :'(

    Having the ranges in the same cell stores them as text instead of numbers and makes them hard to work with. I've added another row to fix this. After that, you could use HLOOKUP and VLOOKUP, but I have a personal preferences for INDEX and MATCH so that's what I used.
    Attached Files Attached Files
    1. Include a sample workbook with an example of the result you want
    2. Use [CODE] and [FORMULA] wrappers for your VBA code or excel formulas
    3. If your question has been answered, mark the thread as SOLVED and click on the "Add Rep" star to thank whoever helped you.

  3. #3
    Forum Contributor jayajaya_4's Avatar
    Join Date
    05-09-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    259

    Re: Combining vlookup and hlookup (urgent) :'(

    sumthing like this???

    =IF(B22<=500,B24&B30&B31,IF(C22>500,C24&C30&C31,IF(D22>1000,D24&D30&D31,IF(E22="unlimited",E24&E30&E31))))

  4. #4
    Registered User
    Join Date
    05-15-2015
    Location
    Indonesia
    MS-Off Ver
    2010
    Posts
    3

    Re: Combining vlookup and hlookup (urgent) :'(

    Quote Originally Posted by k64 View Post
    Having the ranges in the same cell stores them as text instead of numbers and makes them hard to work with. I've added another row to fix this. After that, you could use HLOOKUP and VLOOKUP, but I have a personal preferences for INDEX and MATCH so that's what I used.

    First of all thanks to you, for your time to solve this man, you made my day...
    I Guess i should learn more about Excel, you really are awesome man..

  5. #5
    Registered User
    Join Date
    05-15-2015
    Location
    Indonesia
    MS-Off Ver
    2010
    Posts
    3

    Re: Combining vlookup and hlookup (urgent) :'(

    Quote Originally Posted by jayajaya_4 View Post
    sumthing like this???

    =IF(B22<=500,B24&B30&B31,IF(C22>500,C24&C30&C31,IF(D22>1000,D24&D30&D31,IF(E22="unlimited",E24&E30&E31))))
    I'm sorry man, i'm noob in excel, so i dont really get it where to put those formula, but thanks again i appreciate your effort for helping me solving this prob

  6. #6
    Forum Contributor jayajaya_4's Avatar
    Join Date
    05-09-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    259

    Re: Combining vlookup and hlookup (urgent) :'(

    but unfortunately mine was not the right approach and thanks for appreciating it...

    k64 had helped u well

  7. #7
    Valued Forum Contributor
    Join Date
    08-06-2013
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2013
    Posts
    671

    Re: Combining vlookup and hlookup (urgent) :'(

    Quote Originally Posted by Klovers View Post
    First of all thanks to you, for your time to solve this man, you made my day...
    I Guess i should learn more about Excel, you really are awesome man..
    Thanks. Glad I could help! Excel really can do a lot.

+ 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. Combining VLOOKUP and HLOOKUP ?
    By fannta in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-27-2015, 12:16 PM
  2. Combining two worksheets using Vlookup and Hlookup.
    By lovinguy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-07-2014, 09:52 AM
  3. Combining Vlookup with Hlookup
    By Mugendi in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-05-2014, 08:32 AM
  4. Vlookup & Hlookup combining separate workboo
    By Amak30 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-02-2010, 10:28 AM
  5. Replies: 4
    Last Post: 10-28-2009, 04:28 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