Hello All,
I have a database of information with account numbers, product types and balances. Each account number has only 1 product type and the balance changes daily. I have a "product key" which I have listed the different product categories separated by the product types that make them up (i.e. Commercial = 1, 2, 3, 4.. & Consumer = 11, 12, 13, 14...). I named the commercial products types (range A2:a10) "Comm" and the consumer product types (range b2:b10) "Consumer."
I want to transfer all of the Commercial accounts from the primary database (worksheet "Data") to a separate worksheet (worksheet "Commercial") and for this to update automatically upon refresh. This data is no available through access, I have to import from a outside database to excel and then sort.
I have tried many different look-up functions and all have failed, including:
A. This method produces 1 correct result and then repeats
B. This method produces #N/A
To simplify my request: I need to look up the account numbers from a database that match a specific product group, which is made up of a list of possible product types.
I have a database of information with account numbers, product types and balances. Each account number has only 1 product type and the balance changes daily. I have a "product key" which I have listed the different product categories separated by the product types that make them up (i.e. Commercial = 1, 2, 3, 4.. & Consumer = 11, 12, 13, 14...). I named the commercial products types (range A2:a10) "Comm" and the consumer product types (range b2:b10) "Consumer."
I want to transfer all of the Commercial accounts from the primary database (worksheet "Data") to a separate worksheet (worksheet "Commercial") and for this to update automatically upon refresh. This data is no available through access, I have to import from a outside database to excel and then sort.
I have tried many different look-up functions and all have failed, including:
A. This method produces 1 correct result and then repeats
Code:
{=INDEX('Data'!A:A, MATCH(Comm, 'Data'!C:C,0))}
B. This method produces #N/A
Code:
{=INDEX('Data'!A:A, SMALL(IF('Data'!C:C = "Comm", ROW('Data'!C:C)), ROW('$A$2:A2)))}
To simplify my request: I need to look up the account numbers from a database that match a specific product group, which is made up of a list of possible product types.