+ Reply to Thread
Results 1 to 10 of 10

Lookup Column with a Value

  1. #1
    Registered User
    Join Date
    06-19-2009
    Location
    Maryland, United States
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    8

    Lookup Column with a Value

    Hi,

    I am interested in doing the following:

    Look up column # that has a value, for example, Column D has a value at Row 6. So on cell B6, I want to search all of row 6 and find out that Column D has the value.

    Thank you for your help!

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Lookup Column with a Value

    for example, Column D has a value at Row 6. So on cell B6, I want to search all of row 6 and find out that Column D has the value.
    after column B, you want to search column D's value in entire row 6...... correct?



    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey
    +91 9810929744
    dilipandey@gmail.com

  3. #3
    Registered User
    Join Date
    06-19-2009
    Location
    Maryland, United States
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    8

    Re: Lookup Column with a Value

    Basically, column c through colum f has a value. Only one column has a value, and I want to find out which column that is.

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Lookup Column with a Value

    Okay.. try using below formula:-

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


    enter this with key combination: ctrl shift enter.

    column has value.xlsx
    Regards,
    DILIPandey
    <click on below * if this helps>

  5. #5
    Registered User
    Join Date
    06-19-2009
    Location
    Maryland, United States
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    8

    Re: Lookup Column with a Value

    That wont work. I'm not sure how many columns there are or their reference. C through f was just a hypothetical.

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Lookup Column with a Value

    Okay... then instead of typing {3,4,5,6},{"c","d","e","f"} in the formula, you can reference the full list after typing them in a column

    But yes.. somewhere you need to type the column name as for excel column a is 1 and column b is 2 and so on. Thanks.

    Regards,
    DILIPandey
    <click on below * if this helps>

  7. #7
    Forum Contributor
    Join Date
    12-23-2003
    Posts
    179

    Re: Lookup Column with a Value

    Quote Originally Posted by parora86 View Post
    Hi,

    I am interested in doing the following:

    Look up column # that has a value, for example, Column D has a value at Row 6. So on cell B6, I want to search all of row 6 and find out that Column D has the value.

    Thank you for your help!

    Either:

    Control+shift+enter, not just enter...

    =MATCH(TRUE,6:6<>"",0)

    or...

    =MATCH(9.99999999999999E+307,6:6)

    or

    =MATCH(REPT("z",255),6:6)

  8. #8
    Registered User
    Join Date
    06-19-2009
    Location
    Maryland, United States
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    8

    Re: Lookup Column with a Value

    Thank you, that's just what I needed. One more question, what if now I want to reference that column and row 1. Example, column d row 6 has a value. And now in cell b6 I want to display the value that's in column d (column with value) and row 1. Hope this makes sense. The inverter for my laptop blew out otherwise I would post an example of what I'm trying to do.

  9. #9
    Registered User
    Join Date
    06-19-2009
    Location
    Maryland, United States
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    8

    Re: Lookup Column with a Value

    Solved it using index formula!

    Thanks Aladin for getting me started.

  10. #10
    Forum Contributor
    Join Date
    12-23-2003
    Posts
    179

    Re: Lookup Column with a Value

    You are welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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