Need to match two values and return another value

Closed
Stacey1992 Posts 1 Registration date Thursday 15 September 2016 Status Member Last seen 15 September 2016 - 15 Sep 2016 à 09:53
Mazzaropi Posts 1985 Registration date Monday 16 August 2010 Status Contributor Last seen 24 May 2023 - 15 Sep 2016 à 11:30
I have two spreadsheets in which I need to match two values and return another value. So, in my case, if Column C and Row 24 match (in spreadsheet A) Column A and Column D (in spreadsheet B), return Column P value (from spreadsheet B to Spreadsheet A) in Column P.

Any assistance would be greatly appreciated!!!
Related:

1 response

Mazzaropi Posts 1985 Registration date Monday 16 August 2010 Status Contributor Last seen 24 May 2023 147
15 Sep 2016 à 11:30
Stacey1992, Good morning.

Try to use:

Sheet 1

P24 --> =IF(AND(C24=Sheet2!A24,C24=Sheet2!D24),Sheet2!P24,"")

Please, tell us if it worked for you.
I hope it helps.
--
Belo Horizonte, Brasil.
Marcílio Lobão