+ Reply to Thread
Results 1 to 6 of 6

Matching Two Conditions and Copying a cell from a Matched condition Formula

  1. #1
    Registered User
    Join Date
    04-15-2009
    Location
    toronto, canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Matching Two Conditions and Copying a cell from a Matched condition Formula

    Hello Everyone, I am trying to update an old list with a current one. What I am trying to do is If a New Field matches the Old Field Copy the field next to the old Field Into a New cell. I have been able to match the two fields, although I cannot seem to figure out how to copy over the field next to the field I am Matching.

    Here is the condition I am trying to use.
    Please Login or Register  to view this content.
    It seems that the part where it says G2 Not correct because when I apply it to all of the colums the G2 Part just goes up by one ex G3, G4 etc instead of copying the field next to the appropriate F field. Please help me
    Last edited by falcons7; 04-15-2009 at 02:00 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Excel Forumula Issue

    Your post does not comply with Rule 5 of our Forum RULES. We have Seven question forums: Miscellaneous, General, Programming, Worksheet Functions, Charting, Excel 2007 Help and New Users. Please choose the appropriate forum, and post your question in ONLY one forum.

    Moved to Functions Forum
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Matching Two Conditions and Copying a cell from a Matched condition Formula

    try
    =IF(ISERROR(MATCH(A2,$F$2:$F$332,0)),"",INDEX(F2:$G$332,MATCH(A2,$F$2:$F$332,0),2))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    04-15-2009
    Location
    toronto, canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Matching Two Conditions and Copying a cell from a Matched condition Formula

    Quote Originally Posted by martindwilson View Post
    try
    =IF(ISERROR(MATCH(A2,$F$2:$F$332,0)),"",INDEX(F2:$G$332,MATCH(A2,$F$2:$F$332,0),2))
    Thanks martindwilson,
    Although when i try to apply this to all the cells the INDEX(F2 section goes up by one also. Thus messing up the output, can this be stopped with just the a2 in both spots go up by one?

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Matching Two Conditions and Copying a cell from a Matched condition Formula

    oops left off a couple of $'s
    =IF(ISERROR(MATCH(A2,$F$2:$F$332,0)),"",INDEX($F$2:$G$332,MATCH(A2,$F$2:$F$332,0),2))

  6. #6
    Registered User
    Join Date
    04-15-2009
    Location
    toronto, canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Matching Two Conditions and Copying a cell from a Matched condition Formula

    Thank You SOOOOOOO 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