+ Reply to Thread
Results 1 to 20 of 20

HLookup with and function

  1. #1
    Registered User
    Join Date
    10-29-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2016
    Posts
    24

    HLookup with and function

    Hi Can anybody help me to create a formula: as per the attached file,
    1. cell R6 will be a drop down menu of a, b & c
    2. whenever a b or c is selected in R6 the corresponding values of 1, 2 3 should be appeared in S6, T6 & U6 respectively
    3. Also suggest incase of d, e, f ...... are joining in the data.

    Thanks in advance.

    Raj
    Attached Files Attached Files

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,371

    Re: HLookup with and function

    Hi there, hope this works


    cheers
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: HLookup with and function

    you use merged cells in your file , don't use them, you get in trouble with it sooner or later.

    your example don't mach your question.

    your have 4 columns of data. In your text you refer to 3 columns.

    column 4 is not needed?

    P.s. I don't see the dropdown in cell S6
    Last edited by oeldere; 08-22-2014 at 03:31 AM.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Registered User
    Join Date
    10-29-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2016
    Posts
    24

    Re: HLookup with and function

    Noted about the Merging Cells.

    Secondly Yes, my thought was if 4th column is required can copy and paste the formula from left.........

  5. #5
    Registered User
    Join Date
    10-29-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2016
    Posts
    24

    Re: HLookup with and function

    Dear Azumi,

    Thanks for your reply, sorry if am not clear my question, I want to establish this formula row wise. I mean, I want to select 'a' in 6th row, 'b' in 7th row and like...

    Can you please revise your formula.

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: HLookup with and function

    s6=
    Please Login or Register  to view this content.
    See the attached file.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-29-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2016
    Posts
    24

    Re: HLookup with and function

    Thanks for a very simple solution, though I was not expecting to have a1, a2......

    Thanks again.

  8. #8
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: HLookup with and function

    try this

    with small changes

    Punnam
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: HLookup with and function

    @rajasekhargvd

    Please Login or Register  to view this content.
    You get several replies, so it is usefull to the (other) forummembers, to add to whom you are replying.

    If you comment to me (oeldere), please explain your comment below, since I don't understand that comment.

    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    10-29-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2016
    Posts
    24

    Re: HLookup with and function

    Quote Originally Posted by Punnam View Post
    try this

    with small changes

    Punnam
    As I wanted to keep sanitized version I have renamed to 'a', 'b', 'c', '1', '2', '3', '4'......... but these are names of different categories and series, hence don't think the 'Sumif' function will be an idle solution. can you help me without bothering about the headings....

  11. #11
    Registered User
    Join Date
    10-29-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2016
    Posts
    24

    Re: HLookup with and function

    Quote Originally Posted by oeldere View Post
    @rajasekhargvd

    Please Login or Register  to view this content.
    You get several replies, so it is usefull to the (other) forummembers, to add to whom you are replying.

    If you comment to me (oeldere), please explain your comment below, since I don't understand that comment.

    Please Login or Register  to view this content.
    I mean, I don't want use like 'a1', 'a2' etc., as the 'a', 'b', '1', '2' etc., are just used in the place of names of categories and series. in this scenario I might need to have a dummy row with 'concatente' of those.

  12. #12
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: HLookup with and function

    Quote Originally Posted by rajasekhargvd View Post
    As I wanted to keep sanitized version I have renamed to 'a', 'b', 'c', '1', '2', '3', '4'......... but these are names of different categories and series, hence don't think the 'Sumif' function will be an idle solution. can you help me without bothering about the headings....
    In that case you should clarify the below
    1) Was "A" name is common for all the three sub division 1 2 3 4
    2) 1,2,3,4 are they same for a,b,c
    3) IF not same weather it is possible for us match them
    4) What is the logic between A & 1,2,3&4
    Punnam

  13. #13
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: HLookup with and function

    I mean, I don't want use like 'a1', 'a2' etc., as the 'a', 'b', '1', '2' etc., are just used in the place of names of categories and series. in this scenario I might need to have a dummy row with 'concatente' of those.

    OK, but what is the problem with that?

    Post 10
    As I wanted to keep sanitized version I have renamed to 'a', 'b', 'c', '1', '2', '3', '4'......... but these are names of different categories and series, hence don't think the 'Sumif' function will be an idle solution. can you help me without bothering about the headings....

    And did you try the solution of Punnam with the names changed?
    I believe they should work.

    Pleasse reply on both questions.

  14. #14
    Registered User
    Join Date
    10-29-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2016
    Posts
    24

    Re: HLookup with and function

    Quote Originally Posted by Punnam View Post
    In that case you should clarify the below
    1) Was "A" name is common for all the three sub division 1 2 3 4
    2) 1,2,3,4 are they same for a,b,c
    3) IF not same weather it is possible for us match them
    4) What is the logic between A & 1,2,3&4
    Punnam
    Please find here below the clarifications:
    1 - Yes, 'a' is having 4 sub-divisions called 1,2,3,4
    2 - Yes, 1,2,3,4 are same for a,b,c.....
    3 - Those are same
    4 - No specific logic only 1, 2, 3, 4 are unique sub divisions of a, b, c...

    Hope this clarifies your queries.

  15. #15
    Registered User
    Join Date
    10-29-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2016
    Posts
    24

    Re: HLookup with and function

    Quote Originally Posted by oeldere View Post
    I mean, I don't want use like 'a1', 'a2' etc., as the 'a', 'b', '1', '2' etc., are just used in the place of names of categories and series. in this scenario I might need to have a dummy row with 'concatente' of those.

    OK, but what is the problem with that?

    Post 10
    As I wanted to keep sanitized version I have renamed to 'a', 'b', 'c', '1', '2', '3', '4'......... but these are names of different categories and series, hence don't think the 'Sumif' function will be an idle solution. can you help me without bothering about the headings....

    And did you try the solution of Punnam with the names changed?
    I believe they should work.

    Pleasse reply on both questions.
    1 - As I already mentioned the only issue would be having a dummy row
    2 - I tried and it is not working when I replace the 1, 2, 3, 4 with names (text)

  16. #16
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: HLookup with and function

    If that the case y cant u use my solution by just change the value of A,B,C in the
    Un merging ? was it compulsory to be merge .
    Punnam

  17. #17
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: HLookup with and function

    1 - As I already mentioned the only issue would be having a dummy row

    And that is an issue to you (having an extra row)?

    You could hide that row if you like.


    2 - I tried and it is not working when I replace the 1, 2, 3, 4 with names (text)

    and the names in the rows AND in the drop down cells are 100% equal?

    Check that first, and if so (whatch also leading or trailing spaces), post the file with an example.

    first make a dropdownlist as you noticed in your file.

  18. #18
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: HLookup with and function

    Hi,

    See this can be done in many approach's but what we like to provide a simple one, as the same will be easy to work and modify
    U can try this if work fine it need to follow few instructions

    Punnam
    Attached Files Attached Files

  19. #19
    Registered User
    Join Date
    10-29-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2016
    Posts
    24

    Re: HLookup with and function

    Quote Originally Posted by Punnam View Post
    Hi,

    See this can be done in many approach's but what we like to provide a simple one, as the same will be easy to work and modify
    U can try this if work fine it need to follow few instructions

    Punnam
    Thanks Punnam, it worked well - I made a small change in the formula '$N$6' changed to '$N6' to make sure that the next row will not dependent on the row 6.
    Thanks a lot - I didn't expected that this can be done without 'HLookup'.!!!

  20. #20
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: HLookup with and function

    HI Rajasekhar,

    u r welcome . if u question answered/Solved mark the thread solved and u can tank one who helped you by adding some reputation points.
    This can be done by Star Button "Add Reputation" .on left corner of any of my posts .

    Punnam

+ 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. HLOOKUP function
    By tonykyte in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-19-2014, 03:39 PM
  2. Using Hlookup within the RSQ function
    By kjfitzsi in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-13-2013, 04:24 PM
  3. [SOLVED] hlookup function help
    By Ozyr in forum Excel General
    Replies: 2
    Last Post: 01-05-2013, 06:33 PM
  4. HLOOKUP FUNCTION
    By Effie in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-24-2005, 11:06 AM
  5. HLookUp Function
    By Louise in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-25-2005, 01:06 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