itsgrady
Board Regular
- Joined
- Sep 11, 2022
- Messages
- 132
- Office Version
- 2021
- Platform
- Windows
- MacOS
Need 1 formula based on three different criteria. Spreadsheet-1 has a table with 3 columns of data (lookup array – Column B and C). Spreadsheet-2 has a table with 3 column of information (return array – Column B and C). Columns A on both spreadsheet has the matching data (the lookup value). Column C on spreadsheet-1 will be the column for the formula.
If Columns A on both spreadsheet matches and column B on spreadsheet-1 has data, return column B on spreadsheet-2 to column C on spreadsheet-1.
If Columns A on both spreadsheet matches and column B on spreadsheet-1 is empty, return column C on spreadsheet-2 to column C on spreadsheet-1.
If Columns A on both spreadsheet matches and column B on spreadsheet-1 has “INV01”, return “Dan Mann” to column C on spreadsheet-1.
I tried this and I also wanted to reference table and not the column is possible:
=IF(ISBLANK(B1), VLOOKUP(A1, 'Spreadsheet-2'!$A$1:$C$100, 3, FALSE), IF(B1="INV01", "Dan Mann", VLOOKUP(A1, 'Spreadsheet-2'!$A$1:$C$100, 2, FALSE)))
I only have access to my phone. I hope the paragraphs are understandable. Thanks for any help.
If Columns A on both spreadsheet matches and column B on spreadsheet-1 has data, return column B on spreadsheet-2 to column C on spreadsheet-1.
If Columns A on both spreadsheet matches and column B on spreadsheet-1 is empty, return column C on spreadsheet-2 to column C on spreadsheet-1.
If Columns A on both spreadsheet matches and column B on spreadsheet-1 has “INV01”, return “Dan Mann” to column C on spreadsheet-1.
I tried this and I also wanted to reference table and not the column is possible:
=IF(ISBLANK(B1), VLOOKUP(A1, 'Spreadsheet-2'!$A$1:$C$100, 3, FALSE), IF(B1="INV01", "Dan Mann", VLOOKUP(A1, 'Spreadsheet-2'!$A$1:$C$100, 2, FALSE)))
I only have access to my phone. I hope the paragraphs are understandable. Thanks for any help.