+ Reply to Thread
Results 1 to 5 of 5

Formula to look for value into several columns.

  1. #1
    Registered User
    Join Date
    06-03-2013
    Location
    Matamoros, Mexico
    MS-Off Ver
    Excel 2007
    Posts
    52

    Question Formula to look for value into several columns.

    Hello to all -

    I am trying to perform a VLOOKUP in the following table:

    VLookup.png

    In cell F2, I select the week (i.e. Week 9). In F3, I need formula that returns the 1st value the column Week 9 (7,000). In F4 the 2nd value (15,500). In F5 the 3rd value (2,500) and so on.

    If I change the Week, returns the corresponding values of the corresponding column.

    I will appreciate very much this big favor. Due to Security Settings, please no VBA Code.

    Best regards to all and please have a great day and an excellent weekend.
    (Saludos cordiales a todos y que tengan un gran día y un excelente fin de semana).

    SamCV.
    Matamoros, Mexico.

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to look for value into several columns.

    Try this one

    =HLOOKUP(F2,$A$1:$E$2,2,0)
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    06-03-2013
    Location
    Matamoros, Mexico
    MS-Off Ver
    Excel 2007
    Posts
    52

    Re: Formula to look for value into several columns.

    Hello Alkey -

    Thank you for the prompt answer!!!

    The formula worked very well. I modified it a little bit and added a help column to indicate the lookup row. In my case, column A is my help column.

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


    VLookup.png

    I appreciate very much you help. I had added reputation to you and will mark this thread as Solve.

    The best of days to you.

    SamCV.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to look for value into several columns.

    You're welcome and thank you for the feedback!

    Please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools-> Mark thread as Solved).

  5. #5
    Banned User!
    Join Date
    10-29-2012
    Location
    Europe
    MS-Off Ver
    2013, 2016
    Posts
    318

    Re: Formula to look for value into several columns.

    Quote Originally Posted by SamCV View Post
    Hello Alkey -

    Thank you for the prompt answer!!!

    The formula worked very well. I modified it a little bit and added a help column to indicate the lookup row. In my case, column A is my help column.

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


    Attachment 304482

    I appreciate very much you help. I had added reputation to you and will mark this thread as Solve.

    The best of days to you.

    SamCV.
    It was not necessary an additional column. You could use this formula:

    = HLOOKUP($F$2,$A$2:$E$10,ROW()-1,0)

+ 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. Replies: 6
    Last Post: 05-30-2013, 04:58 PM
  2. Columns H is seek help than I want the formula in Columns J to show Fail
    By wykoems in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-05-2013, 01:45 PM
  3. Increment columns in INDEX and MATCH formula - ROWS and COLUMNS
    By nickmangan in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2012, 10:38 AM
  4. Replies: 1
    Last Post: 04-06-2012, 12:24 AM
  5. Formula to align two columns with nearly similar text and attached numeric columns
    By Benefits Recon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2012, 12:03 AM

Tags for this Thread

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