+ Reply to Thread
Results 1 to 2 of 2

Help! Formula needed.

  1. #1
    Samrasr
    Guest

    Help! Formula needed.

    Below is an example of data in my excel sheet.
    A B C D E F
    Cell 1 ?
    cell 2 Steve 1 to 10 13/2/04 britain
    cell 3 Raj 11 to 17 15/2/04 india
    cell 4 Ricky 18 to 35 14/2/04 Spain

    Now if i enter a numerical value in A1 (where '?' is), i need a formula
    which will check the column B and produce a result as desired below
    Entery number = 9 then print "Steve 1 to 10 13/2/04 britain"
    Entery number = 12 then print "Raj 11 to 17 15/2/04 india"
    Entery number = 19 then print "Ricky 18 to 35 14/2/04 Spain"

    Please explain in step by step process, and in detail, im really a novice.

    Please help find me find the formula that solves this problem. thanks

    Ricky Samras
    --
    Ricky Samras

  2. #2
    JE McGimpsey
    Guest

    Re: Help! Formula needed.

    If you really mean "print", You'll need a macro - is that what you want?
    If you mean to put (for an entry in A1 of 9)

    Steve 1 to 10 13/2/04 britain

    into six cells across in a row, then enter this in the leftmost cell:

    =INDEX(A$1:A$4,MATCH($A$1,$B$1:$B$4,TRUE))

    then drag the fill handle (lower right corner of the cell) across five
    cells to the right.




    In article <[email protected]>,
    "Samrasr" <[email protected]> wrote:

    > Below is an example of data in my excel sheet.
    > A B C D E F
    > Cell 1 ?
    > cell 2 Steve 1 to 10 13/2/04 britain
    > cell 3 Raj 11 to 17 15/2/04 india
    > cell 4 Ricky 18 to 35 14/2/04 Spain
    >
    > Now if i enter a numerical value in A1 (where '?' is), i need a formula
    > which will check the column B and produce a result as desired below
    > Entery number = 9 then print "Steve 1 to 10 13/2/04 britain"
    > Entery number = 12 then print "Raj 11 to 17 15/2/04 india"
    > Entery number = 19 then print "Ricky 18 to 35 14/2/04 Spain"
    >
    > Please explain in step by step process, and in detail, im really a novice.
    >
    > Please help find me find the formula that solves this problem. thanks
    >
    > Ricky Samras


+ 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