Forum Discussion

CWI_AK's avatar
CWI_AK
Copper Contributor
Jan 25, 2021
Solved

Looking up values and skipping blank cells

Hi, 

 

I have a set of customer data where each customer occurs in multiple rows (one row for each product that they have bought). In most cases, only one of the product rows has the customer ID. I would like to create a column where I can look up the customer name and if the customer has been assigned a customer ID in any of the product rows, I want to return that number/name (cell value). Is there a dynamic formula that enables me to do this? See the example below. The output I want to get to is in column E.

 

For example, only the last entry for customer 3 has a customer ID. I would like all rows for customer 3 to return the customer ID. In other words, I want to skip the cells in column D that are blank for this customer and return the cell that shows the ID. I have a set of 200,000+ customers so I need something dynamic and won't be able to change the formula for every customer

 

 

 

Thanks!

7 Replies

Resources