• Match Columns from two sheets get results

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Match Columns from two sheets get results

    Author
    Topic
    #503168

    Hi All,
    Help to match two columns from Main sheet & Data sheet ( Columns A & B ) with formula and get the results in Main sheet based on Main sheet A & B Columns?

    Viewing 1 reply thread
    Author
    Replies
    • #1537515

      Farrukh

      In cell M3 on worksheet Main, place the following formula then copy down:

      =SUMPRODUCT(Data!$C$3:$C$14*((Data!$A$3:$A$14=Main!A3)*(Data!$B$3:$B$14=Main!B3)))

      HTH,
      Maud

      42652-Farukh

      • #1537527

        Hi Maudibe,
        Many thanks for your help !
        Works great just little change required when there is no data ,formula shows nothing instead of zero value.
        I am attaching screenshot.

    • #1537545

      Farrukh,

      Modify the formula in cell M3 to:

      =IF(OR(A3=””,B3=””),””,SUMPRODUCT(Data!$C$3:$C$14*((Data!$A$3:$A$14=Main!A3)*(Data!$B$3:$B$14=Main!B3))))

      then copy down.

      HTH,
      Maud

      • #1537831

        Hi Maudibe,
        Many thanks for support & help. Working great.

    Viewing 1 reply thread
    Reply To: Reply #1537527 in Match Columns from two sheets get results

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information:




    Cancel