Forum Discussion

shannonholmes's avatar
shannonholmes
Copper Contributor
Apr 12, 2021
Solved

Checking multiple cells, skipping if blank and returning the value of the cell once it is found

I have tried all sorts of fomula's and the current version that I have is  =IF(LEN(VLOOKUP(A2, inventory!A:E, 3, FALSE))=0,VLOOKUP(A2, inventory!A:E, 3, FALSE), VLOOKUP(A2, inventory!A:E, 4, FALSE))...
  • HansVogelaar's avatar
    HansVogelaar
    Apr 13, 2021

    shannonholmes 

    Try this then:

     

    =IFERROR(IF(VLOOKUP(A3,Inventory!A:E,3,FALSE)&""="",IF(VLOOKUP(A3,Inventory!A:E,4,FALSE)&""="",IF(VLOOKUP(A3,Inventory!A:E,5,FALSE)&""="","",VLOOKUP(A3,Inventory!A:E,5,FALSE)),VLOOKUP(A3,Inventory!A:E,4,FALSE)),VLOOKUP(A3,Inventory!A:E,3,FALSE)),"")

Resources