+ Reply to Thread
Results 1 to 7 of 7

Possible to find value in 1 column and paste over into another?

  1. #1
    Registered User
    Join Date
    10-03-2012
    Location
    Near Tampa, Florida
    MS-Off Ver
    | Work: 2007 | Home: 2013 |
    Posts
    25

    Possible to find value in 1 column and paste over into another?

    I've tried researching myself but my knowledge of excel advanced methods are still out of my reach. I can copy and paste but I'm unfamiliar with how to write anything myself.
    What I am trying to do is edit the information in column b. To explain it the easier way I know how would be to read Column A and compare it to column B. Select each box of Column B that matches A. So you see here Column B is a list ranging from 1-10. Let's say it goes from 1-1000 in order. In Column A I have 10 values that I want to find in Column B. Instead of scolling down through the list I was looking for a way to automate the selection.

    If this is possible then I'll be much appreciative. If it's also possible to automatically rename those selecting boxes "tif" to "jpg" then that would be even more amazing. Thank you for even reading this.



    PHP Code: 
    DOCUMENTS-000021    IM,DOCUMENTS-000001,D,0,@Export;THNelsonClaim\IMG_0000001;DOCUMENTS-000001.tif;2,0
    DOCUMENTS
    -000036    IM,DOCUMENTS-000002,,0,@Export;THNelsonClaim\IMG_0000001;DOCUMENTS-000002.tif;2,0
    DOCUMENTS
    -000037    IM,DOCUMENTS-000003,,0,@Export;THNelsonClaim\IMG_0000001;DOCUMENTS-000003.tif;2,0
    DOCUMENTS
    -000039    IM,DOCUMENTS-000004,,0,@Export;THNelsonClaim\IMG_0000001;DOCUMENTS-000004.tif;2,0
    DOCUMENTS
    -000041    IM,DOCUMENTS-000005,,0,@Export;THNelsonClaim\IMG_0000001;DOCUMENTS-000005.tif;2,0
    DOCUMENTS
    -000042    IM,DOCUMENTS-000006,,0,@Export;THNelsonClaim\IMG_0000001;DOCUMENTS-000006.tif;2,0
    DOCUMENTS
    -000045    IM,DOCUMENTS-000007,,0,@Export;THNelsonClaim\IMG_0000001;DOCUMENTS-000007.tif;2,0
    DOCUMENTS
    -000046    IM,DOCUMENTS-000008,,0,@Export;THNelsonClaim\IMG_0000001;DOCUMENTS-000008.tif;2,0
    DOCUMENTS
    -000047    IM,DOCUMENTS-000009,,0,@Export;THNelsonClaim\IMG_0000001;DOCUMENTS-000009.tif;2,0
    DOCUMENTS
    -000048    IM,DOCUMENTS-000010,,0,@Export;THNelsonClaim\IMG_0000001;DOCUMENTS-000010.tif;2,

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,625

    Re: Possible to find value in 1 column and paste over into another?

    edit: deleted, location fixed.
    -----------------------------
    Post a workbook. the sample you posted isn't in Excel format, no one can tell what the columns are.
    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    Last edited by protonLeah; 10-03-2012 at 07:13 PM.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    10-03-2012
    Location
    Near Tampa, Florida
    MS-Off Ver
    | Work: 2007 | Home: 2013 |
    Posts
    25

    Re: Possible to find value in 1 column and paste over into another?

    I wasn't aware it was public. Fixed. Thanks. Haha.

  4. #4
    Registered User
    Join Date
    10-03-2012
    Location
    Near Tampa, Florida
    MS-Off Ver
    | Work: 2007 | Home: 2013 |
    Posts
    25

    Re: Possible to find value in 1 column and paste over into another?

    Here is an excel file.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-03-2012
    Location
    Near Tampa, Florida
    MS-Off Ver
    | Work: 2007 | Home: 2013 |
    Posts
    25

    Re: Possible to find value in 1 column and paste over into another?

    With reference to the above excel. The end result I am trying to accomplish here is finding A1, B1, C1, etc in column B and renaming "tif;2,0" to "jpg;4,0".

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,625

    Re: Possible to find value in 1 column and paste over into another?

    column C:
    Please Login or Register  to view this content.
    MATCH(MID(B36,4,15),A:A,0) looks down column A for the DOCUMENT-XXXXXX substring of column B. If the value is found, it returns the row number, else it returns #N/A.
    If it returns #N/A, the ISNA() function is therefore, TRUE, so the IF results in "" (null or empty) in the cell. If MATCH returns a row number then ISNA is FALSE and the IF evaluates
    SUBSTITUTE(B1,"tif;2","jpg;4") which simply replaces the tif... with jpg...
    Attached Files Attached Files
    Last edited by protonLeah; 10-04-2012 at 05:19 PM.

  7. #7
    Registered User
    Join Date
    10-03-2012
    Location
    Near Tampa, Florida
    MS-Off Ver
    | Work: 2007 | Home: 2013 |
    Posts
    25

    Re: Possible to find value in 1 column and paste over into another?

    You're beautiful. That's absolutely perfect. Thank you very much.

+ 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