+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Searching for values

  1. #1
    Registered User
    Join Date
    09-20-2008
    Location
    Mumbai,india
    Posts
    2

    Searching for values

    Hi
    what i would like to do is this
    a cloumn would contain a number that the user would enter..
    another cell should then search the value correspoding to the entered value in a particular column
    here is an example of what i want

    Please Login or Register  to view this content.
    basically everything in the result colum should come from the list that i would have specified elsewhere that coincides with the row no of the data entered in the data field
    i know this can be done using the nested if.. but with lots of values it becomes complicated

    i do hope i have been able to explain this properly..
    im new at excel .. just learning from the help files and experimenting

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887
    Hi Fuzail, and welcome to the forum.

    Perhaps this will work for you:

    Let's assume your data is laid out as shown, with numbers 1-4 in A1:A4, your Data (10,20,12,34) in B1:B4, and you want the Result(s) in C1:C4.

    Let's also assume your lookup list is in H1:H100.

    In C1 you could then use the formula:

    =INDEX($H$1:$H$100,B1)

    You can then fill that down column C as far as necessary. Give that a shot, adjusting the formulas as needed.

  3. #3
    Registered User
    Join Date
    09-20-2008
    Location
    Mumbai,india
    Posts
    2
    thanks pjoaquin for the welcome

    and thanks for teh solution as well.. works like a charm with the necessary modification ..

    umm i also have 1 more question,
    is it possible to have a cell that holds the current time ? it should update in real time, ie with the system clock..
    if such a thing were possible would help a lot since it would save me the hastle or getting the time stamp everytime..

  4. #4
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    re: Searching for values

    =NOW()
    Cell format: u:mm:ss
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

+ 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. Macro searching for the closest value
    By L9nicolas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-29-2008, 09:09 AM
  2. searching
    By gcsd_22 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-06-2008, 12:53 PM
  3. Need help with searching
    By Hojo52 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-27-2008, 01:19 PM
  4. data searching
    By sungpeng in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-16-2008, 02:22 AM
  5. Searching on two criteria
    By jdub765 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-14-2006, 04:44 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