Hello Community,
I am trying to use the Xlookup function to return values that match my look up value. The values in the lookup table are spread across multiple columns and not all columns have values. I would like to return the lookup values and to exclude any blank values.
Currently, Xlookup brings back all of the values which includes the blanks and returns as 0. Would like to ignore the blanks and just move to the next column with a value in it.
Any ideas on the formula? I am running 365.
I am trying to use the Xlookup function to return values that match my look up value. The values in the lookup table are spread across multiple columns and not all columns have values. I would like to return the lookup values and to exclude any blank values.
Currently, Xlookup brings back all of the values which includes the blanks and returns as 0. Would like to ignore the blanks and just move to the next column with a value in it.
Any ideas on the formula? I am running 365.
Lookup Value |
Dog |
Cat |
Fish |
Bird |
Dog |
Bird |
Lookup Table | ||||
Name | Value 1 | Value 2 | Value 3 | Value 4 |
Dog | Furry | Big | ||
Cat | Furry | Small | Brown | |
Fish | Yellow | |||
Bird | Small | Red |
Ideal Result | ||||
Name | Result 1 | Result 2 | Result 3 | Result X |
Dog | Furry | Big | ||
Cat | Furry | Small | Brown | |
Fish | Yellow | |||
Bird | Small | Red | ||
Dog | Furry | Big | ||
Bird | Small | Red |