kznmrexcel
Board Regular
- Joined
- Jun 16, 2010
- Messages
- 86
- Office Version
- 2016
- Platform
- MacOS
I need a formula that will return one of three things:
1. If the Comments column (column B on cbBarcodeScans sheet) has the letter code g, return "Device issued with Gumdrop case." (No underline)
2. If that same Comments column (column B on cbBarcodeScans sheet) is blank, return blank. (Not the text "blank," but return a blank cell.)
3. If the number we're looking up from cell R2 is not present on cbBarcodeScans sheet in column A, return "Not scanned."
This is where I started, but I need help putting in the conditions:
=VLOOKUP(R2,cbBarcodeScans!$A:$B,2,FALSE)
TIA
1. If the Comments column (column B on cbBarcodeScans sheet) has the letter code g, return "Device issued with Gumdrop case." (No underline)
2. If that same Comments column (column B on cbBarcodeScans sheet) is blank, return blank. (Not the text "blank," but return a blank cell.)
3. If the number we're looking up from cell R2 is not present on cbBarcodeScans sheet in column A, return "Not scanned."
This is where I started, but I need help putting in the conditions:
=VLOOKUP(R2,cbBarcodeScans!$A:$B,2,FALSE)
TIA