LOOKUP function if cells MATCH

时间:2016-04-04 16:57:29

标签: excel if-statement lookup-tables

I am looking for help with the following problem:

DATA spreadsheet: Raw data - contains balance sheet, income information, etc (several columns with dates on top)

Peer Comp spreadsheet: output table

So, I'm looking to search a cell in DATA spreadsheet for a value that matches another cell in Peer Comp spreadsheet, and return the gross revenues value from the DATA spreadsheet into the Peer Comp spreadsheet under the column that matched.

Here is my current formula. I can't find my mistake...

=IF(ISNA(MATCH('Peer Comp'!B3,DATA!A:O,0)),HLOOKUP(B3,DATA!B3:M426,198,FALSE), 0)

Essentially, I just need to return a value from the Data spreadsheet to the Pear Comp spreadsheet from the column that matched the date in the Peer Comp table.

0 个答案:

没有答案