+ Reply to Thread
Results 1 to 6 of 6

Find and Replace Arrays

  1. #1
    Registered User
    Join Date
    10-24-2008
    Location
    canada
    Posts
    6

    Find and Replace Arrays

    I will explain my problem using a simpler example.
    I have a worksheet "A" that contains a bunch of different number in each cell in one column.
    Worksheet "b" has a column "BA" of those number and beside that is a column "BB" that has texts.
    so basically i want to find and replace all numbers for text, using that two columns from worksheet "B" as a decoder kind of thing. It would be very menial to use the find and replace functions because it can only look for one thing at a time, while i have to do 1000's.

    Is there a function/Vb/formula that can do this for me?

  2. #2
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387
    s2nguyen,

    Please attach a sample of your workbook, with data in both sheets.


    Have a great day,
    Stan
    Last edited by stanleydgromjr; 10-24-2008 at 04:48 PM.

  3. #3
    Registered User
    Join Date
    10-24-2008
    Location
    canada
    Posts
    6

    Datasheet

    So column A has the data, in column b i want it to put the number correlating to that from column e and f. so for example it would find "1" (A31) in data cell and put "3056" in cell (B31) using the find and replace codes on the side,
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-24-2008
    Location
    canada
    Posts
    6
    i tried =IF(A2=E2:E157, F2:F157, "Not found"), but doesn't work, maybe in conjunction with sum products?

  5. #5
    Registered User
    Join Date
    06-18-2008
    Posts
    6

    Try Using the LookUp function

    If I am understanding what you are asking for, try using the following formula in your column B of your sample file submitted above:
    Please Login or Register  to view this content.
    The lookup function looks at what is in the A column and then finds that value in column E, which needs to be in alphabetical/sequential order, and then gets the corresponding value for that row from column F.

    John
    Last edited by SSN651; 10-28-2008 at 08:47 PM.

  6. #6
    Registered User
    Join Date
    10-24-2008
    Location
    canada
    Posts
    6
    Thanks, I have never used that function before

+ 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