FORMULA

Copper Contributor

I am trying to have a price enter automatically in a spreadsheet, (Z2).

 

The formula appears to work when it is true, but when it is false it brings up the word false, I would like the cell to be blank if the answer is false.

 

can someone show me what I am doing wrong.

Sheet1

BRUCE6466_0-1716425444501.png

Sheet 2

BRUCE6466_1-1716425500343.png

=IF(ISNUMBER(SEARCH("S/L",Q2)),XLOOKUP($S2,Sheet2!A:A,Sheet2!B:B))

 

The formula is in the sideloader cells, it is looking for s/l in the trailer cells and if true it then looks to see what is in the name pick up cell and matches the name on sheet 2 and if true puts the price in..

 

 

2 Replies

@BRUCE6466 Simply use false part of IF() function. Use an empty string to show it as blank. Try-

=IF(ISNUMBER(SEARCH("S/L",Q2)),XLOOKUP($S2,Sheet2!A:A,Sheet2!B:B),"")
I am not sure where in the formula to put it (false), I had tried entering in several positions