Array formula
Results 1 to 8 of 8

Thread: Array formula
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    New Member
    Join Date
    Jan 2005
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Angry Array formula

    I have Excel 16 on MacBook
    I need to be able to search 2 columns and if there is a match to move the corresponding value in a third column to a fourth column
    Example If column A6 has a value equal to column B8 then I want to move the value in column C8 to column D8

  2. #2
    MrExcel MVP
    Moderator
    Fluff's Avatar
    Join Date
    Jun 2014
    Location
    Chippenham
    Posts
    26,841
    Post Thanks / Like
    Mentioned
    459 Post(s)
    Tagged
    45 Thread(s)

    Default Re: Array formula

    How about
    =IF(ISNUMBER(MATCH(B1,$A$1:$A$20,0)),C1,"")
    - Posting Data try one of these tools
    - Posting guidelines, forum rules and terms of use
    - Read the FAQs

    Running Office 365 on Win 10

  3. #3
    New Member
    Join Date
    Jan 2005
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Array formula

    Quote Originally Posted by Fluff View Post
    How about
    =IF(ISNUMBER(MATCH(B1,$A$1:$A$20,0)),C1,"")
    Hi Fluff many thanks for your prompt reply.
    I don't think I was very clear with my description maybe this will make it clearer. C2 matches A1 so move B1 to D2

    AAAA Closed EEEE
    BBBB Open AAAA Closed
    CCCC Closed GGGG
    DDDD Open CCCC Closed

  4. #4
    MrExcel MVP
    Moderator
    Fluff's Avatar
    Join Date
    Jun 2014
    Location
    Chippenham
    Posts
    26,841
    Post Thanks / Like
    Mentioned
    459 Post(s)
    Tagged
    45 Thread(s)

    Default Re: Array formula

    In that case try
    =INDEX($B$1:$B$20,MATCH(C1,$A$1:$A$20,0))
    - Posting Data try one of these tools
    - Posting guidelines, forum rules and terms of use
    - Read the FAQs

    Running Office 365 on Win 10

  5. #5
    Board Regular DanteAmor's Avatar
    Join Date
    Dec 2018
    Location
    México
    Posts
    5,686
    Post Thanks / Like
    Mentioned
    64 Post(s)
    Tagged
    14 Thread(s)

    Default Re: Array formula

    How about

    =VLOOKUP(C1,$A$1:$B$20,2,0)
    Regards Dante Amor

  6. #6
    New Member
    Join Date
    Jan 2005
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Array formula

    Hi Fluf and DanteAmor thank you so much for your assistance, greatly appreciated

  7. #7
    MrExcel MVP
    Moderator
    Fluff's Avatar
    Join Date
    Jun 2014
    Location
    Chippenham
    Posts
    26,841
    Post Thanks / Like
    Mentioned
    459 Post(s)
    Tagged
    45 Thread(s)

    Default Re: Array formula

    You're welcome & thanks for the feedback
    - Posting Data try one of these tools
    - Posting guidelines, forum rules and terms of use
    - Read the FAQs

    Running Office 365 on Win 10

  8. #8
    Board Regular DanteAmor's Avatar
    Join Date
    Dec 2018
    Location
    México
    Posts
    5,686
    Post Thanks / Like
    Mentioned
    64 Post(s)
    Tagged
    14 Thread(s)

    Default Re: Array formula

    I'm glad to help you. Thanks for the feedback.
    Regards Dante Amor

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •